Skip to content

Instantly share code, notes, and snippets.

View marshall007's full-sized avatar

Marshall Cottrell marshall007

View GitHub Profile
@marshall007
marshall007 / .block
Created August 12, 2016 06:15 — forked from rdpoor/.block
Modifying a Force Layout (with comments)
license: gpl-3.0
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
</body>
WILL_REJECT = true
a = ->
foo = q.defer()
if WILL_REJECT
foo.reject()
else
foo.resolve()
return foo.promise
@marshall007
marshall007 / config.json
Created October 18, 2012 15:53 — forked from michaelcpuckett/simplest-express-setup-ever.js
Use any folder on localhost:3000 (for development)
{
"watch":
{ "extensions": ["html", "htm", "js", "css", "less", "json"]
, "exclude": ["node_modules/", ".git/"] }
, "chrome":
{ "debugging_port": 9222
, "app_path": "/Applications/Google\\ Chrome.app" }
}

Red Kap Out of Scope Updates

Static File Updates

  • Updated JS on Google Drive
  • Updated CSS on Google Drive
  • Updated templates.htm on Google Drive

PDP Innovation Switch

@marshall007
marshall007 / hack.sh
Last active April 19, 2024 05:27 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@marshall007
marshall007 / app.js
Created August 29, 2011 23:29 — forked from davemo/app.js
A way to add declarative bindings using jQuery and a simple module pattern.
// Given a simplified module pattern like so:
(function(APP, $, _) {
APP.MyWidget = function(opts) {
var self = {};
var defaults = {
// an array of contexts and declarative event bindings
bindings : [
{