Skip to content

Instantly share code, notes, and snippets.

View ryo0508's full-sized avatar

Ryo Sakikawa ryo0508

View GitHub Profile
credit_cards_example:
VISA:
- 4532067618974123
- 4916016819289878
- 4539068965030777
MasterCard:
- 5311086328487790
- 5288734069841571
- 5531196072614350
index
home
top
help
about
security
contact
connect
support
faq
<html>
<head>
<style>
* {
margin: 0;
padding: 0;
}
#outer-wrapper {
position: absolute;
background-color: blue;
@ryo0508
ryo0508 / install.sh
Last active December 17, 2015 15:29 — forked from makimoto/install.sh
brew install https://raw.github.com/gist/5632492/macvim-kaoriya.rb
@ryo0508
ryo0508 / measure.rb
Last active December 17, 2015 03:59
Measure Method
#
# How to use
# measure :key do
# code you want to measure...
# end
#
def measure(key = nil)
p "#{caller[0]}: #{key} : start"
st = Time.now
@ryo0508
ryo0508 / gist:5457275
Created April 25, 2013 03:20
Toggle between show or hide hidden files in MAC OS X
# ================================================================
# Toggle between show or hide hidden files in MAC OS X
# ================================================================
toggle_hidden_files() {
is_showing=`defaults read com.apple.finder AppleShowAllFiles`
if [ ${is_showing} = TRUE ]
then
defaults write com.apple.finder AppleShowAllFiles FALSE;
else