This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" format SQL using sqlformat.org | |
function! SQLFormat() " {{{ | |
'<,'>python << EOF | |
import vim | |
import urllib2, urllib, json | |
sql = ' '.join(vim.current.range) | |
params = {'sql': sql, | |
'n_indents': 4, | |
'keyword_case': 'upper', | |
'reindent': 1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
shellbrowser='elinks' | |
tmux_current_window=`tmux display-message -p "#W"` | |
tmux_current_pane=`tmux display-message -p "#P"` | |
# Check if in the right tmux window | |
if [ $tmux_current_window != 'news' ];then | |
elinks $1 | |
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default prefex C-b is kept | |
set -g default-terminal "screen-256color-italic" | |
# Keep quiet | |
set -g quiet on | |
# Set window notifications | |
setw -g monitor-activity on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Very Vanilla Powerline | |
function! GetMode() " {{{ | |
let mode = mode() | |
if mode ==# 'v' | |
let mode = "VISUAL" | |
elseif mode ==# 'V' | |
let mode = "V.LINE" | |
elseif mode ==# ' ' | |
let mode = "V.BLOCK" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ELinks 0.11.7 configuration file | |
## This is ELinks configuration file. You can edit it manually, | |
## if you wish so; this file is edited by ELinks when you save | |
## options through UI, however only option values will be altered | |
## and missing options will be added at the end of file; if option | |
## is not written in this file, but in some file included from it, | |
## it is NOT counted as missing. Note that all your formatting, | |
## own comments and so on will be kept as-is. | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change some default settings | |
browser "tmux-newsbeuter-open.sh %u" | |
always-display-description true | |
auto-reload yes | |
feed-sort-order unreadarticlecount-asc | |
notify-xterm yes | |
notify-screen yes | |
notify-beep yes | |
refresh-on-startup yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://blog.sanctum.geek.nz/feed/ | |
https://news.ycombinator.com/rss | |
http://jeremykun.wordpress.com/feed/ | |
http://www.giantitp.com/comics/comics.rss | |
http://kmandla.wordpress.com/feed/ | |
http://inconsolation.wordpress.com/feed/ | |
http://onethingwell.org/rss | |
http://what-if.xkcd.com/feed.atom | |
http://lucumr.pocoo.org/feed.atom | |
http://syndication.thedailywtf.com/TheDailyWtf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmethod vote-for (user-selected-game) | |
(incf (votes user-selected-game))) | |
;;;; A prototypic backend | |
(defvar *games* '()) | |
(defun game-from-name (name) | |
(find name *games* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:shared {:clean-targets ["out" :target-path]} | |
:dev [:shared | |
{:resources-paths ["dev-resources"] | |
:source-paths ["dev-resources/tools/repl"] | |
:plugins [[com.cemerick/austin "0.1.4"]] | |
:injections [(require 'cemerick.austin.repls) | |
(defn browser-repl-env [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; bubbleberry-theme.el --- A theme based on LightTable for Emacs24 | |
;;; Author: Jason Milkins <[email protected]> | |
;; Gaurav Giri github.com/grvgr | |
;;; Url: https://github.com/jasonm23/emacs-bubbleberry-theme | |
;; Version: 20131223.349 | |
;;; X-Original-Version: 0.1.2 | |
;;; Package-Requires: ((emacs "24.1")) | |
;;; | |
;;; Change Log: | |
;; |
OlderNewer