As configured in my dotfiles.
start new:
tmux
start new with session name:
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
| # Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer | |
| # Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode) | |
| # built application files | |
| *.apk | |
| *.ap_ | |
| *.jar | |
| !gradle/wrapper/gradle-wrapper.jar | |
| # lint folder |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| ( function ( window, undefined ) { | |
| var Aloha = window.Aloha || ( window.Aloha = {} ); | |
| Aloha.settings = { | |
| logLevels: { 'error': true, 'warn': true, 'info': true, 'debug': false, 'deprecated': true }, | |
| errorhandling: false, | |
| ribbon: false, | |
| locale: 'en', | |
| floatingmenu: { | |
| width: 630, |
| #!/usr/bin/env python | |
| # | |
| # Converts any integer into a base [BASE] number. I have chosen 62 | |
| # as it is meant to represent the integers using all the alphanumeric | |
| # characters, [no special characters] = {0..9}, {A..Z}, {a..z} | |
| # | |
| # I plan on using this to shorten the representation of possibly long ids, | |
| # a la url shortenters | |
| # |