sudo chown -R $USER /path/to/node_modules/folder
sudo chmod -R 777 /path/to/write
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
{ | |
"name": "PackageName", | |
"version": "0.1.0", | |
"devDependencies": { | |
"grunt": "latest", | |
"grunt-compass-multiple": "~0.2.1", | |
"grunt-contrib-watch": "~0.5.3", | |
"grunt-contrib-uglify": "latest", | |
"grunt-contrib-compass": "latest" | |
} |
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
/*jslint node: true*/ | |
'use strict'; | |
module.exports = function(grunt){ | |
grunt.initConfig({ | |
compass: { | |
global: { | |
options: { |
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
// Variables | |
// -------------------------- | |
$FontAwesomePath: "../fonts/font-awesome" !default; | |
$FontAwesomeVersion: "3.2.1" !default; | |
/* FONT PATH | |
* -------------------------- */ | |
@font-face { |
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
// credit to: https://coderwall.com/p/_7wmcg | |
$base-font-size: 16; | |
@mixin rem-font($pixels) { | |
font-size: $pixels + px; | |
font-size: ( $pixels / $base-font-size ) + rem; | |
} |
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
@mixin clearfix { | |
zoom: 1; | |
&:before, &:after { content: ""; display: table; } | |
&:after { clear: both; } | |
} | |
$row-width: 1140px; | |
$column-gutter: 10px; | |
$total-columns: 12; |
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
<snippet> | |
<content><![CDATA[ | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
]]></content> | |
<tabTrigger>jquery</tabTrigger> | |
</snippet> |
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
<VirtualHost *:80> | |
DocumentRoot "/Users/alexshive/Sites/wordpress/" | |
ServerName wordpress | |
ServerAlias wordpress | |
<Directory "/Users/alexshive/Sites/wordpress/"> | |
Options FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> |
Edit hosts
$ sudo nano /etc/hosts
Edit virtual hosts
$ sudo nano /etc/apache2/extra/httpd-vhosts.conf
Restart Apache
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
{ | |
"word_wrap": "true" | |
} |