Skip to content

Instantly share code, notes, and snippets.

View billsuxx's full-sized avatar

David Fodor billsuxx

View GitHub Profile
@billsuxx
billsuxx / gist:9077837
Created February 18, 2014 19:16
linux: merge jpgs to pdf
convert -append input1.jpg input2.jpg output.jpg
convert output.jpg output.pdf
@billsuxx
billsuxx / config.json
Created February 16, 2014 08:33
sublime text 3 install + soda theme
config:
{
"color_scheme": "Packages/User/Espresso Soda.tmTheme",
"font_size": 8,
"ignored_packages":
[
"Vintage"
],
"soda_folder_icons": true,
@billsuxx
billsuxx / gist:9015687
Created February 15, 2014 07:28
debian / ubuntu timezone reconfigure
sudo dpkg-reconfigure tzdata
@billsuxx
billsuxx / gist:8998879
Created February 14, 2014 10:24
change default editor (ubuntu/debian)
update-alternatives --config editor
@billsuxx
billsuxx / gist:8962600
Created February 12, 2014 19:19
mount box.com cloud storage as an usual drive
sudo apt-get install davfs2
sudo mkdir /media/box.com
sudo mcedit /etc/davfs2/davfs2.conf
uselock 0
sudo dpkg-reconfigure davfs2
yes
@billsuxx
billsuxx / gist:8962214
Created February 12, 2014 19:01
samba share mount
sudo mkdir /media/hd
gedit ~/.smbcredentials
username=msusername
password=mspassword
chmod 600 ~/.smbcredentials
sudo mcedit /etc/fstab file
@billsuxx
billsuxx / gist:8947238
Created February 12, 2014 00:11
Fix missing bash history on elementary os
cd ~
sudo chown scott:scott .bash_history
[replace scott with your username, enter your password and enjoy]
@billsuxx
billsuxx / gist:8947236
Created February 12, 2014 00:10
elementary os tweaks install
sudo apt-add-repository ppa:versable/elementary-update
sudo apt-get update
sudo apt-get install elementary-tweaks
@billsuxx
billsuxx / gist:8933020
Last active August 29, 2015 13:56 — forked from choyan/gist:6884351
To do so on terminal:
gksu mc /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes