Skip to content

Instantly share code, notes, and snippets.

View oscargicast's full-sized avatar
๐Ÿ
To the infinity and beyond

Oscar oscargicast

๐Ÿ
To the infinity and beyond
View GitHub Profile
@oscargicast
oscargicast / back_vimrc.sh
Created November 17, 2014 18:09
back_vimrc
"Pathogen
execute pathogen#infect()
syntax on
filetype plugin indent on
filetype plugin on
set mouse=a
" Quicker window movement
map <C-J> <C-W>j
# List of plugins
# Supports `github_username/repo` or full git URLs
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-online-status \
tmux-plugins/tmux-battery \
'
source "/usr/local/lib/python2.7/dist-packages/powerline/bindings/tmux/powerline.conf"

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
# zsh
EMOJI=(๐Ÿ’ฉ ๐Ÿฆ ๐Ÿš€ ๐Ÿž ๐ŸŽจ ๐Ÿ• ๐Ÿญ ๐Ÿ‘ฝ โ˜•๏ธ ๐Ÿ”ฌ ๐Ÿ’€ ๐Ÿท ๐Ÿผ ๐Ÿถ ๐Ÿธ ๐Ÿง ๐Ÿณ ๐Ÿ” ๐Ÿฃ ๐Ÿป ๐Ÿ”ฎ ๐Ÿ’ฐ ๐Ÿ’Ž ๐Ÿ’พ ๐Ÿ’œ ๐Ÿช ๐ŸŒž ๐ŸŒ ๐ŸŒ ๐Ÿ“ ๐Ÿ„ )
function random_emoji {
echo -n "$EMOJI[$RANDOM%$#EMOJI+1]"
}
PROMPT="$(random_emoji) "
RPROMPT='%c'
@oscargicast
oscargicast / .siegerc
Last active August 29, 2015 14:22 — forked from stansmet/.siegerc
# Updated by Siege 2.72, July-07-2012
# Copyright 2000-2007 by Jeffrey Fulmer, et al.
#
# Siege configuration file -- edit as necessary
# For more information about configuring and running
# this program, visit: http://www.joedog.org/
#
# Variable declarations. You can set variables here
# for use in the directives below. Example:
// These two need to be declared outside the try/catch
// so that they can be closed in the finally block.
HttpURLConnection urlConnection = null;
BufferedReader reader = null;
// Will contain the raw JSON response as a string.
String forecastJsonStr = null;
try {
// Construct the URL for the OpenWeatherMap query

Keybase proof

I hereby claim:

  • I am oskargicast on github.
  • I am oskargicast (https://keybase.io/oskargicast) on keybase.
  • I have a public key ASBIZAcxwjTg2vlpIVqdROkZbw6vzGtdeuLM08Gvnr8wnQo

To claim this, I am signing this object: