Show build status for you CI build statuses from Semaphore on your Dashing dashboard.
Add the Semaphore ruby gem to your gemfile
gem 'semaphoreapp', '~> 0.1.1'
source :rubygems | |
gem 'RedCloth' | |
gem 'jekyll' | |
gem 'fleakr' |
# Block Adobe Activation | |
127.0.0.1 activate.adobe.com | |
127.0.0.1 practivate.adobe.com | |
127.0.0.1 ereg.adobe.com | |
127.0.0.1 activate.wip3.adobe.com | |
127.0.0.1 wip3.adobe.com | |
127.0.0.1 3dns-3.adobe.com | |
127.0.0.1 3dns-2.adobe.com | |
127.0.0.1 adobe-dns.adobe.com | |
127.0.0.1 adobe-dns-2.adobe.com |
jQuery("body").find('img').each(function(i,img) { | |
var w = img.width; | |
var h = img.height; | |
if (w && h) { | |
var src = 'http://placekitten.com/'+w+'/'+h; | |
img.src = src; | |
} | |
}); | |
// code from https://github.com/lsemel/jquery-placekitten |
This installs a patched ruby 1.9.3-p385 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.
You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf
using homebrew.
In your Gemfile add:
group :development, :test do
gem 'micro_migrations', :git => 'git@gist.github.com:33e9f92c229eb808a4fa.git'
end
You might want to add something like this to the Rakefile of apps that use a gem that uses micro_migrations:
ENV['SCHEMA'] = "#{Gem.loaded_specs['your-gem-name'].full_gem_path}/db/schema.rb"
brew install rbenv | |
brew install ruby-build | |
brew install rbenv-vars | |
brew install readline | |
brew install ctags | |
echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.bash_profile | |
exec $SHELL -i # reload the shell | |
CONFIGURE_OPTS="--disable-install-doc --with-readline-dir=$(brew --prefix readline)" rbenv install 1.9.3-p194 | |
rbenv global 1.9.3-p194 | |
gem install bundler rbenv-rehash git-up hitch gem-browse gem-ctags cheat awesome_print pry |
<script type="text/javascript"> | |
var _trackr_config={domain:"google.com"}; | |
(function(){ | |
function loadChartbeat() { | |
window._sf_endpt=(new Date()).getTime(); | |
var e = document.createElement('script'); | |
e.setAttribute('src',"//localhost:3000/trackr-local.js"); | |
document.body.appendChild(e); | |
} | |
var oldonload = window.onload; |
javascript:(function(){var%20jqLoader={go:function(){if(!(window.jQuery&&window.jQuery.fn.jquery=='1.3.2')){var%20s=document.createElement('script');s.setAttribute('src','http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js');s.setAttribute('type','text/javascript');document.getElementsByTagName('head')[0].appendChild(s)}this.ok()},ok:function(){if(typeof(window.jQuery)!=='undefined'&&window.jQuery.fn.jquery=='1.3.2'){this.init()}else{setTimeout((function(){jqLoader.ok()}),100)}},init:function(){$.getScript('http://www.badlydrawntoy.com/static/960grid/js/jquery.960grid.bk-1.0.min.js',function(){$('body').addGrid(12)})}};jqLoader.go()})(); |
# Response body from curl | |
{"hit":{"author_id":40,"date":"2011-05-31T15:06:47Z","extract":"<a href=\"http://twitter.com/DanWarp\">@DanWarp</a> I'm so excited!!!!! It's going to be <b>awesome</b>(;","profile_id":1,"source_name":null,"starred":false,"title":"@DanWarp I'm so excited!!!!! It's going to be awesome(;","url":"http://twitter.com/SparksFlyyXx/statuses/75578980698304512","uri":"/accounts/1/profiles/1/hits/32825","hit_type":"tweet"}} | |
# Response body in HTTP Client | |
<"hit":{"author_id":40,"date":"2011-05-31T15:06:47Z","extract":"<a href=\"http://twitter.com/DanWarp\">@DanWarp</a> I'm so excited!!!!! It's going to be <b>awesome</b> |