Skip to content

Instantly share code, notes, and snippets.

View kirkportas's full-sized avatar

Kirk Portas kirkportas

  • Rippling
  • New York
View GitHub Profile
@kirkportas
kirkportas / signup address error
Created January 23, 2015 14:55
Ecole demo 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.
==HEADERS==
Remote Address:10.213.3.230:8080
Request URL:http://104.130.23.90/signup/addresses
Request Method:POST
Status Code:422 Unprocessable Entity
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
#!/bin/bash
# git-branch-status
# * originally by http://github.com/jehiah
# * "s'all good!" message by http://github.com/kd35a
# * ANSI colors by http://github.com/knovoselic
# * column formatting, filters, and usage by http://github.com/bill-auger
# this script prints out pretty git branch sync status reports
@kirkportas
kirkportas / fileattach
Last active August 29, 2015 14:19
studentAttachment PUT
Request URL:https://s3.amazonaws.com/connect-nonprod.mheducation.com/connectstreaming/dev/dev2/file_attach_assignment_files/241442448/241442449/14799276/1000360489/1429038478123/PortasKirk(kirkstud)/html5_multiple_test.html?x-amz-acl=public-read&AWSAccessKeyId=AKIAJVTQNEZQ5ZGVHR6A&Expires=1429038778&Signature=ZDnwn0bf2n%2BijDicBQ3ju2q2HLA%3D
x-amz-acl:public-read
AWSAccessKeyId:AKIAJVTQNEZQ5ZGVHR6A
Expires:1429038778
Signature:ZDnwn0bf2n+ijDicBQ3ju2q2HLA=
@kirkportas
kirkportas / index.html
Last active June 29, 2016 18:44
Devblog 1 Snippets - JS Architecture- index.html
<!DOCTYPE html>
<html>
<head>
<!-- ..stuff.. -->
<!-- Jquery + Handlebars -->
<!-- Bootstrap -->
<!-- Compiled templates file -->
<!-- Home-rolled modules (core/api/tasks) -->
</head>
@kirkportas
kirkportas / 1 index.html
Created June 29, 2016 18:39
Devblog 1 - JS Architecture
<!DOCTYPE html>
<html>
<head>
<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>
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
kirkportas / G.maps.main.data.placements
Created October 29, 2021 20:46
AL - G.maps.main.data objects
[
[
265,
352,
-272,
352,
-160
],
[
993,