This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"24296fb24b8ad77a4a1a059e1a6c382d91a2d8a8cebb8e68002c926676b676f7250fc37dd32e9fd3": { | |
"body": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiaGFzaGVkcmVrb3JkIiwic3BlYyI6eyJkYXRhIjp7Imhhc2giOnsiYWxnb3JpdGhtIjoic2hhMjU2IiwidmFsdWUiOiJkOGQzMjEzYzcxOGE0YzBhZWNhMDI1YTNhOWMzZTA3Y2E3NjgwNmRmYmE4N2ZhNTZhMzhhN2U0YTljZjJjYzc3In19LCJzaWduYXR1cmUiOnsiY29udGVudCI6ImQ1RGpBUVBJaUkvdFFsaVE3TmRNb21GSWRFMGhFUmtLWEFhdFlIaVRiLzcrVlA5N1lnbXdncUlFRnI2bFdPTEJzMzZrdmt1NEdHL0hkSlV1em9iNG1ZMDRPenZHVjV3OTlmOVJDQW5vQ0d5aWJNUlk0aDdGQ1VRRXhMMjB4b1duQzhkb0kvNEFGZnlnTnBFbUZEQlpsaCtWYVAzWFFDdkh4WEo2WHZJeVFGVGtNbDFBeSs1TUhQTDVYR2pLblV6a2lmUU5rc0VQZmh5VkpxT092Qm54WHROSHJjcDhQMmFHckR6SnhtN0NZMk9ndzZPZy91M3R0THRLNTN6eDJuSDN5Z2ZTTXFLQVl4djNEMk5NNDRId1FHckVWbHM2UCtuSGk4RjFJODRHWFJjdGd0ZXN3ajU1Z0drRXBPWHZUemgrRmxjaXhYS3d2T3dDamNZNVBIa01IY3RXTEdqZ0h0cURRR3gvU0h0VllqK0RZTUdSMWUzUFFPT2FwMWs5WURyM3podDJUc0ZHYkovQ1hoRGZoR3hUTGZ5U0lwSnNrTGFCOHNXWWpNUUxZRTZtWERTeTBPalYrTndIL29lSTBjeENCL0lhRTF3QUozSE1OSWxGaUpNalZHME93d082NnBUV2E0TTJlRjZVcWdVQ0wvTXV1RmQxN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default () => { | |
const h1 = document.createElement('h1') | |
h1.innerText = 'Hello, World!' | |
document.body.appendChild(h1) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function send(SendGrid\Email $email) { | |
$form = $email->toWebFormat(); | |
$form['api_user'] = $this->api_user; | |
$form['api_key'] = $this->api_key; | |
$response = $this->makeRequest($form); | |
if ($response->code != 200) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// They can behave like you'd expect an array to.. | |
$myArray = array("Cats", "Dogs"); | |
echo $myArray[0]; | |
// Cats | |
// ..or like a hashmap! | |
$myArray = array("name" => "Eddie", "location" => "Brooklyn, NY"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyClass { | |
public $myVar = "Hello world\n"; | |
public function sayHello() { | |
echo $this->myVar; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var app = express(); | |
var server = require('http').createServer(app); | |
// Set up SendGrid! | |
var sendgrid = require('sendgrid')('SENDGRID_USERNAME', 'SENDGRID_PASSWORD'); | |
server.listen(3000); | |
// Define our middleware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
ruby '2.1.2' | |
gem 'iron_cache' | |
gem 'sendgrid-ruby' | |
gem 'sinatra' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'json' | |
puts 'This will authenticate you with your foursquare app!' | |
puts 'Please enter the following from you apps info page' | |
puts | |
puts 'Client id?' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am eddiezane on github. | |
* I am eddiezane (https://keybase.io/eddiezane) on keybase. | |
* I have a public key whose fingerprint is D2E1 CCAC C21C BF79 F910 5D9C C1C6 DCF5 931B AFB2 | |
To claim this, I am signing this object: |