Skip to content

Instantly share code, notes, and snippets.

Jeremy Attali jtheoof

View GitHub Profile
View Google Fonts Angular Architecture.md

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 Mar 13, 2013
SimCity 2013 Javascript UI Architecture
View SimCity-2013-Javascript-UI-Architecture.md

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 Jun 6, 2012
pre-commit SVN hook to prevent a commit if Jenkins is building or build is broken
View gist:2880413
#!/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)
You can’t perform that action at this time.