This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.1 | |
log: | |
fields: | |
service: registry | |
storage: | |
cache: | |
blobdescriptor: inmemory | |
filesystem: | |
rootdirectory: /var/lib/registry | |
http: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
sudo apt install \ | |
curl \ | |
build-essential \ | |
libpcre3-dev \ | |
libssl-dev \ | |
zlib1g-dev \ | |
libxml2-dev \ | |
libxslt1-dev \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |