type: PIN
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
type: PIN
Consumer key: IQKbtAYlXLripLGPWd0HUA
#!/usr/bin/env python3 | |
import requests | |
url = "https://petition.parliament.uk/petitions/276273.json" | |
sigs = [] | |
r = requests.get(url) | |
data = r.json()['data']['attributes']['signatures_by_constituency'] |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import, division, unicode_literals | |
# Copyright (C) 2018 Ben McGinnes <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify it under | |
# the terms of the GNU General Public License as published by the Free Software | |
# Foundation; either version 2 of the License, or (at your option) any later |
The post-mode for Mutt/Neomutt and Emacs is old and mostly reliable, still available here: | |
https://sourceforge.net/projects/post-mode/ | |
In January, 2018 a change was made to the master branch of GNU Emacs which detects old style elisp as incorrect and breaks initialisation which contains it. Since post-mode hasn't been modified in nearly a decade, there are some lines using this older style. | |
The following is the diff necessary to fix the version of post-mode from 24/2/2008 (ver. 1.9 or 1.10): | |
305c305 | |
< (defmacro string-read (prompt) (` (read-string (, prompt)))) |
import os | |
from flask import Flask, render_template, request | |
import stripe | |
stripe_keys = { | |
'secret_key': os.environ['SECRET_KEY'], | |
'publishable_key': os.environ['PUBLISHABLE_KEY'] | |
} | |
stripe.api_key = stripe_keys['secret_key'] |
I hereby claim:
To claim this, I am signing this object:
;; UTF-8 settings | |
(set-terminal-coding-system 'utf-8) | |
(set-keyboard-coding-system 'utf-8) | |
(prefer-coding-system 'utf-8) | |
;; This was added by Custom at some point too: | |
'(current-language-environment "UTF-8") | |
;; Plus I have F7 bound to insert-char to enter the hex for a glyph: | |
(global-set-key [f7] 'insert-char) |
Dionysis Zindros, National Technical University of Athens [email protected]
pseudonymous anonymous web-of-trust identity trust bitcoin namecoin proof-of-burn timelock decentralized anonymous marketplace openbazaar
This is a basic exploration of the Ello API. Completely unofficial, your mileage my vary, don't smash their servers as they are likely very busy.
Methods return HTML for their representation where appropriate which is a nice little pattern. Everything returns application/json.
Like this:
{
"id": ,
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
.ruleview { | |
color: black; | |
} |