Create an empty git repo or reinitialize an existing one
$ git init
Entity: | |
actAs: | |
Timestampable: ~ | |
Sluggable: | |
fields: [title] | |
NestedSet: ~ | |
Commentable: ~ | |
columns: | |
entity_id: | |
type: string |
<?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 { |
# 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 = [email protected] | |
[color] | |
# Enable colors in color-supporting terminals | |
ui = auto | |
[alias] | |
st = status |
Create an empty git repo or reinitialize an existing one
$ git init
# 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' |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Twitter</title> | |
<link rel="stylesheet" type="text/css" href="./css/tailwind.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
</head> |
sudo pacman -Scc <-- reply with explicit y to the first question | |
sudo pacman -Syy | |
sudo pacman -S haveged | |
sudo haveged -w 1024 | |
sudo pacman-key --init | |
sudo pacman-key --populate archlinux antergos | |
sudo pkill haveged | |
sudo pacman -S antergos-keyring | |
sudo pacman -Syu |
This cheat sheet describes my usage/implementation of virtualenv with virtualenv wrapper and the bash foo that I added with the help of many blogs to make it all tick together in fun land.
Quick Reference
$ echo $WORKON_HOME
/Users/benjamin/.virtualenvs
$ echo $PROJECT_HOME