Skip to content

Instantly share code, notes, and snippets.

View Glowin's full-sized avatar

Glow Chiang Glowin

View GitHub Profile
@PawanOsman
PawanOsman / OAI-ReverseProxy-FREE.md
Created March 7, 2023 22:57
OAI Reverse Proxy - FREE

Introduction:

Reverse proxy to use OpenAI API Join Our Discord Server 😁

Features

  1. Works same as OpenAI API
  2. Supports Streaming!
  3. It's FREE!
@int64ago
int64ago / lucky.js
Last active October 14, 2022 06:44
// ==UserScript==
// @name Juejin Lucky
// @namespace http://tampermonkey.net/
// @version 1.0
// @description 从关注 网易云音乐大前端团队 并且在 https://juejin.im/pin/6871042321472421902 沸点下回复的用户中去重后随机抽出 25 个,并分 3 组
// @author Cody
// @match https://juejin.im/pin/6871042321472421902
// @grant none
// ==/UserScript==
@xhacker
xhacker / emoji.plist
Last active October 26, 2023 15:59
/System/Library/LinguisticData/RequiredAssets_zh.bundle/AssetData/emoji.plist in OS X 10.11 Copyright (C) Apple Inc.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>0</key>
<dict>
<key>emoji</key>
<array>
<string>0⃣️</string>
</array>
@bjorgvino
bjorgvino / yosemite ntfs read+write.txt
Last active December 2, 2021 03:58
osxfuse + ntfs-3g + Yosemite = NTFS R/W
Remove osxfuse if installed via homebrew:
> brew uninstall osxfuse
Install osxfuse binary and choose to install the MacFUSE compatibility layer:
http://sourceforge.net/projects/osxfuse/files/latest/download?source=files
Reboot (optional but recommended by osxfuse)
Install ntfs-3g via homebrew:
> brew update && brew install ntfs-3g
@kevinelliott
kevinelliott / osx-10.10-setup.md
Last active December 1, 2023 08:21
Mac OS X 10.10 Yosemite Setup

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

@staltz
staltz / introrx.md
Last active July 2, 2024 03:45
The introduction to Reactive Programming you've been missing
@Tydus
Tydus / howto-standalone-toolchain.md
Last active May 4, 2023 13:43
How to install Standalone toolchain for Android

HOWTO Cross compiling on Android

5W1H

What is NDK

NDK (Native Develop Toolkit) is a toolchain from Android official, originally for users who writes native C/C++ code as JNI library. It's not designed for compiling standalone programs (./a.out) and not compatible with automake/cmake etc.

What is Standalone Toolchain

"Standalone" refers to two meanings:

  1. The program is standalone (has nothing connect to NDK, and don't need helper scripts to run it)
  2. The toolchain is made for building standalone programs and libs, and which can used by automake etc.

(Optional) Why NDK is hard to use

By default, NDK uses android flavor directory structure when it's finding headers and libs, which is different from GNU flavor, so the compiler cannot find them. For Example:

@karminski
karminski / ubuntu_init.sh
Last active January 18, 2016 15:27
ubuntu develop environment deploy script
#!/bin/bash
# Ubuntu 12.04 precise software env init shell scripts.
# @author karminski <code.karminski@outlook.com>
# @version 140729:2
#init dir
sudo mkdir /home/apps
cd /home/apps
# install python-software-properties
@hwdsl2
hwdsl2 / .MOVED.md
Last active May 19, 2024 06:28
IPsec VPN Server Auto Setup Script for Ubuntu and Debian