Composer Under the Hood:
This file contains hidden or 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
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev" |
This file contains hidden or 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
var gulp = require('gulp'); | |
var _ = require('underscore'); | |
var Elixir = require('laravel-elixir'); | |
var $ = Elixir.Plugins; | |
var config = Elixir.config; | |
var Task = Elixir.Task; | |
/* | |
|---------------------------------------------------------------- |
This file contains hidden or 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
Show hidden characters
{ | |
"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": |
This file contains hidden or 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
[ | |
{ "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": |
This file contains hidden or 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
[user] | |
name = Cristian Llanos | |
email = [email protected] | |
[core] | |
editor = /usr/bin/vim | |
excludesfile = /home/cristian/.gitignore_global | |
[alias] | |
# Aliases | |
aliases = "!git config --list | grep alias | cut -c 7-" | |
This file contains hidden or 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
# Undo commit (it does not delete your changes) | |
git reset --soft HEAD~1 | |
# Undo add (it does not delete your changes, only unstages them -> red color) | |
git reset --mixed | |
# Save changes to a temporary commit (takes out your changes for a while) | |
git stash | |
# change branch | |
git checkout <branch_name> | |
# restore changes on a branch (fetches your changes) | |
git stash pop |
This file contains hidden or 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
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" |
This file contains hidden or 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
{ | |
"folders": | |
[ | |
{ | |
"folder_exclude_patterns": | |
[ | |
".git", | |
".idea" | |
], | |
"file_exclude_patterns": [], |
This file contains hidden or 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
@ECHO OFF | |
SETLOCAL | |
:: | |
:: Sets up Laravel elixir starter project | |
:: | |
:: Assumed you have already installed: | |
:: - NodeJS | |
:: - Python 2.7 | |
:: - Git | |
:: |
OlderNewer