Skip to content

Instantly share code, notes, and snippets.


Kirk Portas kirkportas

View GitHub Profile
View core.js
DEBUG=true; // Global Debug Var
// This could be "var DEMO_APP =", using window.DEMO_APP implies that other files will join to this window variable.
// This DEMO_APP var will contain the entire JS application.
window.DEMO_APP = {
// Simple router of page names & Template file locations
// This lets us refer to a template with an easy-to-use name like 'landing'
pageRouter: { 'landing': 'www/templates/landing.hbs' },
init: function() {
kirkportas / 1 index.html
Created Jun 29, 2016
Devblog 1 - JS Architecture
View 1 index.html
<!DOCTYPE html>
<title>Kirk <3 JS</title>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="css/index.css"/>
<!-- Jquery + Handlebars -->
<script type="text/javascript" src="lib/jquery-2.2.4.min.js"></script>
kirkportas / index.html
Last active Jun 29, 2016
Devblog 1 Snippets - JS Architecture- index.html
View index.html
<!DOCTYPE html>
<!-- ..stuff.. -->
<!-- Jquery + Handlebars -->
<!-- Bootstrap -->
<!-- Compiled templates file -->
<!-- Home-rolled modules (core/api/tasks) -->
kirkportas / fileattach
Last active Aug 29, 2015
studentAttachment PUT
View fileattach
Request URL:
View git-branch-status
# git-branch-status
# * originally by
# * "s'all good!" message by
# * ANSI colors by
# * column formatting, filters, and usage by
# this script prints out pretty git branch sync status reports
View signup address error
During Signup, after entering an Address and clicking 'Continue', a 422 error is thrown. The network POST is below.
The session is opened though - so a new browser tab will be logged in.
Remote Address:
Request URL:
Request Method:POST
Status Code:422 Unprocessable Entity
Request Headersview source
You can’t perform that action at this time.