Skip to content

Instantly share code, notes, and snippets.

View pichot's full-sized avatar
🌍
Passionate urbanist, skeptical technologist

Jonathan Pichot pichot

🌍
Passionate urbanist, skeptical technologist
View GitHub Profile
@pichot
pichot / FuzzyStringDesciptions
Created January 19, 2018 21:05
CommunityBoardRequests
Build the Green Outlook, Riverside Park (DPR)
Bedford Branch Library needs a new boiler and window restoration
Upgrade the FDNY Engine 307 kitchen.
P.S. 125 Playground
Handicap Accessibility in Front of the 46th Precinct.
import Ember from 'ember';
import QueryParams from 'ember-parachute';
export const myQueryParams = new QueryParams({
'qps.housingType': {
as: 'type',
defaultValue: 'single',
},
'qps.housing.developmentType': {
as: 'housing.developmentType',

Keybase proof

I hereby claim:

  • I am pichot on github.
  • I am pichot (https://keybase.io/pichot) on keybase.
  • I have a public key ASAIUvL1UCMT_U4cUK_vQ16jHdrZ_SndOdTYBqEiH5qm0Ao

To claim this, I am signing this object:

@pichot
pichot / gist:b2ea3f4440a7be9058e2
Created January 21, 2015 17:46
Discourse Send Reset to All Users
User.all.each do |user|
email_token = user.email_tokens.create(email: user.email)
Jobs.enqueue(:user_email, type: :forgot_password, user_id: user.id, email_token: email_token.token)
end