Skip to content

Instantly share code, notes, and snippets.

View Holi0317's full-sized avatar

Hollis Wu Holi0317

  • Toronto
  • 18:00 (UTC -05:00)
View GitHub Profile
@Holi0317
Holi0317 / angular-momentum.md
Created March 22, 2018 14:28
Angular momentum notes

By no means this is a complete notes.

Angular momentum

It is a vector. Symbol is L

Unit: kg m²/s

When an object spins, it gains angular momentum. In that case, the object has inertia and keep spinning, resisting other force from interrupt (e.g. Gravity).

[ 0.004][v][cplayer] mpv 0.27.1 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
[ 0.004][v][cplayer] built on Sun Feb 11 20:44:25 CET 2018
[ 0.004][v][cplayer] ffmpeg library versions:
[ 0.004][v][cplayer] libavutil 55.78.100
[ 0.004][v][cplayer] libavcodec 57.107.100
[ 0.004][v][cplayer] libavformat 57.83.100
[ 0.004][v][cplayer] libswscale 4.8.100
[ 0.004][v][cplayer] libavfilter 6.107.100
[ 0.004][v][cplayer] libswresample 2.9.100
[ 0.004][v][cplayer] ffmpeg version: 3.4.1
@Holi0317
Holi0317 / README.md
Last active March 6, 2021 02:30
Sort aria2 downloads (See readme.md for details)

Sort aria2 paused requests.

Requirements:

  • Python 3
  • requests library
  • Aria2 RPC Server with secret enabled

Installation

  1. Download the script
@Holi0317
Holi0317 / Vendor_2717_Product_3144.kl
Created March 15, 2016 13:19
Android key layout file for XiaoMi Gamepad
# XiaoMi Gamepad
# Keys area
key 304 BUTTON_A # A
key 305 BUTTON_B # B
key 307 BUTTON_X # X
key 308 BUTTON_Y # Y
key 310 BUTTON_L1 # L1
key 311 BUTTON_R1 # R1