View # octave - 2016-08-10_17-09-27.txt
This file contains 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
Homebrew build logs for homebrew/science/octave on Mac OS X 10.11.6 | |
Build date: 2016-08-10 17:09:27 |
View # arpack - 2016-08-10_16-18-01.txt
This file contains 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
Homebrew build logs for homebrew/science/arpack on Mac OS X 10.11.6 | |
Build date: 2016-08-10 16:18:01 |
View rails.ipynb.json
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ |
View RubyGems.ipynb.json
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"# Ruby Gems available on Try Jupyter" | |
] | |
}, | |
{ |
View random_japanese.rb
This file contains 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
module RandomJapanese | |
KANJI_LOWER_RANGE = 0x4E00 | |
KANJI_UPPER_RANGE = 0x9FBF | |
HIRAGANA_LOWER_RANGE = 0x3040 | |
HIRAGANA_UPPER_RANGE = 0x309F | |
KATAKANA_LOWER_RANGE = 0x30A0 | |
KATAKANA_UPPER_RANGE = 0x30FF | |
class << self | |
def kanji(length = 1) |
View Local Branches
This file contains 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 branch --merged master | | |
grep -v '*' | | |
grep -v master | | |
xargs -L1 | | |
xargs git branch -d |
View git-branches-by-commit-date.sh
This file contains 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
# Credit http://stackoverflow.com/a/2514279 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ai %ar by %an" $branch | head -n 1` \\t$branch; done | sort -r |
View enumetric.rb
This file contains 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 | |
# | |
# enumetric.rb | |
# | |
# Rough estimate of usage/non-usage of Enumerable methods | |
TRIVIAL_METHODS = [:first, :count, :to_a] | |
def count_usage(method, dir = '.') | |
method_delimiter = '[\s\.\{\(=]' |
View gist:1007841
This file contains 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
Country Stores Population Population per Store | |
USA 236 308 million 1.3 million | |
UK 29 62 million 2.1 million | |
Canada 19 34 million 1.7 million | |
Australia 10 22 million 2.2 million | |
Japan 7 127 million 18 million | |
China 4 1,339 million 334 million | |
France 6 65 million 10.8 million | |
Germany 5 81 million 16 million | |
Italy 4 60 million 15 million |
View devise.ja.yml
This file contains 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
ja: | |
errors: | |
messages: | |
not_found: "は見つかりませんでした" | |
# not_found: "not found" | |
already_confirmed: "は既に登録済みです" | |
# already_confirmed: "was already confirmed" | |
not_locked: "は凍結されていません" | |
# not_locked: "was not locked" | |
not_saved: |
NewerOlder