- 2 quarts water
- 8 skinless, boneless chicken breast halves
- 1/2 teaspoon salt
- 1 teaspoon ground black pepper
- 1 teaspoon garlic powder
- 2 tablespoons dried parsley
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
up up down down left right left right b a [enter] | |
? | |
esc | |
j | |
k | |
G | |
g h | |
g g | |
g p | |
g n |
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
# Maybe not the worst monkey patch ever, but don't do this | |
class Numeric | |
def is_what_percent_of(num) | |
100 * (self.to_f/num) | |
end | |
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
<!DOCTYPE html> | |
<html ng-app='myApp'> | |
<head> | |
<title>Angular</title> | |
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js'></script> | |
<script> | |
angular.module('myApp', []) | |
.controller('Person', function($scope) { | |
var data = { | |
name: 'John Smith', |
- https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
- https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-14-04
- https://www.digitalocean.com/community/tutorials/how-to-use-postgresql-with-your-ruby-on-rails-application-on-ubuntu-14-04
https://www.digitalocean.com/community/tutorials/deploying-a-rails-app-on-ubuntu-14-04-with-capistrano-nginx-and-pumaThis one is complicated and buggy- https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-git-hooks-on-ubuntu-14-04
Installing Rails may fail because of Nokogiri - http://www.nokogiri.org/tutorials/installing_nokogiri.html#ubuntu___debian Installing pg may fail - http://stackoverflow.com/questions/3116015/how-to-install-postgresqls-pg-gem-on-ubuntu
Mark Hamill - P.O. Box 287, Grand Blanc, MI 48480, USA- Harrison Ford - P.O. Box 49344, Los Angeles, CA 90049-0344, USA
- Dave Grohl -
- Josh Freese - Rebel Waltz, Inc., 31652 2nd Avenue, Laguna Beach, CA 92651, USA
- Tom Hanks - Playtone, P.O. Box 7340, Santa Monica, CA 90406-7340, USA
- Bill Murray - Ziffren, Brittenham, 1801 Century Park West, Los Angeles, CA 90067-6406, USA
- Dan Akroyd - Applied Action Research Corp., 859 Hollywood Way, Box 497, Burbank, CA 91505, USA
- John Cleese - Phil McIntyre Management Ltd., 3rd Floor, 85 Newman Street, London, W1T 3EU, UK
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
# in configure block | |
config.exceptions_app = self.routes |
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
/* <![CDATA[ */ | |
//============================================================ | |
// ZALGO text script by tchouky | |
//============================================================ | |
// data set of leet unicode chars | |
//--------------------------------------------------- | |
//those go UP | |
var zalgo_up = [ |
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
require 'exifr' | |
files = Dir['*.jpg'] | |
puts "Renaming #{files.count} files..." | |
new_file_names = Hash.new { |h,k| h[k] = [] } | |
files.each do |file| | |
exif = EXIFR::JPEG.new(file) | |
dt = exif.date_time_original | |
new_file_name = "#{dt.strftime('%Y-%m-%d %H.%M.%S')}" |