-
The new rake task assets:clean removes precompiled assets. [fxn]
-
Application and plugin generation run bundle install unless
--skip-gemfile
or--skip-bundle
. [fxn] -
Fixed database tasks for jdbc* adapters #jruby [Rashmi Yadav]
-
Template generation for jdbcpostgresql #jruby [Vishnu Atrai]
$ cd .rvm/src/ree-1.8.7-2011.03/source/ext/readline/ | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ ls | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ brew install readline | |
Warning: Formula already installed: readline | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ ruby extconf.rb --with-readline-dir=/usr/local/Cellar/readline/6.2.1/ | |
checking for tgetnum() in -lncurses... yes | |
[...skiped...] | |
creating Makefile | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ make | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o readline.bundle readline.o -L. -L/Users/brun/.rvm/rubies/ree-1.8.7-2011.03/lib -L/usr/local/Cellar/readline/6.2.1//lib -L. -lreadline -lncurses -L/opt/local/lib -ldl -lobjc |
/* | |
* jasmine.requirejs() returns a function that will load the file(s) required | |
* and will wait until it's done before proceeding with running specs. | |
* The function returned is intended to be passed to beforeEach() so the file(s) | |
* is(are) loaded before running each spec. | |
* | |
* Syntax: | |
* | |
* jasmine.requirejs(options, files) | |
* or |
// I thought I needed it, but I didn't need it anymore, | |
// but I already implemented it. So, here we go, if you | |
// ever would need a Javascript camelize implementation | |
// you can freely use this :-). | |
// - [email protected] Tue Feb 15 16:49:52 CET 2011 | |
jQuery.extend (String.prototype, { | |
camelize: function () { | |
return this.replace (/(?:^|[-_])(\w)/g, function (_, c) { |
# Add all gems in the global gemset to the $LOAD_PATH so they can be used in rails3 console with bundler | |
if defined?(::Bundler) | |
$LOAD_PATH.concat Dir.glob("#{ENV['rvm_path']}/gems/#{ENV['rvm_ruby_string']}@global/gems/*/lib") | |
end |
class String | |
def return_if expression | |
expression ? self : '' | |
end | |
end |
git pull origin master && make clean && ./configure --with-features=huge --enable-cscope --enable-rubyinterp --enable-pythoninterp --enable-perlinterp && make && rm -rf /Applications/MacVim.app && mv ./src/MacVim/build/Release/MacVim.app /Applications |
This is a quick guide to OAuth2 support in GitHub for developers. This is still experimental and could change at any moment. This Gist will serve as a living document until it becomes finalized at Develop.GitHub.com.
OAuth2 is a protocol that lets external apps request authorization to private details in your GitHub account without getting your password. All developers need to register their application before getting started.
- Redirect to this link to request GitHub access:
<form action="https://launchpad.37signals.com/authenticate" method="post"> | |
<input name="product" value="YOUR-PRODUCT" type="hidden" /> | |
<input name="subdomain" value="YOUR-SUBDOMAIN" type="hidden" /> | |
<p>Username<br /> | |
<input name="username" id="username" type="text" /></p> | |
<p>Password<br /> | |
<input name="password" id="password" type="password" /></p> |
(This is the text of the keynote I gave at Startup Riot 2009. Will update when video becomes available.)
Hi everyone, I'm Chris Wanstrath, and I'm one of the co-founders of GitHub.
GitHub, if you haven't heard of it, has been described as "Facebook for developers." Which is great when talking about GitHub as a website, but not so great when describing GitHub as a business. In fact, I think we're the polar opposite of Facebook as a business: we're small, never took investment, and actually make money. Some have even called us successful.
Which I've always wondered about. Success is very vague, right? Probably even relative. How do you define it?
After thinking for a while I came up with two criteria. The first is profitability. We employ four people full time, one person part time, have thousands of paying customers, and are still growing. In fact, our rate of growth is increasing - which means January was our best month so far, and February is looking pretty damn good.