Skip to content

Instantly share code, notes, and snippets.

View juanfletes's full-sized avatar
🎯
Focusing

Juan Fletes juanfletes

🎯
Focusing
  • Managua, Nicaragua
View GitHub Profile
# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby
[
{ "keys": ["alt+shift+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["alt+shift+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["super+up"], "command": "goto_definition" },
{ "keys": ["super+down"], "command": "jump_back" },
{ "keys": ["ctrl+alt+shift+s"], "command": "save_all" },
{ "keys": ["ctrl+shift+w"], "command": "close_all"},
{ "keys": ["ctrl+space"], "command": "reveal_in_side_bar"}
]
@juanfletes
juanfletes / Preferences.sublime-settings
Created August 14, 2018 15:08
Preference for sublime-text-3
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_find_in_selection": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
"copy_with_empty_selection": true,
"default_line_ending": "unix",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
@juanfletes
juanfletes / dbeaber-dark-theme.epf
Created August 14, 2018 15:05
Dark theme configuration for dbeaber
#Tue Aug 14 08:26:54 CST 2018
\!/=
/instance/org.eclipse.core.resources/version=1
/instance/org.eclipse.debug.ui/org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<launchPerspectives/>\n
/instance/org.eclipse.e4.ui.css.swt.theme/themeid=org.eclipse.e4.ui.css.theme.e4_dark
/instance/org.eclipse.e4.ui.workbench.renderers.swt/enableMRU=true
/instance/org.eclipse.e4.ui.workbench.renderers.swt/themeEnabled=true
/instance/org.eclipse.ui.editors/SQLEditor.resultSet.ratio=723-270
/instance/org.eclipse.ui.editors/currentLineColor=0,0,0
/instance/org.eclipse.ui.editors/lineNumberColor=255,255,255