Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
""" | |
Convert CSV string to fixed width text table. Supports multi-line rows, column width limits, and creates a header row automatically | |
@author Tony Landis | |
@link http://www.tonylandis.com | |
@license GPL | |
""" | |
from math import ceil | |
class CsvToTxt(): |
import os | |
import sys | |
import pickle | |
import console | |
# I moved 'dropboxlogin' into a sub folder so it doesn't clutter my main folder | |
sys.path += [os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib')] | |
import dropboxlogin # this code can be found here https://gist.github.com/4034526 | |
STATE_FILE = '.dropbox_state' |
# encoding=utf8 | |
""" | |
formd by Seth Brown, 02-24-12 | |
modified for iOS use (Pythonista) by Brett Terpstra, 10-17-12 | |
""" | |
from sys import stdin, stdout | |
import clipboard | |
import re | |
from collections import OrderedDict |
javascript:window.location='pinbook:///add?url='%20+%20encodeURIComponent(document.location.href)%20+%20'&title='%20+%20encodeURIComponent(document.title); |
#!/bin/bash | |
# Schedule this to run once a day with cron. Doesn't matter what time since it parses yesterday's hits (by default). | |
# I only tested this on the Marco.org server, which runs CentOS (RHEL). No idea how it'll work on other distributions, but it's pretty basic. | |
# Required variables: | |
RSS_URI="/rss" | |
MAIL_TO="[email protected]" | |
LOG_FILE="/var/log/httpd/access_log" |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |