Skip to content

Instantly share code, notes, and snippets.

View CristianLlanos's full-sized avatar
😀
What should we learn today?

Cristian Llanos CristianLlanos

😀
What should we learn today?
View GitHub Profile
@CristianLlanos
CristianLlanos / .bash_profile
Created September 18, 2015 16:19 — forked from JeffreyWay/.bash_profile
Prettier git logs
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev"
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"caret_extra_bottom": 1,
"caret_extra_top": 1,
"caret_extra_width": 1,
"color_scheme": "Packages/Colorsublime - Themes/peacocks-in-space.tmTheme",
"font_size": 10.5,
"highlight_line": false,
"ignored_packages":
@CristianLlanos
CristianLlanos / Keymaps.sublime-keymap
Created October 13, 2015 14:51
My sublime keymaps
[
{ "keys": ["ctrl+alt+n"], "command": "new_snippet" },
{ "keys": ["n", "n"], "command": "advanced_new_file",
"context": [{ "key": "setting.command_mode", "operand": true }] },
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder" },
{ "keys": ["ctrl+b"], "command": "goto_definition_scope" },
{ "keys": ["alt+enter"], "command": "find_use" },
{ "keys": ["f", "f", "e"], "command": "expand_fqcn" },
{ "keys": ["j", "j"], "command": "exit_insert_mode",
"context":
@CristianLlanos
CristianLlanos / uri.js
Created October 15, 2015 19:05 — forked from jlong/uri.js
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
{
"folders":
[
{
"folder_exclude_patterns":
[
".git",
".idea"
],
"file_exclude_patterns": [],
@ECHO OFF
SETLOCAL
::
:: Sets up Laravel elixir starter project
::
:: Assumed you have already installed:
:: - NodeJS
:: - Python 2.7
:: - Git
::
@CristianLlanos
CristianLlanos / .gitconfig
Last active January 14, 2016 20:25
My git config file
[user]
name = Cristian Llanos
email = cristian@cinepapaya.com
[core]
editor = /usr/bin/vim
excludesfile = /home/cristian/.gitignore_global
[alias]
# Aliases
aliases = "!git config --list | grep alias | cut -c 7-"
@CristianLlanos
CristianLlanos / .vimrc
Last active January 22, 2016 22:19 — forked from JeffreyWay/.vimrc
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15
@CristianLlanos
CristianLlanos / Install Vim + GVim.md
Last active March 20, 2016 08:54
Install Vim + GVim

Install Vim + Gvim

$ git clone https://github.com/vim/vim.git
$ cd vim/src
$ sudo apt-get build-dep vim

# Use this command if you've compiled vim before
$ make distclean
$ make clean