Skip to content

kgates-github/code_snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Snippets

SQL: OFA Data Validation Code:

SQL for Vertica used to validate data from the 12 Nevada county clerks offices for the Obama campaign.

src/nv_county_clerks_snapshots.sql

JavaScript: Pascal's Triangles:

This is some code I wrote to check out Jasmine, the testing framework for JavaScript. The code creates two versions of Pascal's Triangles:

      1
     1 1
    1 2 1
   1 3 3 1
  1 4 6 4 1

Requires node.js to run: http://nodejs.org/download/

src/PascalsTriangles.js

JavaScript: Code for the Obama Campaign:

I wrote about 40-50% of this. We had to make a lot of changes at the last second to please campaign headquarters. It's not the prettiest code I've seen, but it got through a rigorous testing program, and we shipped 4 weeks before the election.

src/OFA_main.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published