This file contains hidden or 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
export TMPDIR=/tmp/ | |
cd /usr/local/lib | |
mkdir phantom | |
cd phantom | |
wget https://gist.githubusercontent.com/ultimagriever/72fcb3e4446460638d65aecd2fbee98c/raw/9d915c60921219900b60c64cf5379c54d63ca43c/restart.sh | |
wget https://gist.githubusercontent.com/ultimagriever/72fcb3e4446460638d65aecd2fbee98c/raw/9d915c60921219900b60c64cf5379c54d63ca43c/start.sh | |
wget https://gist.githubusercontent.com/ultimagriever/72fcb3e4446460638d65aecd2fbee98c/raw/9d915c60921219900b60c64cf5379c54d63ca43c/status.sh | |
wget https://gist.githubusercontent.com/ultimagriever/72fcb3e4446460638d65aecd2fbee98c/raw/9d915c60921219900b60c64cf5379c54d63ca43c/stop.sh | |
chmod +x *.sh | |
ln -s /usr/local/lib/phantom/restart.sh /usr/local/bin/phantom-restart |
This file contains hidden or 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
{ | |
"pint": { | |
"url": "https://pint.com/", | |
"params": { | |
"pname": "name", | |
"pdesc": "description" | |
} | |
}, | |
"parse": { | |
"parsename": "name", |
This file contains hidden or 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
Permission denied - /Users/[user]/Sites/RubyMotion/Cardup/vendor/Pods/BuildHeaders/SVProgressHUD/SVProgressHUD.h | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:1314:in `unlink' | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:1314:in `block in remove_file' | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:1319:in `platform_support' | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:1313:in `remove_file' | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:1302:in `remove' | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:766:in `block in remove_entry' | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:1352:in `block (2 levels) in postorder_traverse' | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:1352:in `block (2 levels) in postorder_traverse' | |
/Users/[user]/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/fileutils.rb:1356:in `postorder_traverse' |
This file contains hidden or 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
/* Place the following code where you'd like Disqus to load: */ | |
<div id="disqus_thread"></div> | |
<script type="text/javascript"> | |
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ | |
var disqus_shortname = 'planhero'; // required: replace example with your forum shortname | |
/* * * DON'T EDIT BELOW THIS LINE * * */ | |
(function() { | |
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; |
This file contains hidden or 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
class CommentSummaries | |
#extend HerokuAutoScaler::AutoScaling | |
@queue = :comment_summaries | |
def self.perform() | |
feed = Feedzirra::Feed.fetch_and_parse("http://feeds.feedburner.com/TechCrunch/") | |
feed = Feedzirra::Feed.update(feed) | |
entry = feed.entries | |
#objComments = Array.new #=> contains single page post | |
objPost = Array.new #=> contains all page posts indexed with (i) |