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
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%" |
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
// 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. |
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
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] |
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
/*** | |
* Automated Vaccine Booker Thing | |
* | |
* I wish everything had an API. | |
* | |
* ____________________ | |
* / PLEASE \ | |
* ! READ ! | |
* ! ENTIRELY ! | |
* \____________________/ |