Skip to content

Instantly share code, notes, and snippets.

@umbrae
umbrae / gist:3441681
Created August 23, 2012 21:00
Etsy API Backwards Incompatible Change - Disclosure Template

[ANNOUNCE] Backwards Incompatible Change: {Type of Change}

What is the change being made?

(A clear, concise summary of the change that needs to be made)

What is the scope of this change?

(A list of all affected resources, methods, and associations, with links.)

Why is this change being made?

(A no-BS description of the business need for this change, and why it's worth it to inconvenience our third parties.)

@umbrae
umbrae / gist:3658512
Created September 6, 2012 16:57
Sample image upload for Etsy Listings
<?php
define('OAUTH_CONSUMER_KEY', 'YOUR_CONSUMER_KEY_HERE');
define('OAUTH_CONSUMER_SECRET', 'YOUR_CONSUMER_SECRET_HERE');
$listing_id="ID_OF_LISTING_THAT_YOU_OWN_HERE";
$filename="FILENAME_THAT_EXISTS_ON_THE_FILESYSTEM_HERE.JPG";
$mimetype="image/jpeg";
$access_token="ACCESS_TOKEN_YOU_HAVE_AUTHENTICATED_WITH_HERE";
$access_token_secret="ACCESS_SECRET_THAT_YOU_HAVE_AUTHENTICATED_WITH_HERE";
// You must define the constants OAUTH_CONSUMER_KEY and OAUTH_CONSUMER_SECRET
$.ajax({
'url': 'https://mayors24.cityofboston.gov/open311/v2/requests.json',
'dataType' : 'jsonp',
'success' : function() { console.log('success') },
'error' : function() { console.log('error'); console.log(arguments) }
});
@umbrae
umbrae / gist:5624368
Last active December 17, 2015 14:29
What if Politicians could Speak without Reproach?

I had a crazy idea tonight. I've had a lot of these lately that I don't do much with, so I wanted to write about it.

I was walking home, listening to the most recent This American Life , on the politics of the climate change debate. In one of the scenes, the former Congressional Representative Bob Inglis is explaining that there are many Republican politicians who believe in the science of climate change, but simply cannot say a word about it publicly because to do so would be political suicide.

From: umbrae@gmail.com [mailto:umbrae@gmail.com]
Sent: Friday, August 26, 2005 8:05 AM
To: Secure@macromedia.com
Subject: [Security Issue] [The encryption algorithm]
The following information was submitted on the Security Issue Report
Form :
Name: Umbrae
<?xml version="1.0" encoding="utf-8"?>
<markers>
<limited>0</limited>
<marker>
<name>ADMA BioCenters</name>
<category>IQPP Certified</category>
<markertype>/media/com_storelocator/markers/100713214004000000jl_marker2.png</markertype>
<featured>false</featured>
<address>6290 Jimmy Carter Boulevard, Suite 208, Norcross, Georgia 30071</address>

Keybase proof

I hereby claim:

  • I am umbrae on github.
  • I am chrisdary (https://keybase.io/chrisdary) on keybase.
  • I have a public key whose fingerprint is AD0C 9FB9 EFC4 5EAB 5ED0 3E7D 4110 4668 D24F 436F

To claim this, I am signing this object: