Skip to content

Instantly share code, notes, and snippets.

0x5c6BB651598984F0036De78cbe76C1af35468009
Verifying my Blockstack ID is secured with the address 147sNKwHFFrbfUKN1uDHCwcwcsexbUeeZB https://explorer.blockstack.org/address/147sNKwHFFrbfUKN1uDHCwcwcsexbUeeZB
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:GetRole",
"iam:PutRolePolicy"
],
"Resource": [

Keybase proof

I hereby claim:

  • I am mihazelnik on github.
  • I am miha (https://keybase.io/miha) on keybase.
  • I have a public key ASD_OXxQwtknIS4yTsXkTGBJAqIp84txwGJ5HnGyel89NQo

To claim this, I am signing this object:

from googleads import adwords, oauth2
oauth2_client = oauth2.GoogleRefreshTokenClient(
client_id,
client_secret,
refresh_token)
adwords_client = adwords.AdWordsClient(
developer_token,
oauth2_client,
@mihazelnik
mihazelnik / generate_refresh_token.py
Created October 1, 2015 10:41
Generate refresh token for Adwords API (Python 3)
#!/usr/bin/python
#
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@mihazelnik
mihazelnik / keybase.md
Created March 26, 2015 13:09
keybase.md

Keybase proof

I hereby claim:

  • I am mihazelnik on github.
  • I am miha (https://keybase.io/miha) on keybase.
  • I have a public key whose fingerprint is B8A4 911F F9EE 2370 CC0A 255F 22D4 A20F 61A4 6F7A

To claim this, I am signing this object: