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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 12, | |
// font family with optional fallbacks | |
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.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
PROMPT='%{$fg[blue]%}%1~%{$fg_bold[white]%}$(git_prompt_info)%{$reset_color%} ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ✗%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
export LSCOLORS="exfxcxdxbxegedabagacad" | |
export LS_COLORS='di=36;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:' |
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
#!/usr/bin/env ruby | |
locker_count = ARGV[0].to_i | |
final_states = 1.upto(locker_count).reduce([false] * locker_count) do |states, f| | |
states.each_with_index.map do |s, i| | |
next s if i < f | |
i % f == 0 ? !s : s | |
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
#!/usr/bin/env ruby | |
first = "\u202E" | |
last = "\u202D" | |
print first + ARGV[0].reverse + last |
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
lyrics = [ | |
/^We(')?re no strangers to love[\.,]?$/i, | |
/^You know the rules and so do I[\.,]?$/i, | |
/^A full commitment(')?s what I(')?m thinking of[\.,]?$/i, | |
/^You wouldn(')?t get this from any other guy[\.,]?$/i, | |
/^I just wanna tell you how I(')?m feeling[\.,]?$/i, | |
/^Gotta make you understand[\.,]?$/i, | |
/^Never gonna give you up[\.,]?$/i, |
NewerOlder