Skip to content

Instantly share code, notes, and snippets.

@rduplain
rduplain / supervisord_minimal.conf
Created September 2, 2010 18:16
Configuration examples for supervisord, a process control system for projects.
[supervisord]
nodaemon=true
[supervisorctl]
serverurl=unix://supervisor.sock
[unix_http_server]
file=supervisor.sock
[rpcinterface:supervisor]
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@jamesflorentino
jamesflorentino / cookie-util.coffee
Created May 17, 2012 03:25
CoffeeScript // Cookie Handling
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active June 29, 2024 08:12
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@theju
theju / dropbox_upload_handler.py
Created July 17, 2012 11:18
Upload files to dropbox from your django app
from django.core.files.uploadhandler import TemporaryFileUploadHandler
from django.core.files.base import File
from dropbox.client import DropboxClient
from dropbox.session import DropboxSession
from django.conf import settings
import os
class DropboxFileUploadHandler(TemporaryFileUploadHandler):
def __init__(self, *args, **kwargs):
super(DropboxFileUploadHandler, self).__init__(*args, **kwargs)
@sgergely
sgergely / gist:3793166
Created September 27, 2012 09:43
Midnight Commander Keyboard Shortcuts for Mac OSX
----- Esc -----
Quick change directory: Esc + c
Quick change directory history: Esc + c and then Esc + h
Quick change directory previous entry: Esc + c and then Esc + p
Command line history: Esc + h
Command line previous command: Esc + p
View change: Esc + t (each time you do this shortcut a new directory view will appear)
Print current working directory in command line: Esc + a
Switch between background command line and MC: Ctrl + o
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name
@travmik
travmik / MC_shortcuts.md
Created January 14, 2013 13:52
Midnight Commander aka MC shortcuts for OS X
----- Esc -----
Quick change directory Esc + c
Quick change directory history Esc + c and then Esc + h
Quick change directory previous entry Esc + c and then Esc + p
Command line history Esc + h
Command line previous command Esc + p
View change Esc + t
Print current working directory in command line Esc + a
Switch between background command line and MC Ctrl + o
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active June 13, 2024 10:59
A badass list of frontend development resources I collected over time.