This is a general-purpose function to ask Yes/No questions in Bash, either with or without a default answer. It keeps repeating the question until it gets a valid answer.
This file has been truncated, but you can view the full file.
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
lettuce-epollEventLoop-101-2 | |
17:28:40 | |
Incident Start: 17:28:51 | |
Incident End: 17:29:04 | |
17:29:25 | |
2019-05-04 17:28:40.001 DEBUG [lettuce-epollEventLoop-101-2] i.l.c.p.CommandHandler: [channel=0x35b02b14, /172.17.0.3:51240 -> 10.29.174.127/10.29.174.127:6381, chid=0x99] write(ctx, SubscriptionCommand [type=PUBLISH, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise) [] | |
2019-05-04 17:28:40.001 DEBUG [lettuce-epollEventLoop-101-2] i.l.c.p.CommandEncoder: [channel=0x35b02b14, /172.17.0.3:51240 -> 10.29.174.127/10.29.174.127:6381] writing command SubscriptionCommand [type=PUBLISH, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command] [] | |
2019-05-04 17:28:40.001 DEBUG [lettuce-epollEventLoop-101-2] i.l.c.p.CommandHandler: [channel=0x35b02b14, /172.17.0.3:51240 -> 10.29.174.127/10.29.174.127:6381, chid=0x99] Received: 4 bytes, 1 commands in the stack [] |
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
brew update | |
brew versions FORMULA | |
cd `brew --prefix` | |
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
brew install FORMULA | |
brew switch FORMULA VERSION | |
git checkout -- Library/Formula/FORMULA.rb # reset formula | |
## Example: Using Subversion 1.6.17 | |
# |
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
from fabric.api import env, local, require | |
def deploy(): | |
"""fab [environment] deploy""" | |
require('environment') | |
maintenance_on() | |
push() | |
syncdb() | |
migrate() |
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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Default/Slush & Poppies.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 10, | |
"highlight_modified_tabs": true, | |
"open_files_in_new_window": false, | |
"save_on_focus_lost": true, | |
"tab_size": 4, | |
"theme": "Soda Light.sublime-theme", |