View macOS.sh
❱ git config user.signingKey 38AF394C | |
❱ git config commit.gpgSign true | |
❱ echo "test" | gpg --clearsign | |
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
test | |
gpg: signing failed: Inappropriate ioctl for device | |
gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device |
View douyu_new.py
#! /usr/bin/env python3 | |
import re | |
import requests | |
import argparse | |
import time | |
import hashlib | |
import json | |
import logging | |
from requests.adapters import HTTPAdapter |
View class_comment.py
class SampleClass(object): | |
"""Summary of class here. | |
Longer class information.... | |
Longer class information.... | |
Attributes: | |
likes_spam: A boolean indicating if we like SPAM or not. | |
eggs: An integer count of the eggs we have laid. | |
""" |