this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
- install lldpctl with
apt install lldpd
this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
apt install lldpd
MP4 TO MP4 (MEDIUM) | |
ffmpeg -i input.mp4 -b 1000000 output.mp4 | |
M2TS TO MP4 | |
ffmpeg -i input.m2ts -vcodec libx264 -crf 20 -acodec ac3 -vf "yadif" output.mp4 | |
MP4 TO WEBM (HIGH) | |
ffmpeg -i input.mp4 -aq 5 -ac 2 -qmax 25 -threads 2 output.webm | |
ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus output.webm |
This (and related gists) captures how i created my docker swarm architecture. This is intended mostly for my own notes incase i need to re-creeate anything later! As such expect some typos and possibly even an error...
Each major task has its own gist, this is to help with maitainability long term.
A list of performance-enhancing mods for 1.8.9 and below.
Any suggestions/complaints?
Join our discord or use the gist comments.
Mods marked as "Dangerous" might be unstable, and cause some unexpected behaviour.
{ | |
email my@email.com | |
} | |
my.host.com { | |
encode zstd gzip | |
log { | |
output stdout | |
} |
This is a partial C# implementation of UnityEngine.Random
with (almost) 1-to-1 parity.
Unity uses Xorshift for psuedorandom number generation. In particular Xorshift128, which uses a state consisting of four unsigned 32-bit integer values. The state is initialized in UnityEngine.Random.InitState
using a signed 32-bit integer seed, which is shuffled around with a technique similar to the way a Mersenne Twister is initialized.
This has been tested as far back as Unity 4.7.0f1, and as recent as Unity 2020.1.17f1.
export PROJECT_ID="INSERT-PROJECT-ID" | |
export PROJECT_NUMBER="INSERT-PROJECT-NUMBER" | |
export STATE_BUCKET="INSERT-STATE-BUCKET-NAME" | |
gcloud storage buckets create gs://$STATE_BUCKET --project=$PROJECT_ID --default-storage-class=STANDARD --location=EUROPE-WEST1 --uniform-bucket-level-access | |
gcloud iam workload-identity-pools create github \ | |
--project=$PROJECT_ID \ | |
--location="global" \ |
If you purchase a textbook from McGraw Hill, the website to view it is clunky and only works on some devices. You can't go to specific page numbers, the search is super slow, etc. That's why I wrote this script to download the textbook as an ePub file for your own viewing.
Using this script is 100% legal. McGraw Hill publicly hosts their ebooks online in order for their web client to download it. Moreover, to use it, you must already have purchased the book you would like to download, so it is legally yours to use as you please. However, it IS illegal to use this for piracy purposes. DO NOT DISTRIBUTE ANY TEXTBOOKS YOU DOWNLOAD USING THIS SCRIPT.