Skip to content

Instantly share code, notes, and snippets.

View BigUncle's full-sized avatar

BigUncle BigUncle

View GitHub Profile
@BigUncle
BigUncle / update_npm_tools.sh
Created October 31, 2025 14:05
Script to check and update global npm packages intelligently with colored output
#!/bin/bash
# A script to check and update global npm packages intelligently with colored output.
set -e
# Color definitions
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
CYAN='\033[0;36m'
@BigUncle
BigUncle / gemini-cli.js
Created August 11, 2025 16:45 — forked from musistudio/gemini-cli.js
GeminiCLITransformer
const os = require("os");
const path = require("path");
const fs = require("fs/promises");
const OAUTH_FILE = path.join(os.homedir(), ".gemini", "oauth_creds.json");
function cleanupParameters(obj, keyName) {
if (!obj || typeof obj !== "object") {
return;
}
@BigUncle
BigUncle / docker-registry-mirrors.md
Created February 24, 2025 01:37 — forked from y0ngb1n/docker-registry-mirrors.md
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@BigUncle
BigUncle / git_ssh_proxy.md
Created October 28, 2023 13:18 — forked from chenshengzhi/git_ssh_proxy.md
git ssh 代理设置

仅为 GitHub 设置代理

git 代理

设置 git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
设置完成后, ~/.gitconfig 文件中会增加以下条目:

[http "https://github.com"]
    proxy = socks5://127.0.0.1:1086
@BigUncle
BigUncle / PlayStationBIOSFilesNAEUJP.md
Created June 23, 2023 12:55 — forked from juanbrujo/PlayStationBIOSFilesNAEUJP.md
Files for PlayStation BIOS Files NA-EU-JP
@BigUncle
BigUncle / 0_reuse_code.js
Created February 11, 2017 05:52
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@BigUncle
BigUncle / beijing_personal_201310.dat
Created June 14, 2016 14:43 — forked from telen/beijing_personal_201310.dat
使用python抓取北京/广州摇号网站公布结果,并解析pdf到文本 并写入数据库 写入oracle使用sqlldr命令导入 写入mysql则直接insert(好像太多的数据executemany执行不了,所以切成小块执行)
beijing,personal,201310,1,6998102285168,刘宇宸
beijing,personal,201310,2,5491100633292,王良
beijing,personal,201310,3,3446103258689,王墨
@BigUncle
BigUncle / grspider.py
Created June 9, 2016 19:14 — forked from LeslieZhu/grspider.py
A spider to get gnma remic pdf file list, as each page maybe generated by JavaScript event, so need simulator the POST method.
#!/usr/bin/env python
# coding: utf-8
"""
grspider.py ----- A spider to get gnma remic prospectuses list
author: Leslie Zhu
email: [email protected]
In GNMA Agency webiste http://www.ginniemae.gov/, there are some remic prospectuses published by month.
Like url :
http://www.ginniemae.gov/doing_business_with_ginniemae/investor_resources/prospectuses/Pages/remic_prospectuses.aspx