LimitlessFX.Com
Because everyone else has a site.
Because everyone else has a site.
Jan 19th
For some reason I couldn’t find it anywhere, but the register for the KDE clipboard (ctrl-c / ctrl-v) is + not * .
To paste from the KDE clipboard in insert mode : CTRL-R +, in normal mode : “+p .
To map it to ctrl-v : :imap +, this way you can just press ctrl-v in insert mode to paste the system clipboard.
To paste from the system selection (mouse middle button) in insert mode : CTRL-R * or in normal mode “*p .
To paste from the VIM buffer in insert mode : CTRL-R “.
To set the system clipboard as the default clipboard for More >
Jan 14th
If you have been using Chromium like me, you know it can get pretty slow on the first start up after a couple of months of usage. It’s mainly because of all the SQLite 3.x databases it uses for history and other settings. So here’s a simple script to defrag and reindex all the databases chromium uses.
1. Install SQLite3 :
# install sqlite3 emerge sqlite:3 #gentoo aptitude install sqlite3 #ubuntu/debian based
2. Close Chromium.
3. Execute this in bash :
cd ~/.config/chromium/Default #where recent chromium store its settings
find -type f -exec file '{}' \; | perl -ne 'print "$1\n" if /(.*?): SQLite/' | More > Nov 22nd
While I love KDE, I still prefer to use command line for almost everything. A simple bash function to set/list all governors.
set-cpufreq() {
if [ -z "$1" ]; then
echo "Available : $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors)"
find /sys/devices/system/cpu -name scaling_governor | while read f; do echo $f : $(cat $f); done
else
find /sys/devices/system/cpu -name scaling_governor | while read f; do echo $1 > $f; done
fi
}
Feb 24th
I recently got a new computer with 8gb of RAM, and since then World Of Warcraft crashed very often with out of memory errors. After banging my head for hours every time I crashed in dalaran or coming out of the arenas, I finally discovered setarch(8).
Usage: setarch [options] [program [program arguments]] Options: -h, --help displays this help text -v, --verbose says what options are being switched on -R, --addr-no-randomize disables randomization of the virtual address space -F, --fdpic-funcptrs makes function pointers point to descriptors -Z, --mmap-page-zero turns on MMAP_PAGE_ZERO -L, --addr-compat-layout changes the way virtual memory is allocated -X, --read-implies-exec More >
Nov 23rd
As promised, here’s the second part of the tutorial on how to use cmake to build Qt4/OpenSSL Apps for Windows using mingw on Linux.
Assumptions :1. You already followed the tutorial on how to setup Qt4/OpenSSL using mingw. 2. You have cmake installed. 3. You have a working wine setup or a way to test the executables.
Part 0 : Setup WineYou can ignore this if you will test on windows.
Nov 17th
This is slightly outdated, will upload a new version with OpenSSL v1.0.0, also fixed the link to the mingw-openssl.sh script. For the longest time I used Mingw + cmake on top of wine to cross compile my Qt4 apps for windows, then I was bored one day, tired of how slow it is to recompile qt4 on wine and decided to try to get it to work with a native gcc instead of the overhead with wine. So here goes.
This was done on Gentoo Linux, please don’t ask me how to do it on other distros.
Assumptions :1. You know your More >
Nov 17th
As a priest for the longest time (recently switched mains to a deathknight), I had a lot of macros I used with grid (and clique), and a buddy was asking me about them and I decided to post them here.
Greater Heal / Flash Heal / etc. (pretty much any targetted spell) :
#showtooltip Greater Heal /cast !Inner Focus /cast [mod:alt,target=player][target=mouseover,exists][help] [target=targettarget,exists][target=player] Greater Heal
Macro explanation : (more…)
Recent Comments