- Swap out box name: ruby | php | wordpress
- Edit IP address, will auto-correct port usage
- Modify synced_folder if not current dir ('./').
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
Node/NPM: | |
1. Go to http://nodejs.org/ and download installer. This will give you node executable as well as NPM (Node Package Manager). | |
2. Run `node -v` and `npm -v` to install installation was successful | |
Grunt: | |
1. Run `npm install -g grunt-cli` | |
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
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.7) | |
// ---- | |
/* | |
* Typekit Font Weights | |
* | |
* 100 = thin | |
* 200 = extra-light |
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: { | |
dist: { | |
options: { | |
style: 'compressed' | |
}, | |
files: { |
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
/** | |
* Determine if the current user has the relevant permissions | |
* | |
* @param $post_id | |
* @return bool | |
*/ | |
private function canSaveData( $post_id ) { | |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) |
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
/* | |
* sarcasm | |
* https://github.com/stayclassytally/sarcasm | |
* | |
* Copyright (c) 2013 Bryan Paronto | |
* Licensed under the MIT license. | |
*/ | |
(function($) { |
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
/** | |
* Dashicons SCSS Mixin for Custom Post Type Icons in WordPress 3.8+ | |
* | |
* 1. In your CPT register_post_type function, set " 'menu_icon' => '', " | |
* 2. This will make the class for your admin icon .menu-icon-{slug for Custom Post Type name} | |
* 3. Load a compiled scss stylesheet at wp_head: | |
* | |
* function add_menu_icons_styles(){ | |
* wp_enqueue_style( 'screen', get_template_directory_uri() . '/css/dashicons.css', array(), '0.1.0', 'all' ); | |
* } |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- <link rel="stylesheet" href="css/screen.css"> --> |
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
/** | |
* The pseudo-element 'content' property doesnt accept normal (») style | |
* HTML entities. These variables below easy the pain of looking up the HEX codes... | |
* | |
* Referenced from http://www.danshort.com/HTMLentities/ | |
* | |
* TODO: Add all the other entities? Worth it? Some day? Maybe? | |
*/ | |
// Punctuation |
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
Show hidden characters
{ | |
"auto_indent": true, | |
"caret_style": "smooth", | |
"color_scheme": "Packages/RailsCasts Colour Scheme/RailsCastsColorScheme.tmTheme", | |
"detect_indentation": true, | |
"fade_fold_buttons": true, | |
"fold_buttons": true, | |
"font_face": "Monaco", | |
"font_size": 15.0, | |
"gutter": true, |
OlderNewer