I hereby claim:
- I am joshma on github.
- I am joshma (https://keybase.io/joshma) on keybase.
- I have a public key ASAabcGbH5TL5q-TImRtPTd1ATuXo1T_KTWcBiP3zaZXQgo
To claim this, I am signing this object:
import os | |
import json | |
from sendgrid import SendGridAPIClient | |
from sendgrid.helpers.mail import Mail | |
import requests | |
import time | |
url = "https://home.color.com/api/v1/sample_collection_appointments/availability?claim_token=7a4da7f7181ef9d06ef87df9872731e67c39&collection_site=Embarcadero" | |
# Go to https://home.color.com/covid/sign-up/start?partner=sfdph | |
# Complete it once, and then look at the XHR sent to the URL above |
I hereby claim:
To claim this, I am signing this object:
diff --git i/example.js w/example.js | |
index ba2427a..2edc85e 100644 | |
--- i/example.js | |
+++ w/example.js | |
@@ -11,10 +11,13 @@ const TodoItem = React.createClass({ | |
id: React.PropTypes.number.isRequired, | |
}).isRequired, | |
}, | |
+ deleteItem() { | |
+ this.props.deleteItem(this.props.item.id); |
/* eslint-disable no-console */ | |
import _ from 'underscore'; | |
/* | |
Drop this mixin into a component that wastes time according to Perf.getWastedTime() to find | |
out what state/props should be preserved. Once it says "Update avoidable!" for {state, props}, | |
you should be able to drop in React.addons.PureRenderMixin | |
React.createClass { | |
mixins: [WhyDidYouUpdateMixin] |
Hi there, | |
We've been noticing errors coming from chartbeat.js: "Object #<SVGAnimatedString> has no method 'replace'" - I took a moment to diagnose the issue and found the error to arise when you click on an SVG node with an HREF attribute. It looks like there's a click handler for anchor tags that isn't aborting when the SVG node is clicked: | |
r.W = function(a) { | |
var b, c; | |
if (a = a || window.event) { | |
c = a.target || a.srcElement; | |
if (c.tagName !== "A") | |
if (c.parentNode) |
I hereby claim:
To claim this, I am signing this object:
from flask import Flask | |
from flask.ext.sqlalchemy import SQLAlchemy | |
from flask.ext.testing import TestCase | |
app = Flask(__name__) | |
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/test.db' | |
db = SQLAlchemy(app) | |
@app.route('/') | |
def index(): | |
u = db.session.query(User).first() |
(function () { | |
var g = void 0, | |
h = !0, | |
i = null, | |
l = !1, | |
aa = encodeURIComponent, | |
ba = Infinity, | |
ca = setTimeout, | |
da = isNaN, | |
m = Math, |
var a = 0; | |
(function() { | |
var f = function() { | |
console.log(a); | |
}; | |
f(); | |
})(); // 0 | |
var b = 0; | |
(function() { |