Skip to content

Instantly share code, notes, and snippets.

View DF-wu's full-sized avatar
⚜️
It's not a bug, it's a feature.

DF DF-wu

⚜️
It's not a bug, it's a feature.
View GitHub Profile
@DF-wu
DF-wu / GeminiModels.json
Last active June 27, 2025 03:26
Google Gemini Models list.
{
"models": [
{
"name": "models/chat-bison-001",
"version": "001",
"displayName": "PaLM 2 Chat (Legacy)",
"description": "A legacy text-only model optimized for chat conversations",
"inputTokenLimit": 4096,
"outputTokenLimit": 1024,
"supportedGenerationMethods": [
@MADscientist314
MADscientist314 / xargsync.sh
Created November 2, 2020 17:08
execute a parallel rsync with xargs for large data transfers
#!/bin/bash
# Parallel rsync script originally designed for rsyncing
# large ata transfers from RAID to RAID for the Aagaard Lab.
# Author: Michael Jochum
# Location: Baylor College of Medicine, Houston, TX, USA
# Contact : [email protected]
# Date : 2 November 2020
##################################
#Step 0: fill this shit out
@stanley2058
stanley2058 / README.md
Last active February 15, 2022 13:47
Remove Facebook Ad Posts(zh-TW)

Important

This gist has now been migrated into it's own GitHub repo: https://github.com/stanley2058/RemoveFacebookAds-ZH Please visit the new repo and reinstall the script from there, this gist will no longer be maintained.

Why Migration? Using a GitHub repo allows the users to be notified when ever there is a new update to the script, since the download url would always be the same.

@k3kdude
k3kdude / DiscordWebhook.java
Created August 17, 2017 15:31
Java DiscordWebhook class to easily execute Discord Webhooks
import javax.net.ssl.HttpsURLConnection;
import java.awt.Color;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.reflect.Array;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@edokeh
edokeh / index.js
Last active June 24, 2025 07:06
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \