Skip to content

Instantly share code, notes, and snippets.

View aleffert's full-sized avatar

Akiva Leffert aleffert

View GitHub Profile

Simple TacTacToe Game

Running

npm i
npm run play

Testing

npm run test

Simple TacTacToe Game

Running

npm i
npm run play

Testing

npm run test

diff --git a/imports/stripe_import/stripe_batch.py b/imports/stripe_import/stripe_batch.py
index 5e4053d..a72690e 100644
--- a/imports/stripe_import/stripe_batch.py
+++ b/imports/stripe_import/stripe_batch.py
@@ -243,6 +243,9 @@ class Transfer(object):
Loads donations into NGP prod with the donations
Grabs meta data
"""
+ if len(self.charges) == 0:
+ self.batched = True
diff --git a/packages/voter-reg/src/js/components/common/other-language-link.jsx b/packages/voter-reg/src/js/components/common/other-language-link.jsx
index dc34664e..508a1f4a 100644
--- a/packages/voter-reg/src/js/components/common/other-language-link.jsx
+++ b/packages/voter-reg/src/js/components/common/other-language-link.jsx
@@ -1,5 +1,6 @@
import React, {Component, PropTypes} from 'react';
import {nuclearComponent} from 'nuclear-js-react-addons';
+import withRouterDec from '../../component-utils/decorators/with-router-dec';
import provideContextDec from '@dnc/form-components/lib/decorators/provide-context';
// Constants
diff --git a/packages/baseline/src/voting-info/jurisdictions/ak.ts b/packages/baseline/src/voting-info/jurisdictions/ak.ts
index 66ad03ad..c23a8405 100644
--- a/packages/baseline/src/voting-info/jurisdictions/ak.ts
+++ b/packages/baseline/src/voting-info/jurisdictions/ak.ts
@@ -9,13 +9,24 @@ const info: VotingInfo = {
kind: 'state'
},
flow: {
- preferred: "external",
- externalInfo: {
diff --git a/ladybird/lbj_user/migrations/0056_auto_20180730_2225.py b/ladybird/lbj_user/migrations/0056_auto_20180730_2225.py
new file mode 100644
index 00000000..fc92fdb3
--- /dev/null
+++ b/ladybird/lbj_user/migrations/0056_auto_20180730_2225.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.7 on 2018-07-30 22:25
+from __future__ import unicode_literals
+
diff --git a/packages/baseline/src/voting-info/voting-info.ts b/packages/baseline/src/voting-info/voting-info.ts
index 28403c8e..d1ca4a9e 100644
--- a/packages/baseline/src/voting-info/voting-info.ts
+++ b/packages/baseline/src/voting-info/voting-info.ts
@@ -1,5 +1,6 @@
import { Option } from '../utils/option';
import { Necessity } from '../utils/necessity';
+import { Locale } from '../utils/localized-string'
import { LocalizedString } from '../utils/localized-string';
import { Jurisdiction } from '../data/jurisdictions';
diff --git a/packages/baseline/src/voting-info/voting-info.ts b/packages/baseline/src/voting-info/voting-info.ts
index 28403c8e..d1ca4a9e 100644
--- a/packages/baseline/src/voting-info/voting-info.ts
+++ b/packages/baseline/src/voting-info/voting-info.ts
@@ -1,5 +1,6 @@
import { Option } from '../utils/option';
import { Necessity } from '../utils/necessity';
+import { Locale } from '../utils/localized-string'
import { LocalizedString } from '../utils/localized-string';
import { Jurisdiction } from '../data/jurisdictions';
diff --git a/packages/baseline/src/voting-info/voting-info.ts b/packages/baseline/src/voting-info/voting-info.ts
index 28403c8e..d1ca4a9e 100644
--- a/packages/baseline/src/voting-info/voting-info.ts
+++ b/packages/baseline/src/voting-info/voting-info.ts
@@ -1,5 +1,6 @@
import { Option } from '../utils/option';
import { Necessity } from '../utils/necessity';
+import { Locale } from '../utils/localized-string'
import { LocalizedString } from '../utils/localized-string';
import { Jurisdiction } from '../data/jurisdictions';
create or replace view analytics_al.person_2014
select
*
from analytics_file_2014.person
where
state_code = 'AL';
grant select on analytics_al.person_2014 to analytics_AL_reader;