Related Posts
Note about Signals and PyQt4.
I keep making the mistake of sending PyQt_PyObjects instead of sending actual Qt4 objects on signals that are defined by Qt like that. Bottom line: If a signal has been defined by Qt, to send Qt objects, just copy and paste it, do not try to override it by exchanging the Qt objects for PyQt_PyObject. […]
How to ban/unban ips in linux
In case you’re not an iptables guru, you might want to create a couple scripts and put em somewhere on your $PATH. I’ve created two scripts called ban_ip and unban_ip. Create a file called ban_ip touch ban_ip chmod +x ban_ip Edit it and copy the following code inside: #!/bin/bash sudo iptables -A INPUT -s $1 […]
building cgminer from source on OSX
so you cloned the cgminer repo from github to build on your OSX machine and you get this bullshit error $ ./autogen.sh readlink: illegal option — f usage: readlink [-n] [file …] usage: dirname path touch: /ltmain.sh: Permission denied Use of chdir(”) or chdir(undef) as chdir() is deprecated at /usr/local/bin/autoreconf line 670. Configuring… ./autogen.sh: line […]