This file contains 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
[ -f ~/.bundler-exec.sh ] && source ~/.bundler-exec.sh |
This file contains 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
git-completion | |
-------------- | |
http://benmabey.com/2008/05/07/git-bash-completion-git-aliases.html | |
.gitconfig | |
---------- | |
[alias] | |
st = status | |
ci = commit |
This file contains 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
using System; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
using System.Web; | |
using System.Windows; | |
using Microsoft.Win32; | |
namespace DocRaptorExample | |
{ |
This file contains 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
# Example #1: proxy div lookup | |
class ProxyObject | |
def method_missing(method, *args, &block) | |
puts "fake send a method to another process: #{method}(*#{args.inspect}, &#{block.inspect})" | |
end | |
end | |
$browser = ProxyObject.new | |
$browser.send :div, /foo/ |
This file contains 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
config.gem "redgreen" |
This file contains 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
require 'test/unit/ui/console/testrunner' | |
require File.join("#{RAILS_ROOT}/lib", 'patches/testrunner') |
This file contains 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 ActiveSupport | |
module Testing | |
module Declarative | |
# test "verify something" do | |
# ... | |
# end | |
alias :tu_test_original :test | |
def test(name, tags = nil, &block) | |
if tag_option_specified? |
This file contains 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
types { | |
text/html html htm shtml; | |
text/css css; | |
text/xml xml; | |
image/gif gif; | |
image/jpeg jpeg jpg; | |
application/x-javascript js; | |
application/atom+xml atom; | |
application/rss+xml rss; |
This file contains 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
.columns > .column_item > .app_tag > .state > .selected { | |
background-color: hsla(209, 40%, 15%, 0.6); | |
background-color: #282C19; | |
background-image: -webkit-gradient(linear, left top, left bottom, from(#39481A), to(#303B17)); | |
background-image: | |
-webkit-gradient( | |
linear, | |
0% 0%, | |
100% 0%, |