##Preview
Foursquare Widget for Dashing displays current checkins, total checkins and images of people checked in at a Foursquare venue.
Verifying that +parthi is my openname (Bitcoin username). https://onename.io/parthi |
### Keybase proof | |
I hereby claim: | |
* I am parthibanloganathan on github. | |
* I am parthi (https://keybase.io/parthi) on keybase. | |
* I have a public key whose fingerprint is D7E8 05D8 AB1A E8C8 0A86 2556 9F16 24FF D061 DABB | |
To claim this, I am signing this object: |
##Preview
Foursquare Widget for Dashing displays current checkins, total checkins and images of people checked in at a Foursquare venue.
##Preview
Subway Info is a Dashing widget which displays information on trains in New York City. Information includes train line, direction, station and arrival time. You can customize it to include any combination of lines and stations. This may also be used in other cities as well if you have the appropriate GTFS files.
import mongoose from "mongoose"; | |
const Schema = mongoose.Schema; | |
const userSchema = new mongoose.Schema({ | |
email: { | |
type: String, | |
unique: true, | |
required: true | |
}, | |
firebaseUserId: { |
async function getUserFromFirebaseId(firebaseUserId) { | |
let user = await User.findOne({ firebaseUserId: firebaseUserId }); | |
if (user && user.adminControls.isAdmin) { | |
let spoofedUser = await User.findById( | |
user.adminControls.spoofUserId | |
); | |
if (spoofedUser) { | |
return spoofedUser; |
import * as admin from "firebase-admin"; | |
import User from "../models/user"; | |
import express from "express"; | |
var router = express.Router(); | |
... | |
router.post( | |
"/getuser", | |
[], |
class LetterdropProxy(HttpProxy): | |
base_url = 'https://{domain}.letterdrop.com' | |
verify_ssl = True | |
proxy_middleware = [ | |
'djproxy.proxy_middleware.AddXFF', | |
'djproxy.proxy_middleware.AddXFH', | |
'djproxy.proxy_middleware.AddXFP', | |
'{pathToAddXFS class}.AddXFS' | |
] | |
class LetterdropAssetProxy(HttpProxy): |