Posts by superadm1n (12)

Python - Basic Web Server

If you need to fire up a web server to serve some files but installing apache or nginx is overkill using a simple script to serve your files is arguably one of the best ways to do it. In this post I have a simple python script that will serve a directory of files on your system via HTTP. I typica...

JavaScript - Make Element Hidden

When creating web pages it is often helpful in your design to add an element of the page hidden and reveal it when a button is clicked or some other event happens. In this post I am going to be showing you in a very simple example how to take an HTML element and toggle it between hidden and not h...

Python - Working With Class Attributes

In this post I will be showing you how to add, remove, and check for class attributes in Python. Base Code For this article I will be using the class below as our class we are going to be adding and removing attributes from. Taking a quick look through this code we can see that it has 2 str...

Linux - Add User to Group

The groups that a user belongs to in an operating system are a very flexible way of managing users on a system weather that be restricting permissions or extending functionality because of the fundemental importance of groups and group permissions in the Linux operating system after a short time ...

Liebert Web Cards - Configuration File Line Endings

I wanted to write this article to hopefully save someone else the trouble and hassle myself and my team has gone through working with Liebert UPS webcard configuration files. If you are working with Liebert UPS web cards and want to modify the configuration file and re upload them to help automa...
1 2 3
Search