Skip to content

Instantly share code, notes, and snippets.

View cocoatomo's full-sized avatar
🐧
Translating

cocoatomo cocoatomo

🐧
Translating
View GitHub Profile
@kumonopanya
kumonopanya / リスト1-0何も考えないpowmod関数.rb
Created June 2, 2012 12:08
アルゴリズムを学ぼう Ruby版
def powmod(a,k,m)
return a ** k % m
end
p powmod(3,2,7)
p powmod(3,2,6)
p powmod(3,2,5)
p powmod(3,2,4)
p powmod(3,(2**22),4)
@taichi
taichi / code_reading.md
Last active April 10, 2024 13:04
太一のコードの読み方メモ

太一のコードの読み方メモ

全体として太一が感覚的に実践している事を論理的に説明しようと試みている為、
説明の粒度が適切でなかったり一貫性が無いように見える部分があるかもしれない。
普段やっているけども書ききれていない事も多分きっとある。

コードを読むとは何か

  • コードを嗜む
  • コードを学ぶ
  • 武器を手に入れる
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@kwatch
kwatch / whats-new-python320.ja.rst
Created April 6, 2011 23:24
What's New in Python 3.2 translation to Japanese

What's New In Python 3.2

Author: Raymond Hettinger
Release:|release|
Date: |today|
@lxneng
lxneng / gist:741932
Created December 15, 2010 13:21
install PostgreSQL 9 in Mac OSX via Homebrew
install PostgreSQL 9 in Mac OSX via Homebrew
Mac OS X Snow Leopard
System Version: Mac OS X 10.6.5
Kernel Version: Darwin 10.5.0
Install notes for PostgreSQL 9.0.1 install using Homebrew:
sh-3.2# brew install postgresql