I hereby claim:
- I am sneagan on github.
- I am sneagan (https://keybase.io/sneagan) on keybase.
- I have a public key ASCMyJY5fF0dq3JDWO6fOxsRXnlALV1rw2n8p5wHK6Ns8wo
To claim this, I am signing this object:
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" /> | |
<title>Check AirPod availability in Apple Stores</title> | |
<style> | |
body { | |
font-size: 12px; |
I hereby claim:
To claim this, I am signing this object:
app.get('/success', function(req, res){ | |
var postFunction = function(reqq) { | |
var access_token = reqq.query.code; | |
var post_data = querystring.stringify({ | |
'client_id': 'client_id', | |
'client_secret': 'client_secret', | |
'grant_type': 'authorization_code', | |
'redirect_uri': 'http://127.0.0.1:3000/', | |
'code': access_token | |
}); |
var ConvertKeysToCamelCase = function(item_to_convert) { | |
var stringToCamelCase = function(string_to_convert) { | |
return string_to_convert.replace(/-([a-z])/g, function (g) {return g[1].toUpperCase();}); | |
}; | |
var convertKey = function(key_to_convert, key_to_replace) { | |
if (key_to_convert.indexOf('_') != -1) { | |
key_to_convert = key_to_convert.replace(/_/g,'-'); | |
key_to_convert = stringToCamelCase(key_to_convert); | |
item_to_convert[key_to_convert] = item_to_convert[key_to_replace]; | |
delete item_to_convert[key_to_replace]; |
#!/bin/bash | |
# --- Required variables --- | |
RSS_URI="/your/rss/file" | |
MAIL_TO="[email protected]" | |
LOG_FILE="/your/log/file" | |
# Log that subscriber numbers will be written to. You will have to create one. | |
SUBSCRIBER_LOG="/place/to/log/subs" |