Skip to content

Instantly share code, notes, and snippets.

Avatar

James Pennell jpennell

  • Electronic Arts
  • Waterloo, Ontario, Canada
View GitHub Profile
View Lettuce Logs
This file has been truncated, but you can view the full file.
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] []
@jpennell
jpennell / Homebrew install specific version
Created Dec 1, 2012 — forked from gcatlin/gist:1847248
Install specific version of Homebrew formula
View Homebrew install specific version
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
#
@jpennell
jpennell / fabfile.py
Created Sep 18, 2012
Fabric fabfile for Django/Heroku App
View fabfile.py
from fabric.api import env, local, require
def deploy():
"""fab [environment] deploy"""
require('environment')
maintenance_on()
push()
syncdb()
migrate()
@jpennell
jpennell / README.md
Created Sep 8, 2012 — forked from davejamesmiller/_README.md
General-purpose Yes/No prompt function ("ask") [Bash]
View README.md

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.

View Preferences.sublime-settings.json
{
"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",