API (Application Programming Interface) is a set of functions that allows the creation of applications that access the features or data of a service. A RESTful API uses HTTP requests to GET, PUT, POST and DELETE data.
I’m kind of a control freak when it comes to my servers, lately the temperatures in Sweden reaches well above 30 degrees celsius and i need to get a warning in case the temp goes below 23 or above 26.
LXC is an abbreviation for “Linux Containers“ which is a feature in the linux kernel, it allows you to install multiple Linux installations running on the same kernel. It’s kind of like chroot but much more powerful as it allows for process and network isolation. I’ve seen that there is a fancy web GUI for […]
Create a git project with a remote repository
Blacklisting large amounts of IPs, i use this with the iptables “blocked logging” in ABF (AsBraFirewall).
How do you know if your daemons go down? Some use services like pingdom but i’d rather check myself.
PHP-Class for encryption of text. I use it for safe storage of information in databases.
Collection of scripts to measure what is making your page slow
When moving databases between servers there are a few things to consider, one of these things is the charset.
Tell at what pixel from the top the CSS should be triggered, in this example i’m targeting the navbar with id=”topnav”. You also need JQuery for this to work.
I Wrote a plugin that attaches a hook to the login page and adds custom CSS. The plugin can be administered from your admin menu “Settings/ASBRA Login Plugin”. Simply add your CSS rules and click the “Save Changes” button.
Google has a nifty way of checking if you’re human or not. I wrote a PHP Class for verifying ReCaptcha v.2.
I’ve been cleaning up lots of hacked wordpress sites lately and i thought i’d share my findings and also my attempt to refine this technique with AES-encryption instead of obfuscation