Skip to content

Instantly share code, notes, and snippets.

View monsterxcn's full-sized avatar
🥱
上班!

Monst.x monsterxcn

🥱
上班!
View GitHub Profile
@upbit
upbit / README.md
Last active May 3, 2024 05:48 — forked from ZipFile/README.md
Pixiv OAuth Flow (with Selenium)

Retrieving Auth Token (with Selenium)

  1. Setup, install Selenium/ChromeDriver
pip install selenium
# download chromedriver from https://chromedriver.storage.googleapis.com/index.html?path=91.0.4472.101/
# eg: wget https://chromedriver.storage.googleapis.com/91.0.4472.101/chromedriver_mac64.zip && unzip chromedriver_mac64.zip
@ZipFile
ZipFile / README.md
Last active May 4, 2024 04:28
Pixiv OAuth Flow

Retrieving Auth Token

  1. Run the command:

    python pixiv_auth.py login

    This will open the browser with Pixiv login page.

@wlkz
wlkz / proxy.py
Created December 24, 2020 14:27
from werkzeug.middleware.http_proxy import ProxyMiddleware
from werkzeug.wrappers import Request, Response
from werkzeug.wsgi import get_current_url, get_input_stream
from werkzeug.urls import url_parse
from werkzeug.http import is_hop_by_hop_header
from werkzeug.datastructures import EnvironHeaders
import socket
from http import client
import socks
@XYenon
XYenon / checkin.rb
Created June 28, 2020 07:49
heu-daily-checkin
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'watir'
USERNAME = 'stu_num'
PASSWORD = 'passwd'
puts '========================='
browser = Watir::Browser.new :chrome, headless: true
@spencerwooo
spencerwooo / ttrss-theme-black-two-column.css
Created March 13, 2020 07:07
Tiny Tiny RSS Black (Pink) Theme with two columns
@import url("https://fonts.googleapis.com/css?family=Miriam+Libre:400,700|Rubik:400&display=swap");
a.title {
font-family: "Miriam Libre", Noto Sans CJK SC, Sarasa Gothic SC,
Microsoft YaHei, sans-serif, Apple Color Emoji, Segoe UI Emoji !important;
}
#content-wrap#content-wrap .content,
#content-wrap#content-wrap .content-inner,
#feedTree,
body {
font-family: rubik, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica,
@esterTion
esterTion / 0_BiliComicWebReader
Last active May 4, 2024 08:07
BiliComicWebReader
shit title placeholder
@syntaqx
syntaqx / cloud-init.yaml
Last active March 26, 2024 21:02
cloud init / cloud config to install Docker on Ubuntu
#cloud-config
# Option 1 - Full installation using cURL
package_update: true
package_upgrade: true
groups:
- docker
system_info:
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active May 4, 2024 15:47
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@anjia0532
anjia0532 / nginx.conf
Created December 14, 2017 04:08
nginx proxy_pass add a static parameter
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;