Skip to content

Instantly share code, notes, and snippets.

View AlexChesser's full-sized avatar
🍊
you can set statuses on github?!

Alex Chesser AlexChesser

🍊
you can set statuses on github?!
View GitHub Profile
@AlexChesser
AlexChesser / vax.js
Created June 16, 2021 19:22 — forked from nuzayets/vax.js
Automatically book 2nd dose vaccine at closest location Ontario
/***
* Automated Vaccine Booker Thing
*
* I wish everything had an API.
*
* ____________________
* / PLEASE \
* ! READ !
* ! ENTIRELY !
* \____________________/
namespace MyGame {
public class MyItem {
public string Name { get; set; }
public string Price { get; set; }
public string Description { get; set; }
public string Whatever { get; set; }
}
public class MyShop : Monobehavior {
[SerializeField]
@AlexChesser
AlexChesser / Steps to use the dotnet cli "today"
Created March 22, 2016 18:22
Notes from ASP.NET Community Standup - March 22nd, 2016
// if you want to use dotnetcli stuff in visual studio
//
// set your DNX feed to the dailies
set DNX_UNSTABLE_FEED=https://www.myget.org/F/aspnetcidev/api/v2
// upgrade DNX from the unstable feed
// do this daily
dnvm upgrade -u
// run again with coreclr to get coreclr as well.
@AlexChesser
AlexChesser / compress.cmd
Created January 13, 2016 15:01
Compression command line:
ECHO This will reduce video size if you have ffmpeg installed
ECHO usage: compress.cmd <filename>
SET infile_quoted=%1
SET infile=%infile_quoted:"=%
ffmpeg.exe -y -i "%infile%" -crf 20.0 -vcodec libx264 -filter:v scale=960:540 -preset slow -acodec libvo_aacenc -ar 32000 -b:v 650k -b:a 128k -coder 1 -flags +loop -cmp chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0 "compressed_%infile%"