Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Loner1024

:octocat:
View GitHub Profile
@repodevs
repodevs / macOS.sh
Created Dec 12, 2018
gpg: signing failed: Inappropriate ioctl for device macOS
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
@Justsoos
Justsoos / douyu_new.py
Last active Jun 3, 2020
斗鱼2019新api,直播流URL提取,请看最下评论地址
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
@ZoeyYoung
ZoeyYoung / class_comment.py
Created Jun 9, 2013
Python: 类注释模板,取自Google Python Style Guide
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.
"""