-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
376 additions
and
181 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
cache/ | ||
macos/Brewfile.lock.json | ||
macos/*.lock.json |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# See what 'read -t' returns on timeout. | ||
# | ||
# For that - read from stdout. Alternatively, it could read | ||
# from /dev/zero, but it's not available under Cygwin and | ||
# in other non-*nix environments. | ||
# | ||
# Also note, that while bash manual states that the return | ||
# code on a timeout is greater than 128, it doesn't hold | ||
# true with a number of bash implementations, most notably | ||
# including GNU bash that returns 1 instead. | ||
# | ||
read -t 1 <&1 | ||
timeout=$? | ||
|
||
# | ||
# loop forever | ||
# | ||
while true; do | ||
# | ||
# relay stdin to stdout | ||
# | ||
while true; do | ||
IFS= read -r -t 1 line | ||
rc=$? | ||
if [ $rc != 0 ]; then break; fi | ||
echo "$line" | ||
done | ||
# | ||
# exit status is greater than 128 if the timeout is exceeded | ||
# | ||
if [ $rc != $timeout ]; then break; fi | ||
|
||
# | ||
# print the timestamp | ||
# | ||
now=$(date ${1:++"$1"}) | ||
echo -ne "$now\r" >&2 | ||
done |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
########################################################## | ||
######################### TAPS ########################### | ||
########################################################## | ||
|
||
tap "homebrew/bundle" | ||
|
||
########################################################## | ||
######################## PYTHON ########################## | ||
########################################################## | ||
|
||
brew "[email protected]" | ||
brew "[email protected]" | ||
brew "[email protected]" | ||
brew "[email protected]" | ||
brew "[email protected]" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.