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
| # Variation on Hashrocket's script for managing the git process | |
| # as documented here: http://reinh.com/blog/2008/08/27/hack-and-and-ship.html | |
| # Create shell scripts out of each of these, put them in your path (~/bin for example) | |
| # chmod 755 them and use like this: | |
| # | |
| # This version of hack is totally different than Hackrockets. I feel that hack implies | |
| # that you are getting started, not finishing up. sink is Hashrockets hack. | |
| # | |
| # $ hack branch_name | |
| # Test and Implement until done |
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
| # I love tpope's solution to ctags regeneration[1]; he creates | |
| # a template from which all Git repositories take their default hooks, | |
| # and then uses these hooks to regenerate ctags. | |
| # | |
| # [1]: http://tbaggery.com/2011/08/08/effortless-ctags-with-git.html | |
| # | |
| # It's an elegant solution, but what do you do about repositories that | |
| # already exist? The template will only apply to newly cloned or newly | |
| # initialised repositories. | |
| # |
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="description" content="React Playground"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <script src="https://fb.me/react-15.1.0.js"></script> | |
| <script src="https://fb.me/react-dom-15.1.0.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.7.2/redux.js"></script> |
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
| # Add poltergeist gem to Gemfile, in :test group, | |
| # then run `bundle` to install | |
| group :test do | |
| ... | |
| gem 'poltergeist' | |
| ... | |
| end |
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
| Because I couldn't find these with a quick Google search on 28 April 2015: | |
| Usage: | |
| rails new APP_PATH [options] | |
| Options: | |
| -r, [--ruby=PATH] # Path to the Ruby binary of your choice | |
| # Default: /home/brian/.rvm/rubies/ruby-2.2.0/bin/ruby | |
| -m, [--template=TEMPLATE] # Path to some application template (can be a filesystem path or URL) | |
| [--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfile |
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
| package br.com.rponte.app.thumb; | |
| import java.awt.Container; | |
| import java.awt.Graphics2D; | |
| import java.awt.Image; | |
| import java.awt.MediaTracker; | |
| import java.awt.RenderingHints; | |
| import java.awt.Toolkit; | |
| import java.awt.image.BufferedImage; | |
| import java.io.BufferedOutputStream; |
NewerOlder