This file contains hidden or 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 | |
// Records | |
$Maria->user()->insert(['name'=>'Bobby']); | |
$Maria->user(1)->delete(); | |
$Maria->user(1)->read(); | |
$Maria->user(1)->update('name', 'bobby'); | |
This file contains hidden or 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
<div class="color"> | |
<div class="___blue-grey_light4"></div> | |
<div class="___blue-grey_light3"></div> | |
<div class="___blue-grey_light2"></div> | |
<div class="___blue-grey_light1"></div> | |
<div class="___blue-grey"></div> | |
<div class="___blue-grey_dark1"></div> | |
<div class="___blue-grey_dark2"></div> | |
<div class="___blue-grey_dark3"></div> | |
<div class="___blue-grey_dark4"></div> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Chris Kempson (http://chriskempson.com)</string> | |
<key>name</key> | |
<string>Base16 Ocean Dark</string> | |
<key>semanticClass</key> | |
<string>base16.ocean.dark</string> |
This file contains hidden or 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
#z::Run www.autohotkey.com | |
; Swap CMD and CTRL around | |
LWin::Ctrl | |
; Select start | |
^Left:: | |
Send, {Home} | |
return |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
Make a mixin instead of nesting |
This file contains hidden or 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 | |
define('ROOT_DIR', __DIR__ . '/../'); | |
define('VENDOR_DIR', ROOT_DIR. 'vendor/'); | |
define('PUBLIC_DIR', ROOT_DIR . 'public/'); | |
define('ROUTES_DIR', ROOT_DIR . 'routes/'); | |
define('VIEW_DIR', ROOT_DIR . 'views/'); | |
define('CACHE_DIR', ROOT_DIR . 'cache/'); | |
// Include libs | |
require( VENDOR_DIR . 'autoloader.php' ); |
This file contains hidden or 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
# | |
# Any .dev folder in ~/Sites | |
# | |
<VirtualHost *:80> | |
VirtualDocumentRoot "/Users/phunky/Sites/%1.0.dev/public" | |
UseCanonicalName Off | |
ServerAlias %1.0.dev.*.xip.io | |
<Directory "/Users/phunky/Sites"> | |
Options FollowSymLinks |
This file contains hidden or 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
<div class="cta-btn blue">Button</div> | |
<div class="cta-btn green">Button</div> | |
<div class="cta-btn red">Button</div> |
This file contains hidden or 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
<div class="fg"> | |
<div class="fg-full"> | |
Full | |
</div> | |
<div class="fg-half"> | |
Half | |
</div> | |
<div class="fg-half"> |