Skip to content

Instantly share code, notes, and snippets.

View billsuxx's full-sized avatar

David Fodor billsuxx

View GitHub Profile
@billsuxx
billsuxx / gist:1f46622d462b5c809a2d
Created June 16, 2015 11:16
utolso commit visszahuzasa, meg push elott, ha elbasztad
git log # latni fogod h ott a szar kommit elsonek
git reset --soft HEAD^ # hasznald ezt, es megmaradnak a valtozasok
git reset --hard HEAD^ # hasznald ezt, es dobja a valtozasokat
git log # olala, nincs ott a kommit
@billsuxx
billsuxx / gist:eac0742a2a8957d530e5
Created May 14, 2015 09:31
svn log search in date interval, by username
$ svn log -r {2015-01-01}:{2015-03-01}|sed -n '1p; 2,/^-/d; /nigger.bela/,/^-/p'
@billsuxx
billsuxx / gist:69fc3180391001bcd27e
Created March 20, 2015 13:42
php storm os x java
https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
@billsuxx
billsuxx / gist:6a1a987c48ade9463b39
Created January 21, 2015 19:05
elementary os google chrome dock icon
sudo cp -a /usr/share/applications/google-chrome.desktop /usr/share/applications/google-chrome-stable.desktop
google-chrome-stable
@billsuxx
billsuxx / gist:f0a9044587478f9867a0
Created November 11, 2014 14:54
ubuntu hid kill
dconf write /org/compiz/integrated/show-hud '[""]'
@billsuxx
billsuxx / gist:ca324df9aa3901db5648
Created May 5, 2014 16:36
Ubuntu vs fn keys on Mac keyboard
echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u -k all
sudo reboot
@billsuxx
billsuxx / gist:11311577
Created April 26, 2014 04:14
Ubuntu vs Mac keyboard 0-í
mcedit ~/.Xmodmap
keycode 49 = iacute Iacute backslash bar less greater
keycode 94 = 0 section doublelowquotemark rightdoublequotemark notsign notsign grave asciitilde
xmodmap ~/.Xmodmap
@billsuxx
billsuxx / gist:11311382
Created April 26, 2014 03:59
időjárás plugin ubuntuhoz
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install my-weather-indicator
@billsuxx
billsuxx / gist:11175889
Created April 22, 2014 11:55
Sublime Text 3, jump to the file in the sidebar (like netbeans)
[
{ "keys": ["ctrl+shift+1"], "command": "reveal_in_side_bar"}
]
@billsuxx
billsuxx / gist:9565859
Created March 15, 2014 11:52
extract a multi-file .rar archive with raspberry pi
download this https://docs.google.com/file/d/0B7F-GIHpyhY-X0QzRmRWcGhUem8/edit
sudo dpkg -i unrar_4.20_armhf.deb