I hereby claim:
- I am cadecairos on github.
- I am cadecairos (https://keybase.io/cadecairos) on keybase.
- I have a public key whose fingerprint is AB41 5ACC 0180 A407 451F 3FE6 10E6 346E EE2F 659D
To claim this, I am signing this object:
// this function process a webhook event received from Stripe | |
function(request, reply) { | |
var event = request.payload; | |
var charge = event.data.object; | |
if (event.type !== 'charge.succeeded') { | |
return reply('This hook only processes charge succeeded events'); | |
} |
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <[email protected]> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
<RoutingRules> | |
<RoutingRule> | |
<Condition> | |
<KeyPrefixEquals>earn/</KeyPrefixEquals> | |
</Condition> | |
<Redirect> | |
<ReplaceKeyPrefixWith>get-started/earning-badges/</ReplaceKeyPrefixWith> | |
<HttpRedirectCode>307</HttpRedirectCode> | |
</Redirect> | |
</RoutingRule> |
Utils.generateUUID = function() { | |
var d = new Date().getTime(); | |
var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
var r = (d + Math.random()*16)%16 | 0; | |
d = Math.floor(d/16); | |
return (c=='x' ? r : (r&0x7|0x8)).toString(16); | |
}); | |
return uuid; | |
} |
commit 8b8d3239d7418f4225a5a6d722e1b257913bc1dc | |
Author: Mike Kamermans <[email protected]> | |
Date: Mon Sep 26 10:33:05 2016 -0700 | |
Hackfix (#2238) | |
* prevent WP hack attempts by locking down the stub format | |
* make sure we get JSON |
function WebAnalytics() { | |
var _dntStatus = navigator.doNotTrack || navigator.msDoNotTrack; | |
var fxMatch = navigator.userAgent.match(/Firefox\/(\d+)/); | |
var ie10Match = navigator.userAgent.match(/MSIE 10/i); | |
var w8Match = navigator.appVersion.match(/Windows NT 6.2/); |
SELECT | |
CAST(badge.validated_on AS DATE) AS day, | |
COUNT(*) AS 'Badges Issued' | |
FROM | |
badge | |
GROUP BY year(day), month(day), day(day); |
const hatchet = require('hatchet'); | |
const sessionData = require('./session_data.json'); | |
sessionData.forEach((session) => { | |
hatchet.send("mozfest_session_proposal_2016", session, (err, response) => { | |
if (err) { | |
console.log("Failed to send proposal confirmation email.") | |
} else { | |
console.log(`Proposal confirmation email successfully sent to ${session.email}!`) | |
} |
#!/bin/bash | |
set -e | |
app=$APP_NAME | |
old_db_env_var=$OLD_DB_ENV_VAR | |
new_db_env_var=$NEW_DB_ENV_VAR | |
remove_addon_name=$REMOVE_ADDON_NAME | |
old_db_url=`heroku config:get -a $app $OLD_DB_ENV_VAR` | |
new_db_url=`heroku config:get -a $app $new_db_env_var` |
I hereby claim:
To claim this, I am signing this object: