Skip to content

Instantly share code, notes, and snippets.

Cristobal Avila xtbl

Block or report user

Report or block xtbl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xtbl
xtbl / .tmux.conf
Created Oct 30, 2015 — forked from snuggs/.tmux.conf
TMUX configuration file
View .tmux.conf
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
#
# COPY AND PASTE
@xtbl
xtbl / vim_useful_stuff
Last active Aug 29, 2015
vim useful stuff
View vim_useful_stuff
http://benfrain.com/learning-vim-front-end-coding-month/
http://dougblack.io/words/a-good-vimrc.html
http://vimawesome.com/
http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim
Vim:
find a word: press escape and then /word
find the next word: press n or /
find the prev work: press ?
@xtbl
xtbl / .vimrc
Created Jul 23, 2015
Basic vimrc file
View .vimrc
filetype on
syntax on
colorscheme mustang
set number
set tabstop=4 softtabstop=0 noexpandtab shiftwidth=4
View Git Alias.gitconfig
[user]
name = abc
email = abc
[alias]
co = checkout
fum = !git fetch upstream && git merge upstream/dev
addcom = !git add -A && git commit -m
st = status
codomain = !git checkout src/app/components/common/constants/domains/domains.js
removeallbranches = git branch | grep -v "master" | xargs git branch -D
@xtbl
xtbl / example_testing.js
Last active Aug 29, 2015
example_testing_jasmine
View example_testing.js
var JasmineTester = function() {};
JasmineTester.prototype = {
constructor: JasmineTester,
// Returns true if the given string has more vowel characters (a,e,i,o,u) than consonants, ignoring whitespace
isVowely: function(str){
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

View python_snippets.py
# ExampleSnippets.txt
----------------------------------------------------------
*********************
CHAPTER 2:
*********************
--- HelloWorld ---
@xtbl
xtbl / bower.json
Created Apr 3, 2014
AngularJS Boilerplate updated dependencies April 2014
View bower.json
{
"name": "fsog",
"version": "0.0.1",
"devDependencies": {
"angular": "~1.2.15",
"angular-mocks": "~1.0.7",
"bootstrap": "~3.0.3",
"angular-bootstrap": "~0.10.0",
"angular-ui-router": "~0.0.1",
"angular-ui-utils": "~0.0.3",
View REST and JSON best practices.html
<h3 class='post-title entry-title'>
<a href='http://www.nielskrijger.com/2013/08/rest-and-json-api-guidelines-and-best.html'>REST and JSON best practices</a>
</h3>
<div class='post-header'>
<div class='post-header-line-1'>
</div>
</div>
<div class='post-body entry-content'>
You can’t perform that action at this time.