This file contains hidden or 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 python | |
import base64 | |
import hashlib | |
import json | |
import logging | |
import random | |
import requests | |
import string | |
import uuid |
This file contains hidden or 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
#!/bin/bash -u | |
# Bash script to post a local HTML file to a Wallabag instance | |
# | |
# This assumes client and user credentials are in a pass(1) entry formatted as | |
# follows: | |
# | |
# <PASSWORD> | |
# login: <USERNAME> | |
# client_id: <CLIENT_ID> | |
# client_secret: <CLIENT_SECRET> |
This file contains hidden or 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
// ==UserScript== | |
// @name GitHub BMO Linker | |
// @version 2 | |
// @author Olivier Mehani <[email protected]> | |
// @downloadURL https://gist.github.com/shtrom/e9c25e103aaf2f8ede6f740787b50e33 | |
// @grant none | |
// @match https://github.com/* | |
// @run-at document-idle | |
// ==/UserScript== |
This file contains hidden or 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
#!/bin/bash -eux | |
if [ ${#} -lt 1 ]; then | |
echo "usage: ${0} <KEY_FILE>" >&2 | |
exit 1 | |
fi | |
KEY="${1}" | |
GPG=gpg |
OlderNewer