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
" don't make vim compatible with vi | |
set nocompatible | |
" make vim try to detect file types and load plugins for them | |
filetype on | |
filetype plugin on | |
filetype indent on | |
" encoding is utf-8 | |
set encoding=utf-8 |
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
# | |
# weechat -- weechat.conf | |
# | |
# WARNING: It is NOT recommended to edit this file by hand, | |
# especially if WeeChat is running. | |
# | |
# Use /set or similar command to change settings in WeeChat. | |
# | |
# For more info, see: https://weechat.org/doc/quickstart | |
# |
I hereby claim:
- I am siddharthvipul on github.
- I am siddharthvipul (https://keybase.io/siddharthvipul) on keybase.
- I have a public key ASBdzZ4dOgvaKZuQLz_A8XYTlkIv5zPhGxMPQo_DmL08qAo
To claim this, I am signing this object:
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
set -g default-terminal "screen-256color" | |
set -g status-justify centre | |
setw -g monitor-activity on | |
set -g visual-activity on | |
setw -g mode-keys vi | |
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix |
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
# AUTOCOLOR {{{ | |
alias ls='ls --color=auto' | |
alias dir='dir --color=auto' | |
alias vdir='vdir --color=auto' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
##}} | |
# LS {{{ | |
alias ls='ls -hF --sort=extension --color=auto' |
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
# -*- coding: utf-8 -*- | |
import datetime | |
from flask import Blueprint, request, jsonify, abort, current_app | |
from functools import wraps | |
from duffy.models import Host, HostSchema, Session, SessionSchema, Project | |
from duffy.database import db | |
blueprint = Blueprint('api_v1', __name__) |
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
# -*- coding: utf-8 -*- | |
import time | |
import base64 | |
import openstack | |
from ConfigParser import ConfigParser | |
from duffy.database import db | |
from urlparse import urlparse | |
from functools import wraps | |
from flask import Blueprint, request, jsonify, abort, current_app | |
from duffy.models import HostSchema, Session, SessionSchema, Project |