Skip to content

Instantly share code, notes, and snippets.

View joshbuddy's full-sized avatar
🤡
meow

Joshua Hull joshbuddy

🤡
meow
View GitHub Profile
@tmm1
tmm1 / 0-INSTALL.md
Created March 28, 2011 10:33
use cycript to load js enhancers into the propane transcript window

install cycript

brew install https://gist.github.com/raw/890258/cycript.rb

download the cycript hack

wget https://gist.github.com/raw/890258/hack_propane.js
chmod +x hack_propane.js

inject hack into running propane process

import java.net.InetSocketAddress
import java.util.concurrent.Executors
import org.jboss.netty.bootstrap.ServerBootstrap
import org.jboss.netty.channel.ChannelPipelineFactory
import org.jboss.netty.channel.ChannelHandler
import org.jboss.netty.channel.Channels
import org.jboss.netty.channel.SimpleChannelUpstreamHandler
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory
import org.jboss.netty.channel.MessageEvent
@indirect
indirect / install.rb
Created August 10, 2010 21:01
Launch SickBeard at startup
#!/usr/bin/env ruby
require 'fileutils'
`curl -s -O http://gist.github.com/raw/517993/e74c2d1c101a617201c0ded8880d9740faba588b/name.indirect.sickbeard.plist`
plist = File.read("name.indirect.sickbeard.plist")
File.open("name.indirect.sickbeard.plist", "w") do |f|
sb_path = File.exist?("Sick-Beard") ? File.join(Dir.pwd, "Sick-Beard") : Dir.pwd
f.write plist.gsub("/Users/andre/sw/Sick-Beard", sb_path)
end