Skip to content

Instantly share code, notes, and snippets.

[Solarized Dark]
text(bold)=839496
magenta(bold)=6c71c4
text=839496
white(bold)=fdf6e3
green=859900
red(bold)=cb4b16
green(bold)=586e75
black(bold)=073642
red=dc322f
[alias]
st = status
co = checkout
br = branch -v
cm = commit
cf = config
unstage = reset HEAD --
tree = log --graph --decorate --pretty=oneline --abbrev-commit
[core]
editor = vim
@lattespirit
lattespirit / php.sublime-build
Last active June 4, 2022 15:12
Add Options when execute build system in Sublime
{
"variants": [
{
"name": "PHP CS Fixer",
"cmd": ["${folder}/vendor/bin/php-cs-fixer", "fix", "--config=${folder}/.php-cs-fixer.php", "--allow-risky=yes", "--using-cache=no", "$file"]
},
{
"name": "PHP Interpreter",
"cmd": [
"php",
alias g='git'
alias ga='git add'
alias gaa='git add --all'
alias gapa='git add --patch'
alias gb='git branch'
alias gba='git branch -a'
alias gbda='git branch --no-color --merged | command grep -vE "^(\*|\s*(master|develop|dev)\s*$)" | command xargs -n 1 git branch -d'
alias gbl='git blame -b -w'
alias gbnm='git branch --no-merged'
alias gbr='git branch --remote'
@lattespirit
lattespirit / .minttyrc
Last active August 15, 2018 20:08
Git Bash Color Scheme in Windows
BackgroundColour=13,25,38
ForegroundColour=217,230,242
CursorColour=217,230,242
Black=0,0,0
BoldBlack=38,38,38
Red=157,84,84
BoldRed=189,132,132
Green=84,157,84
BoldGreen=132,189,132
Yellow=157,157,84
alias m:c='php artisan make:controller'
alias m:middle='php artisan make:middleware'
alias m:migration='php artisan make:migration'
alias m:provider='php artisan make:provider'
alias m:listener='php artisan make:listener'
alias m:model='php artisan make:model'
alias m:event='php artisan make:event'
alias migrate='php artisan migrate'
alias rollback='php artisan migrate:rollback'
@lattespirit
lattespirit / .homestead
Created January 12, 2017 02:19
Homestead Keyboard Shortcut
alias hs="homestead"
alias hsu="homestead up"
alias hss="homestead ssh"
alias hsup="homestead up --provision"
alias hsh="homestead halt"
alias hsr="homestead reload"
alias hsrp="homestead reload --provision"
@lattespirit
lattespirit / ConEmu.xml
Created January 20, 2017 02:40
cmder Configuration
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2017-01-20 10:38:50" build="160710">
<value name="ColorTable00" type="dword" data="004d4335"/>
<value name="ColorTable01" type="dword" data="006b60eb"/>
<value name="ColorTable02" type="dword" data="008de8c3"/>
<value name="ColorTable03" type="dword" data="0095ebf7"/>
<value name="ColorTable04" type="dword" data="00c4cb80"/>
<value name="ColorTable05" type="dword" data="009024ff"/>
@lattespirit
lattespirit / webpack.config.js
Created February 17, 2017 10:54
Webpack config for bootstrap and jQuery
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: './app/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
},
@lattespirit
lattespirit / global-find-options-in-sublime
Last active March 4, 2019 03:54
Global Find options in Sublime
-tags,-*.js,-*.css,-*.html,-*.md,-*/storages/*,-*/node_modules/*,-.phpstorm.meta.php,-_ide_helper.php,<project>