Skip to content

Instantly share code, notes, and snippets.

View WCY-dt's full-sized avatar
:dependabot:
BOT

Ch3nyang WCY-dt

:dependabot:
BOT
View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@WCY-dt
WCY-dt / GithubStarSpider.py
Created April 24, 2024 07:39
Get all the repos starred as a json file
import requests
import json
def get_starred(username='github'):
url = 'https://api.github.com/users/{}/starred'.format(username)
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'
}
response = requests.get(url, headers=headers, verify=False)
if response.status_code == 200:
@WCY-dt
WCY-dt / sources.list
Created March 28, 2024 09:30 — forked from hakerdefo/sources.list
Ubuntu 22.04 LTS (Jammy Jellyfish) complete sources.list
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse