# brew install magick, at first
# convert a single image
magick convert foo.HEIC foo.jpg
# bulk convert multiple images
magick mogrify -monitor -format jpg *.HEIC
I use Google calendar for managing my schedule. But there is no approach to getting all events in text format. So I wrote this for obtaining events from Google Calendar.
- open Google Calendar within chrome.
- press F12 to open dev tool.
- click console tab.
- copy and paste this code below.
The result of building on this project: https://github.com/yozhik/AndroidStudioBenchmark
Results:
Computer | CPU | RAM/swap | system | other environment | Date | Spent |
---|---|---|---|---|---|---|
DeskMini | 4650G | 16G,16G | ubuntu 20.04.3 | JDK11,gradle 7.0 | 2022,Jun | 1m14s |
MBP | M1 MAX | 64G | Mac OS | none | 2021 | 1m26s |
Dell insp5505 | 4500u | 16G,16G | ubuntu 20.04.3 | JDK11,gradle 7.0 | 2022,Jun | 1m30s |
- preparation:
- a. make sure you have install docker,
- run the command:
docker run -d \
--network=host \
-e ADBKEY="$(cat ~/.android/adbkey)" \
This list below has been sorted by bandwidth.
IP 地址 | 已发送 | 已接收 | 丢包率 | 平均延迟 | 下载速度 (MB/s) |
---|---|---|---|---|---|
104.25.185.46 | 4 | 4 | 0.00 | 127.80 | 25.82 |
104.27.88.69 | 4 | 4 | 0.00 | 127.78 | 25.75 |
172.67.93.142 | 4 | 4 | 0.00 | 127.72 | 23.00 |
172.67.89.105 | 4 | 4 | 0.00 | 128.28 | 22.84 |
104.20.83.220 | 4 | 4 | 0.00 | 128.74 | 21.82 |
104.17.120.184 | 4 | 4 | 0.00 | 128.46 | 21.42 |
It is a tutorial about setup a code-server for your remote coding.
First, run these commands on your terminal.
sudo apt install npm -y
sudo npm install -g n
sudo curl -fsSL https://code-server.dev/install.sh | sh
docker run -it --rm --name easydrawin -p 5004-5007:5004-5007/udp -p 8554:8554 -p 554:554 -p 7777:7777 -p 10008:10008 alextheloafer/easydarwin
By the time it established, you are able to push RTP stream into it. Open url http://localhost:10008/ to look into it.
Other infomation or guidance in there: EasyDarwin.
docker run -d -p 1003:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer-ce:latest
sudo docker run -it --name samba --net=host \
-v /media/TOSHIBA/filebrowserdata:/mount \
-d dperson/samba -p -u "admin;admin" \
-s "share;/mount;yes;no;no;all;none"
If you want all of play protocols, this docker image is first recommendation.
docker pull ossrs/srs:3
docker run --rm -p 1935:1935 -p 1985:1985 -p 8080:8080 ossrs/srs:3