Skip to content

Instantly share code, notes, and snippets.

View CGerAJ's full-sized avatar
🎯
Focusing

CGerAJ CGerAJ

🎯
Focusing
View GitHub Profile
ascascasbnmxsdcvghdfgkluyjtrvecdascvgbhngjmkjtredsxxccdfvgjkmhjngfdcdvdfgnfg
ascascasbnmxsdcvghdfgkluyjtrvecdascvgbhngjmkjtredsxxccdfvgjkmhjngfdcdvdfgnfg
@CGerAJ
CGerAJ / gitstars.json
Created February 5, 2018 05:55
github stars manager for production
{"tags":[],"lastModified":1517810143045}
@CGerAJ
CGerAJ / nodejs splicing audio
Created April 9, 2019 05:28
nodejs splicing audio nodejs合并mp3音频
const fs = require('fs')
const clips = []
let stream
let currentfile
let soundtrack = fs.createWriteStream(`./${+new Date()}.mp3`)
// recursive function
function main() {
if (!clips.length) {
soundtrack.end('Done')
@CGerAJ
CGerAJ / api_backends.conf
Created June 27, 2019 06:33 — forked from nginx-gists/api_backends.conf
Deploying NGINX Plus as an API Gateway, Part 1
upstream warehouse_inventory {
zone inventory_service 64k;
server 10.0.0.1:80;
server 10.0.0.2:80;
server 10.0.0.3:80;
}
upstream warehouse_pricing {
zone pricing_service 64k;
server 10.0.0.7:80;