Skip to content

Instantly share code, notes, and snippets.

View ChristianBraybrooke's full-sized avatar

Christian Braybrooke ChristianBraybrooke

View GitHub Profile
brew install imagemagick
brew install pkg-config
pecl install imagick
cd ~
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
tar vxf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
sudo cp wkhtmltox/bin/wk* /usr/local/bin/
// Install via NPM
npm i -D eslint eslint-plugin-vue babel-eslint
// Init eslint
./node_modules/.bin/eslint --init
// Add below to ".eslintrc.json" file in project route
{
"extends": [
// Create new ssh key
ssh-keygen -t rsa -b 4906
// Add to keychain and load
ssh-add -K ~/.ssh/id_rsa
// Variables
//
// Variables should follow the `$component-state-property-size` formula for
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
//
// Color system
//
@ChristianBraybrooke
ChristianBraybrooke / TCO Schema.skema
Created October 26, 2017 10:15
The db schema for TCO shop
[{"name":"users","color":"Red","position":{"x":101,"y":101},"increment":true,"timestamp":true,"softdelete":true,"column":[{"name":"first_name","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":true,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c44","order":0}],"relation":[],"seeding":[]}]