Skip to content

Instantly share code, notes, and snippets.

View jtheoof's full-sized avatar

Jeremy Attali jtheoof

View GitHub Profile

Google Fonts Angular Architecture

After a quick investigation, it looks that is no component use, only directives with mixes of two way bindings (=) and one way bindings (<).

module: googleFonts

Services

  • appService
@jtheoof
jtheoof / SimCity-2013-Javascript-UI-Architecture.md
Created March 13, 2013 14:19
SimCity 2013 Javascript UI Architecture

Intro

All of these functions are attached to their respective object prototype.

BootstrapUIHandler

HandleGameEvent: function(a) { ... }
Init: function() { ... }
InitGlobalUI: function() { ... }
@jtheoof
jtheoof / gist:2880413
Created June 6, 2012 07:23
pre-commit SVN hook to prevent a commit if Jenkins is building or build is broken
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the path to this repository)