Skip to content

Instantly share code, notes, and snippets.

View rjmacarthy's full-sized avatar
🐁
The Tetris effect

rj rjmacarthy

🐁
The Tetris effect
  • The Wilderness
  • 10:10 (UTC +01:00)
View GitHub Profile
@rjmacarthy
rjmacarthy / bourbonGrunt
Last active August 29, 2015 14:11
Grunt SASS
var path = require('path');
module.exports = function(grunt) {
grunt.initConfig({
sass: {
dist: {
options: {
includePaths: require('node-refills').includePaths
},
files: {
@rjmacarthy
rjmacarthy / Grunt file SASS
Created December 15, 2014 12:58
Grunt File SASS
module.exports = function(grunt) {
grunt.initConfig({
sass: {
dist: {
options: {
includePaths: require('node-bourbon').includePaths,
includePaths: require('node-neat').includePaths
},
files: {
'public/css/style.css': 'public/scss/style.scss'
@rjmacarthy
rjmacarthy / expressgeneratorstart
Last active August 31, 2015 13:08
Start express generator
Windows
-------
DEBUG=appname:* npm start
Linux
-------
Terminal 1
node-inspector
@rjmacarthy
rjmacarthy / nginxconfig
Created December 4, 2014 09:10
Node.js Nginx Configuration
upstream app_website {
server 127.0.0.1:3000; // Port your node app is running on
}
# the nginx server instance
server {
listen 80;
server_name website.com;
return 301 http://www.website.com;
}
@rjmacarthy
rjmacarthy / Concat and Minify Grunt
Last active August 29, 2015 14:09
Grunt concatination and minification helpers...
/******
Concatinate css and js
*******/
concat: {
js: {
src: 'src/js/*.js',
dest: 'dest/js/concat.js'
},
css: {