Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
| #!/bin/bash | |
| # | |
| # virtualenv-burrito | |
| # | |
| # One command to have a working virtualenv + virtualenvwrapper environment. | |
| # | |
| set -e | |
| VENVBURRITO="$HOME/.venvburrito" | |
| VENVBURRITO_esc="\$HOME/.venvburrito" |
| source "http://rubygems.org" | |
| gem 'rack-contrib', :git => 'git://github.com/rack/rack-contrib.git' | |
| gem 'rack-rewrite' |
| class HelloWorldLoops { | |
| void stringDeclaredInsideLoop(){ | |
| while (true) { | |
| String greeting = "Hello World!"; | |
| doNothing(greeting); | |
| } | |
| } | |
| void stringDeclaredOutsideLoop(){ | |
| String greeting; | |
| while (true) { |
| #! /bin/sh | |
| # | |
| # Install the latest version of calibre for OS X | |
| # Replaces any existing version in /Applications or ~/Applications | |
| # | |
| # Copyright (C) 2013 Faraz Yashar | |
| # | |
| # This program is free software: you can redistribute it and/or modify it under | |
| # the terms of the GNU General Public License as published by the Free Software | |
| # Foundation, either version 3 of the License, or (at your option) any later |
| #! /bin/sh | |
| # | |
| # An OS X shell script to fix RMagick compilation issues when using Homebrew's | |
| # ImageMagick installation. This script creates the symlinks needed for | |
| # RMagick to compile. Quantum depths of 8 and 16-bits are supported. | |
| # | |
| # You can run this script with "sh whatever_script_name.sh" in your terminal | |
| # or with a click if you change the file extension to "command". | |
| # | |
| # You can manually make the links by visiting the ImagicMagick library |
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
| #! /usr/bin/env bash | |
| set -e | |
| repo_dir=`pwd` | |
| current_branch=`git rev-parse --abbrev-ref HEAD` | |
| timestamp=`date +"%Y%m%d%H%M"` | |
| push_dir="heroku-$timestamp" | |
| echo "Copying the repository into $push_dir for pushing..." | |
| cd ../ |
This Chrome extension blocks Readrboard's engage.js.
To install, clone this gist or save the files in a new directory. Then visit Chrome's extension dashboard (chrome://extensions/), enable developer mode, and install the unpacked extension.
You can modify the URLs by modifying the urls array in background.js. See Chrome's Match Patterns for valid URL patterns. Note you'll also need to add/update the respective URL in the permissions section of manifest.json to allow the extension to block the scripts from the specified addresses.
See the documentation for Chrome's webRequest.onBeforeRequest for more information.