Skip to content

Instantly share code, notes, and snippets.

View pigeon2049's full-sized avatar
🐔
你太美

pigeon2049 pigeon2049

🐔
你太美
  • Earth
View GitHub Profile
@pigeon2049
pigeon2049 / compile-nginx-brotli-modules.sh
Created November 23, 2023 08:01 — forked from jivanpal/compile-nginx-brotli-modules.sh
Compile Brotli modules for Nginx 1.18.0 on Ubuntu 20.04
#!/bin/bash -e
sudo apt install \
curl \
build-essential \
libpcre3-dev \
libssl-dev \
zlib1g-dev \
libxml2-dev \
libxslt1-dev \
const musicNotify = () => {
const m = '/storage/emulated/0/Download/WeiXin/平凡之路.mp3'
media.playMusic(m);
sleep(media.getMusicDuration());
}
const to_mall_cart = () => {
shopping_cart_btn=id('img_shopping_cart').findOne()
public static void main(String[] args) throws InterruptedException {
List<Object> packages=new ArrayList<>();
CountDownLatch countDownLatch=new CountDownLatch(100);
for (int i=0;i<100;i++){
int finalI = i;
new Thread(new Runnable() {
@Override
public void run() {
//do sth
packages.add(finalI);