BIG WARNING: Increasing your router to it’s maximum power can reduce it’s life expectancy, cause problems for your neighbours, can be illegal depending on your location and in some cases even has the potential to cause actual dangerous situations since RADAR can share this frequency! Taking the above warning into consideration, the allowed transmit power […]
Maximum wifi transmission power per country
Note: for a more up to date overview look at the Linux Kernel: https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/tree/db.txt For some reason it appears that this is quite hard to come by, most documentation only talks about the transmission power in dBm which is just less easy to read than mW to me. So here’s a list of the maximum allowed transmission […]
Rendering your STL files with matplotlib using numpy-stl
It’s been a while since the first version of numpy-stl and a lot has changed since. Most importantly, usage has become even easier. So here’s a demo on how to use matplotlib to render your stl files: [python]from stl import mesh from mpl_toolkits import mplot3d from matplotlib import pyplot # Create a new plot figure […]
Reading MT940 files using Python
Some time ago I wrote a library to read MT940 files with Python. While there are multiple libraries available for this target, none of the others really work properly and/or support all variants of the format. The MT940 library I wrote is slightly different, it’s designed to be able to parse any MT940 file, regardless […]
Autoconnect to your tmux session after sleeping
When working at multiple computers during the day there are a few methods of syncing your work. Using something like unison to share the actual code, or just work on the computer remotely through ssh. Since one of my current clients has a few vagrant boxes which are less than trivial to set up and […]
Easily whitelisting/adding self-signed SSL certificates to Chrome on OS X
Since I regularly work on servers with self-signed certificates it’s been quite the hassle to whitelist them properly under OS X. Why Chrome doesn’t use a system comparable to Firefox is beyond me, but this script makes it fairly manageable. Do note that the certificate still needs to be valid in terms of hostname and […]
Checking for Python version and Vim version in your .vimrc
Recently I’ve had to adjust a bunch of my dotfiles to support some old (Centos 5) systems which means that I am using a Vim that has Python 2.4 build in… needless to say, it breaks some of my dotfiles 😉 So here’s some tips on patching Vim version issues. First, checking if you have […]
Installing Hackintosh on an ASUS P8Z77-V DELUXE with an NVIDIA GTX 970
Step 1: Creating a bootable USB stick Create a USB installer using Unibeast, the tutorial at Tonymaxc86 should do the trick. Follow steps 1, 2 and 3. Step 2: Modify the setup using Multibeast Download Multibeast from Tonymacx86 and use the following config: [xml]MultiBeast Configuration – 2015-02-09 04:53:52 —————————————————————– Quick Start > DSDT Free Drivers […]
Reading/writing 3D STL files with numpy-stl
For issues and/or questions, create an issue on Github: WoLpH/numpy-stl issues As a followup of my earlier article about reading and writing STL files with Numpy, I’ve created a library that can be used easily to read, modify and write STL files in both binary and ascii format. The library automatically detects whether your file […]
Recent Comments