Category: linux
Cool libraries to do awesome things !
KineticJS https://github.com/ericdrowell/KineticJS/ Description: With this you can build a small game or dynamic UI that runs in the browser. It has good 2D drawing capabilities as well as animations and user-control - which means...
Automatically select current file in project view in WebStorm
When you are editing a file in the main editor, WebStorm does not automatically show this file in the tree-view on the left. This is rather annoying. I have not found the solution yet...
Your branch and 'origin/master' have diverged.
Your branch and 'origin/master' have diverged. Two approach to resolve this are : git pull --rebase or Danger: You will scrap all your non-pushed data !!! git reset --hard origin/master
Node.js error : SyntaxError: Unexpected token ILLEGAL [SOLVED]
Problem : 'Unhandled exception: [SyntaxError: Unexpected token ILLEGAL]' Solution : This can be many things, from a weird unicode character not appearing in your editor to a simple extra double-quote at the wrong place....
wrong ELF class: ELFCLASS64
error while loading shared libraries: libXv.so.1: wrong ELF class: ELFCLASS64 [root@kraken sbin]# ./krakend ./krakend: error while loading shared libraries: libXv.so.1: wrong ELF class: ELFCLASS64 Solution : Either install the 32-bit library missing -or- compile...
R programming howto
R programming notes and how to do. Split data frame by month s <- split(airquality, airquality$Month) # will output a list of data.frame. One data.frame per month. Applying a mean function to data splitted...
Saving the master boot record of hard-disk under Debian
Backup The first line is to backup MBR, the second line is to backup extended partitions (important just as well!!) $> dd if=/dev/sda of=/tmp/backup-sda.mbr bs=512 count=1 $> sfdisk -d /dev/sda > /tmp/backup-sda.sfdisk Restore $>...
Add new software source in Debian
To add a new repo to the software source, do the the following : Go into Administration > Software Sources Add your software sources, for example : deb http://ftp.us.debian.org/debian/ sid main deb-src http://ftp.us.debian.org/debian/ sid main proceed with installation...
Recent Comments