This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm ~/Library/Application\ Support/Macfusion/Filesystems/* | |
pkill macfusionAgent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv "$HOME/Documents/Microsoft User Data" "$HOME/Library/Preferences" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Rubycocoa <Formula | |
url 'http://downloads.sourceforge.net/project/rubycocoa/RubyCocoa/1.0.5/RubyCocoa-1.0.5.tar.gz' | |
homepage 'http://rubycocoa.sourceforge.net/' | |
sha1 '7e176eebb4ee59e2b45f03de0b9ae38028876236' | |
depends_on 'libxml2' | |
def keg_only? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class RApp < Formula | |
ARCHS = "x86_64" | |
SYSTEM = "SnowLeopard64" | |
url 'http://cran.r-project.org/bin/macosx/Mac-GUI-1.62.tar.gz' | |
homepage 'http://cran.r-project.org/bin/macosx/' | |
sha1 '3f7ef605076cf537b304a05d979ae44d3cb054ab' | |
keg_only "This is a gui app (and a brew antipattern as such, but whatev)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scp ~/.ssh/id_rsa.pub root@kindle:/mnt/us/usbnet/etc/authorized_keys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Pdfreflow < Formula | |
homepage 'http://sourceforge.net/projects/pdfreflow/' | |
url 'http://downloads.sourceforge.net/project/pdfreflow/pdfreflow-0.8.6.tgz' | |
sha1 '9adfb2378db3a206b0b0d0374802628328894889' | |
env :std | |
def install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sandbox-exec -p "(version 1) (allow default) (deny file-write*) (debug all)" /Applications/Safari.app/Contents/MacOS/Safari |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install qpdf xpdf | |
qpdf --decrypt original.pdf free.pdf | |
pdfimages -j free.pdf arbitrary_image_prefix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from http://www.mobileread.com/forums/showpost.php?p=1181285&postcount=8 | |
dbus-send --system /default com.lab126.powerd.resuming int32:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 1. Install wireshark and mimms (e.g. via Homebrew) | |
# 2. Start this script | |
# 3. Play a presentations2go video in a browser | |
# 4. Wait for the download to finish (can take a while) | |
# Alternatively you can also try to disable the Silverlight plugin and then HTML5 videos might be displayed | |
# To enforce display of HTML5 videos it might help to set your browser's user agent to iPad |