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
| grep -r --exclude=*.{log,min.js} "[^/]console\.log" * |
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
| !(vendor/bundle|vendor/images|log|cache)|.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$ |
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
| install_name_tool -change libmysqlclient.16.dylib /usr/local/mysql/lib/libmysqlclient.16.dylib /Users/adeponte/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.7/lib/mysql2/mysql2.bundle |
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 EDITOR="/usr/bin/mate -w" | |
| # Git aliases | |
| alias gs='git status' | |
| alias gd='git diff | mate' | |
| alias gb='git branch' | |
| # Bundle aliases | |
| alias be='bundle exec' | |
| alias bec='be cucumber -f pretty' | |
| alias bes='be rspec --color --drb' |
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
| # Git aliases | |
| alias gs='git status' | |
| alias gd='git diff | mate' | |
| alias gb='git branch' | |
| # Bundle aliases | |
| alias be='bundle exec' | |
| alias bec='be cucumber -f pretty' | |
| alias bes='be rspec --format doc' |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> | |
| <html> | |
| <head> | |
| <title>Test jQuery Adding Causing Scrolling?</title> | |
| <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script> | |
| <style type="text/css" media="screen"> | |
| #container { | |
| margin-top: 5px; | |
| border: solid 1px; | |
| padding: 4px; |
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
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'rest_client' | |
| require 'rexml/document' | |
| def getHourProbPrecip(zipcodes_array) | |
| zipcodes_str = zipcodes_array.join('+') | |
| results = {} |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
| <style type="text/css"> | |
| html { height: 100% } | |
| body { height: 100%; margin: 0px; padding: 0px } | |
| #map_canvas { height: 100% } | |
| </style> | |
| <script type="text/javascript" |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>memcached</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/bin/memcached</string> | |
| <string>-l</string> |
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
| #!/usr/bin/env ruby | |
| require 'date' | |
| d = Date.today | |
| puts d.cweek() |