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
$g = 10 | |
def fun_g a | |
a += $g | |
end | |
def fun_l a | |
l = 10 | |
a += l | |
end |
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
ks() { | |
cur_dir=(pwd) | |
cd /opt/katawa-shoujo | |
Katawa\ Shoujo.sh | |
cd cur_dir | |
} |
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
# Clean, simple, compatible and meaningful. | |
# Tested on Linux, Unix and Windows under ANSI colors. | |
# It is recommended to use with a dark background. | |
# Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
# | |
# Mar 2013 Yad Smood | |
# VCS | |
YS_VCS_PROMPT_PREFIX1=" %{$fg[white]%}on%{$reset_color%} " | |
YS_VCS_PROMPT_PREFIX2=":%{$fg[cyan]%}" |
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
# A tool for G+ to remove all the loaded posts. | |
# This tool may be helpful when you have loaded lots of posts, and your browser is to slow to loading any more. | |
# You can trigger it either by press "C" or click the "Clear Posts" button. | |
# Jul 2013 ys | |
init = -> | |
stream_stage = document.querySelector('.wIa') | |
if stream_stage == null | |
return |
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
+ (void) launchApp:(NSString *)path { | |
NSURL *url = [NSURL fileURLWithPath:path]; | |
NSError *err = nil; | |
if ([url checkResourceIsReachableAndReturnError:&err]) { | |
[[NSWorkspace sharedWorkspace] launchApplication:[url path]]; | |
} else { | |
NSLog(@"%@", [err localizedDescription]); | |
} | |
} |
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 bash | |
# Default zsh runcom. | |
# Oct 2012 y.s. | |
################################### OH-MY-ZSH Settings ########################################## | |
# If your current shell is not zsh, try to change your default shell to zsh. | |
if [[ $0 != '-zsh' ]]; then | |
echo "Your default shell is not zsh." |
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
.KmGBLb { | |
right: -300px !important; | |
z-index: 1004; | |
-webkit-transition: all .15s cubic-bezier(0,1.12,.39,.98); | |
-moz-transition: all .15s cubic-bezier(0,1.12,.39,.98); | |
-ms-transition: all .15s cubic-bezier(0,1.12,.39,.98); | |
-o-transition: all .15s cubic-bezier(0,1.12,.39,.98); | |
transition: all .15s cubic-bezier(0,1.12,.39,.98); | |
} | |
.KmGBLb:hover { |
NewerOlder