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
gem install eventmachine -v '1.0.8' -- --with-cppflags=-I/usr/local/opt/openssl/include |
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
PROMPT='%F{yellow}$SHELL_CHAR%f ' | |
if [[ $SERVER = true ]] then | |
PROMPT='%F{green}$(hostname)%f'$PROMPT | |
fi | |
RPROMPT='$(git_prompt_info) %F{green}%2c%F{blue}%f' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%F{yellow}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%f" |
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
Bali Thailand Goa | |
Jan * * | |
Feb * * | |
Mar * | |
Apr | |
May | |
Jun * | |
Jul * | |
Aug * |
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
Tasks | |
===== | |
#ruby.ge | |
#### Jani's tasks 😱 | |
1. ▢ fix logo | |
2. ▢ fix empty page | |
3. ▢ make design for: |
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
assert = require 'assert' | |
module.exports = fn = (data) -> | |
return [data] unless data instanceof Array | |
a = [] | |
a = a.concat(fn(elem)) for elem in data | |
a | |
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
factors n = [x | x <- [1..n], n `mod` x == 0] | |
prime n = factors n == [1, n] | |
primes n = [x | x <- [2..n], prime x] |
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
factors :: Int -> [Int] | |
factors n = | |
[x | x <- [1..n], n `mod` x == 0] | |
factors 72 | |
out> [1,2,3,4,6,8,9,12,18,24,36,72] | |
prime :: Int -> Bool | |
prime n = factors n == [1, 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
http/chunked.js | |
http/chunked.js num=1 size=1 c=100: 11838 | |
http/chunked.js num=1 size=64 c=100: 11576 | |
http/chunked.js num=1 size=256 c=100: 11832 | |
http/chunked.js num=4 size=1 c=100: 6681.5 | |
http/chunked.js num=4 size=64 c=100: 6585.4 | |
http/chunked.js num=4 size=256 c=100: 6519.7 | |
http/chunked.js num=8 size=1 c=100: 4223.9 | |
http/chunked.js num=8 size=64 c=100: 4056.1 | |
http/chunked.js num=8 size=256 c=100: 4100.8 |
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
http/chunked.js | |
http/chunked.js num=1 size=1 c=100: 11335 | |
http/chunked.js num=1 size=64 c=100: 11092 | |
http/chunked.js num=1 size=256 c=100: 10797 | |
http/chunked.js num=4 size=1 c=100: 5760 | |
http/chunked.js num=4 size=64 c=100: 5616 | |
http/chunked.js num=4 size=256 c=100: 5675 | |
http/chunked.js num=8 size=1 c=100: 3637 | |
http/chunked.js num=8 size=64 c=100: 3723 | |
http/chunked.js num=8 size=256 c=100: 3649 |
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
ln -s ~/.zshrc ~/.zprofile |