- [Mingle]
- [Bugly] - single landing page, commit integration, rest api
- [ActiveCollab] - one time fee $250 - $500, invoicing, time tracking
- Splendid Bacon - project management for hackers
- YouTrack - integrates w/ rest of jetBrains
- PlanBox - chat, user feedback
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
module SqlExplain | |
extend ActiveSupport::Concern | |
module InstanceMethods | |
def explain | |
results = ActiveRecord::Base.connection.execute "EXPLAIN EXTENDED" + to_sql | |
Hash[results.fields.zip(results.first)] | |
end | |
end | |
end |
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
# http://docs.rubygems.org/read/chapter/11 | |
--- | |
gem: --no-ri --no-rdoc | |
benchmark: false | |
verbose: true | |
update_sources: true | |
sources: | |
- http://gems.rubyforge.org/ | |
- http://rubygems.org/ | |
backtrace: 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
<Directory "/Users/jch/Sites/"> | |
Options Indexes MultiViews FollowSymLinks | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> |
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
# lib/tasks/export.rake | |
require 'pathname' | |
def export(path) | |
path = Pathname.new('export' + path) # prefix a folder to export to to | |
path.dirname.mkpath # creates any intermediate folders | |
`curl http://localhost:3000/#{path} > #{path.to_s}` | |
end | |
desc "Export pages" |
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
def response | |
resp = MultiJson.decode(last_response.body) | |
# add all of last_response's methods to resp | |
end |
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
source 'http://rubygems.org' | |
gem 'grape', :git => '[email protected]:intridea/grape.git' | |
gem 'rack' | |
gem 'rack-test' |
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
ruby -ne 'next unless $_ =~ /\(/; puts $_.strip!.gsub(/ .*/, "")' < Gemfile.lock | sort | uniq | wc -l |
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
#!/bin/sh | |
# For an easy increase in speed in local dev with ruby 1.9.2-p290 | |
# | |
# To run: | |
# | |
# bash < <(curl -s https://raw.github.com/gist/1422116/14ffe8df0d561cd7c30c8dcfdf382fc9838347bb/optimized-ruby-1.9.2-p290.sh) | |
git clone https://github.com/michaeledgar/ruby-patches.git | |
cd ruby-patches | |
rvm uninstall 1.9.2-p290 |