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 zsh | |
export all_proxy=socks5://localhost:8388 | |
curl -vL http://google.com/ | |
echo upgrade: oh my zsh ... | |
env ZSH=$ZSH sh $ZSH/tools/upgrade.sh | |
echo update: homebrew ... |
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 bash | |
if [[ -z $1 ]] | |
then | |
APP_PATH="./" | |
else | |
APP_PATH="$1" | |
fi | |
open -n -a node-webkit "$APP_PATH" |
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
function tree { | |
if [[ -z "$1" ]] | |
then | |
TREEPATH="." | |
else | |
TREEPATH="$1" | |
fi | |
find $TREEPATH -print | sed -e "s;[^/]*/;|__;g;s;__|; |;g;" | |
} |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<templates> | |
<template autoinsert="true" context="java" deleted="false" description="SLF4J logger" enabled="true" name="logger">private static final Logger logger = LoggerFactory.getLogger(${enclosing_type}.class); | |
${imp:import(org.slf4j.Logger, org.slf4j.LoggerFactory)}</template> | |
</templates> |