- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| var DateHelper = { | |
| // Takes the format of "Jan 15, 2007 15:45:00 GMT" and converts it to a relative time | |
| // Ruby strftime: %b %d, %Y %H:%M:%S GMT | |
| time_ago_in_words_with_parsing: function(from) { | |
| var date = new Date; | |
| date.setTime(Date.parse(from)); | |
| return this.time_ago_in_words(date); | |
| }, | |
| // Takes a timestamp and converts it to a relative time | |
| // DateHelper.time_ago_in_words(1331079503000) |
| #!/bin/sh | |
| REPOSRC=$1 | |
| LOCALREPO=$2 | |
| # We do it this way so that we can abstract if from just git later on | |
| LOCALREPO_VC_DIR=$LOCALREPO/.git | |
| if [ ! -d $LOCALREPO_VC_DIR ] | |
| then |
| .fc { | |
| direction: ltr; | |
| text-align: left; } | |
| .fc table { | |
| border-collapse: collapse; | |
| border-spacing: 0; } | |
| .fc .btn { | |
| line-height: 1.2em; } | |
| html .fc { |
Add this in your ini file:
[alembic:exclude]
tables = spatial_ref_sys
In env.py:
import re
| # -*- coding: utf-8 -*- | |
| """ | |
| Flask-Login example | |
| =================== | |
| This is a small application that provides a trivial demonstration of | |
| Flask-Login, including remember me functionality. | |
| :copyright: (C) 2011 by Matthew Frazier. | |
| :license: MIT/X11, see LICENSE for more details. | |
| """ |
| /sbin/ifconfig en0 ether $(/usr/bin/openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') |
| [alias] | |
| # Basic commands | |
| ignored = git ls-files -v | grep \"^[[:lower:]]\" | |
| st = status -s | |
| stat = status | |
| ci = commit | |
| co = checkout | |
| br = branch | |
| brav = branch -av | |
| unstage = reset HEAD -- |
| """ | |
| pip install click | |
| """ | |
| import click | |
| import itertools |
| { | |
| "user": { | |
| "debug": false, | |
| "delay": 0.25, | |
| "error_color": "D02000", | |
| "gutter_theme": "Packages/SublimeLinter/gutter-themes/Danish Royalty/Danish Royalty.gutter-theme", | |
| "gutter_theme_excludes": [], | |
| "lint_mode": "load/save", | |
| "linters": { | |
| "htmltidy": { |