Skip to content

Instantly share code, notes, and snippets.

View jpennell's full-sized avatar

James Pennell jpennell

  • Electronic Arts
  • Waterloo, Ontario, Canada
View GitHub Profile
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] []
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 []
@jpennell
jpennell / Homebrew install specific version
Created December 1, 2012 22:08 — forked from gcatlin/gist:1847248
Install specific version of Homebrew formula
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 September 18, 2012 01:15
Fabric fabfile for Django/Heroku App
from fabric.api import env, local, require
def deploy():
"""fab [environment] deploy"""
require('environment')
maintenance_on()
push()
syncdb()
migrate()
@jpennell
jpennell / README.md
Created September 8, 2012 01:53
General-purpose Yes/No prompt function ("ask") [Bash]

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.

@jpennell
jpennell / Preferences.sublime-settings.json
Created August 22, 2012 21:45
Sublime Text 2 Preferences
{
"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",