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
import json | |
import os | |
import requests | |
from datetime import datetime, timezone | |
NOTIFICATIONS = 'https://api.github.com/notifications' | |
token = os.environ['GH_TOKEN'] | |
s = requests.Session() | |
s.headers.update({ |
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/python3 | |
# Example of how to verify an SHA-256 checksum file using Python. | |
# Usage: python sha256check.py sha256sum.txt | |
import hashlib | |
import re | |
import sys | |
# This regular expression matches a line containing a hexadecimal | |
# hash, spaces, and a filename. Parentheses create capturing groups. | |
r = re.compile(r'(^[0-9A-Fa-f]+)\s+(\S.*)$') |
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
[DEFAULT] | |
debian-branch = for-debian | |
upstream-tag = mod_gnutls/%(version)s | |
[import-orig] | |
filter = aclocal.m4 | |
filter = config/* | |
filter = config.in | |
filter = configure | |
filter = m4/libtool.m4 |
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
#!/bin/bash -E | |
function commanderr | |
{ | |
false | |
} | |
function returnerr | |
{ | |
return 1 |