Skip to content

Instantly share code, notes, and snippets.

@thesoulless
thesoulless / gist:0da1094aa26f8e5ff9cbdeb86c039178
Created May 12, 2018 05:27 — forked from Program-O/gist:cee3856b5808a63f1a5c
Recursively chmod all files to 644 and all directories to 755
find . -type d -print0 | xargs -0 chmod 0755 # for directories
find . -type f -print0 | xargs -0 chmod 0644 # for files
@thesoulless
thesoulless / iphone.sh
Created January 27, 2017 16:36
Iphone linux mount / unmount
#!/bin/bash
# I use this on ubuntu 16.04 LTS
# default libimobiledevice package has some problme with GnuTLS, alternative ppa:
# sudo add-apt-repository ppa:martin-salbaba/ppa+libimobiledevice
# sudo apt-get update
# sudo apt install libimobiledevice-utils ifuser
# more info: http://www.dedoimedo.com/computers/linux-iphone-6.html
@thesoulless
thesoulless / gist:3955473
Created October 25, 2012 21:17 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt