Skip to content

Instantly share code, notes, and snippets.

View jarod51's full-sized avatar

Arnaud Lecat jarod51

View GitHub Profile
@jarod51
jarod51 / .bashrc
Created January 9, 2017 12:27 — forked from jednano/.zshrc
# copy into ~/.profile or ~/.bashrc
#alias ls='ls -F --color --show-control-chars'
alias ls='ls -F --show-control-chars'
alias ll='ls -l'
# Windows aliases
alias cls='clear'
alias dir='ls -F --color=always'
alias del='rm'
@jarod51
jarod51 / gitcom.md
Created January 9, 2017 12:27 — forked from jednano/gitcom.md
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Create an empty git repo or reinitialize an existing one

$ git init
@jarod51
jarod51 / gitconfig.ini
Created December 13, 2016 15:59 — forked from tdd/gitconfig.ini
Nice, useful global Git configuration
# Put this in your ~/.gitconfig or ~/.config/git/config
# Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName>
[user]
name = Your Full Name
email = your@email.tld
[color]
# Enable colors in color-supporting terminals
ui = auto
[alias]
st = status
<?php
use Carbon\Carbon as Carbon;
use Faker\Factory as Faker;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
/**
* Class BrandTableSeeder
*/
class BrandTableSeeder extends Seeder {
Entity:
actAs:
Timestampable: ~
Sluggable:
fields: [title]
NestedSet: ~
Commentable: ~
columns:
entity_id:
type: string