Skip to content

Instantly share code, notes, and snippets.

View morficus's full-sized avatar
🚀

Maurice Williams morficus

🚀
View GitHub Profile
@morficus
morficus / using-node-inspector.md
Last active August 29, 2015 14:04
Using node-inspector with the Ghost development process

Using node-inspector with the Ghost development process

What is "node inspector"

Node Inspector is a debugger interface for Node.js applications that uses the Blink Developer Tools (formerly WebKit Web Inspector).

Basically, it is an awesome tool to make debugging Node easy and (relativly) painless. You can read more about it on their official page: https://github.com/node-inspector/node-inspector

Awesome, so how do I use this with Ghost?

  • install node-inspector by running the following command: npm install -g node-inspector
@morficus
morficus / 1-style-guide-driven-development.md
Last active August 29, 2015 14:01
My notes (and thoughts) from CSSconf 2014

Style Guide Driven Devleopment

by Nicole Sullivan

Problems:

  • lots of CSS (91% unused on a standard page)
  • really difcult to work with
  • layout profiliferation (~7 different layouts that were not very different...)
  • partials in partials.... for just the sake of having partials
  • jQuery soup - custome one-off widgets everywhere
@morficus
morficus / getQueryString.js
Created August 9, 2013 04:34
A function that inspects the URL for any query parameters, an returns value-pair with them in it. Has http://underscorejs.org/ as a dependency
//this GIST requieres Underscore.js
function getQueryString()
{
var rawQueryString = '',
queryStringPairs = '',
queryStringArray = {};
rawQueryString = document.location.search;