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
fn passErr(err) ==> { throw err } | |
fn logErr(err) ==> { log.Error(err) } | |
fn ignoreErr(err) ==> {} | |
out1 := try SomeFunc1(arg1,arg2), catch logErr | |
out2 := try SomeFunc2(arg1), | |
catch passErr | |
out3 := try SomeFunc3(arg1). catch (err) ==> errwrap.wrapErr("additional error info") |
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
hello |
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
for dir in * | |
do | |
DIR=${dir} sh -c 'cd ${DIR}; git remote remove origin; git remote add origin [email protected]:n-marshall/companyname-${DIR}.git; git push -u origin master' | |
done |
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
#!/bin/sh | |
echo "Installing XCode CLT..." | |
xcode-select --install | |
read -p "Press [Enter] key to once CLT finished..." | |
clear | |
echo "Creating dev environment..." | |
mkdir ~/dev | |
mkdir ~/dev/go | |
clear |
NewerOlder