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
| Compile | |
| javac -cp json-20131018.jar Forecast.java | |
| Execute | |
| java -cp json-20131018.jar: Forecast |
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
| SSLProtocol -SSLv3 |
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
| nc IP-ADDRESS PORT < /dev/null; echo $? |
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
| watch -d ls -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
| MACOSX_DEPLOYMENT_TARGET=10.9 CC=/usr/local/bin/gcc-4.2 rbenv install 2.0.0-p481 |
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
| Test with curl | |
| curl -H "Origin: http://www.example.nl" \ | |
| -H "Access-Control-Request-Method: GET" \ | |
| -H "Access-Control-Request-Headers: X-Requested-With" \ | |
| -X OPTIONS --verbose \ | |
| https://s3-eu-west-1.amazonaws.com/img.example.com.acceptance/public/css/glyphicons-halflings-regular.ttf | |
| S3 Cors configuration |
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
| chrome://net-internals/#dns |
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/bash | |
| export PROJECT='PROJECTNAME' | |
| export ENV='ENVIRONMENT' | |
| export HOSTNAME="$PROJECT"-"$ENV" | |
| rm -rf /etc/hostname | |
| echo $HOSTNAME | sudo tee -a /etc/hostname | |
| hostname $HOSTNAME |
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
| spec/features/awesome_cache_sweeper_spec.rb | |
| it 'expires the awesome cache', :with_caching do | |
| perform_your_caching_method | |
| end | |
| spec_helper.rb | |
| config.around(:each, :with_caching) do |spec| | |
| ActionController::Base.perform_caching = 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
| RUBY_CONFIGURE_OPTS="--without-gcc --disable-install-rdoc" rbenv install RUBY_VERSION |