This file contains 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
<?php | |
namespace Valet\Drivers\Custom; | |
use Valet\Drivers\ValetDriver; | |
class CustomWordPressValetDriver extends ValetDriver | |
{ | |
/** | |
* Custom suffix for site path. |
This file contains 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
######### | |
# Colours | |
######### | |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFha' | |
######### |
This file contains 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
#!/bin/bash -e | |
wpuser='cool_administrator' | |
password='bada$$pa$$word' | |
admin-email='you@you.biz | |
clear | |
echo "=================================================================" | |
echo "Dan's Badass Headless WordPress Site Generator v1.0.0" |
This file contains 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
{ | |
"whitesnakes": [{ | |
"snakeline": "I don't go looking for trouble" | |
}, | |
{ | |
"snakeline": "It's always coming my way" | |
}, | |
{ | |
"snakeline": "But I've been looking for you" | |
}, |
This file contains 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
{ | |
"quotations": [ | |
{ | |
"attribution": "Bhāravi.", | |
"quote": "The enemies which rise within the body, hard to be overcome—thy evil passions—should manfully be fought: he who conquers these is equal to the conquerors of worlds." | |
}, | |
{ | |
"attribution": "Firdausī.", | |
"quote": "If passion gaineth the mastery over reason, the wise will not count thee amongst men." | |
}, |
This file contains 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
######### | |
# Aliases | |
######### | |
#saves wear on / key | |
alias www='cd /var/www' | |
#ls show hidden files. in colour | |
export LS_OPTIONS='--color=auto -a' | |
eval "`dircolors`" |
This file contains 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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
sass: { | |
dev: { | |
files: { | |
'scss/global.css': 'scss/src/global.scss' | |
}, |
This file contains 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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
imagemin: { | |
dynamic: { | |
files: [{ | |
expand: true, | |
cwd: 'img/raw', |
This file contains 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
(function() { | |
/* == GLOBAL DECLERATIONS == */ | |
TouchMouseEvent = { | |
DOWN: "touchmousedown", | |
UP: "touchmouseup", | |
MOVE: "touchmousemove" | |
} | |
/* == EVENT LISTENERS == */ |