Skip to content

Instantly share code, notes, and snippets.

View captbaritone's full-sized avatar
💭
-=[ Dorkin' Out ]=-

Jordan Eldredge captbaritone

💭
-=[ Dorkin' Out ]=-
View GitHub Profile

Project Poly UI Components

In order to make our theme code more reusable and maintainable, we have a standardized component format. It consists of both shared libraries and agreed-upon conventions which help ensure that components are easy to use, easy to share, and easy to implement.

Our components, at their core, are simply React components with an accompanying .scss file.

/* THIS IS A GIANT HACK... SORRY! */
// Create a new scope so we don't clobber other global variables
(function() {
// List of charities and their shipping address fields
var charities = {
noCharity: {firstName: '', lastName: '', companyName: '', phoneNumber: '', address1: '', address2: '', city: '', country: 'United States', state: 'Choose a State', zip: ''},
sunshine: {firstName: 'DONATION', lastName: 'DONATION', companyName: "Sunshine Acres Children's Home", phoneNumber: '9998887777', address1: "Sunshine Acres Children's Home", address2: '3405 N. Higley Rd.', city: 'Mesa', country: 'United States', state: 'Arizona', zip: '85215'},
layout title date summary
post
Podcasts I like
2016-07-14 15:36:46 -0700
A summary of the podcasts to which I subscribe.

These are the podcasts to which I subscribe. They are listed in the order that I would listen to them if I had an unlistened to episode of each:

Using Vim

Objective

To show the potential power of Vim, and thereby inspire you to invest some time in improving your Vim FU.

Topics

/* THIS IS A GIANT HACK... SORRY! */
// Create a new scope so we don't clobber other global variables
(function() {
// List of charities and their shipping address fields
var charities = {
noCharity: {firstName: '', lastName: '', address1: ''},
gates: {firstName: 'Gates Foundation', lastName: 'Foundation', address1: '555 Foo Lane'},
aclu: {firstName: 'AC', lastName: 'LU', address1: '555 Foo Lane'}
// ...
/**
* @fileoverview Tests for ast utils.
* @author Gyandeep Singh
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
import serial,sys,string,time
#DR HEX protocol with pyserial
RD = 'RW'
WR = 'WW'
TERM = '\r'
IDENTITY = 'II'
REVISION = 'IR'
addsize = 500
startadd = 2048
endadd = startadd + addsize
<?php
function 💩() {
print "poop";
}
💩();
var src_url="https://spshared.5min.com/Scripts/PlayerSeed.js?playList=517858080&height=381&width=570&sid=577&videoGroupID=148829&relatedNumOfResults=100&relatedMode=2&relatedBottomHeight=60&companionPos=&hasCompanion=false&autoStart=false&colorPallet=%23CC0000&vcdBgColor=%2323191919&shuffle=0&continuous=true";
src_url += "&onVideoDataLoaded=HPTrack.Vid.DL&onTimeUpdate=HPTrack.Vid.TC";
if (typeof(commercial_video) == "object") {
src_url += "&siteSection="+commercial_video.site_and_category;
if (commercial_video.package) {
src_url += "&sponsorship="+commercial_video.package;
}
};
document.write('<scr' + 'ipt type="text/java
from numpy.linalg import svd
from numpy import array
CLUSTERS = 2
character_index_lookup = {
0: "Papageno",
1: "Figaro",
2: "Mimi",
3: "Rudolfo",