This file contains 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
$INPUTVIDEO='input.mp4' | |
$OUTPUTVIDEO='output.mp4' | |
ffmpeg -i $INPUTVIDEO -metadata:s:v rotate="-90" -codec copy $OUTPUTVIDEO |
This file contains 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
// ==UserScript== | |
// @name show Showroom streaming url | |
// @namespace https://gist.github.com/wlerin | |
// @description ShowroomのストリーミングURLを表示 | |
// @include https://www.showroom-live.com/* | |
// @require http://code.jquery.com/jquery-3.4.1.min.js | |
// @version 0.6 | |
// ==/UserScript== | |
// Will display a streaming url in a box at the top of the screen |
This file contains 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
/* | |
Solar system objects | |
Adapted from: http://en.wikipedia.org/wiki/List_of_Solar_System_objects_by_size | |
Collected by: https://www.khanacademy.org/profile/patrick809/programs | |
*/ | |
CREATE TABLE solar_system_objects( | |
body TEXT | |
, mean_radius NUMERIC /* km */ | |
, mean_radius_rel NUMERIC /* relative to earth */ | |
, volume NUMERIC /* 10^9 km^3 */ |
This file contains 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
#!/bin/env bash | |
#Please specify path to Plansecape: Torment installer | |
export PST=./setup_planescape_torment_2.0.0.8.exe | |
#Please specify path to Planescape: Torment with Widescreen mod. | |
export WINEPREFIX=~/.planescapetorment | |
if [[ ! -f $PST ]]; then | |
echo "Please specify valid path to Planescape: Torment installer" | |
exit | |
fi | |
echo "Installing needed mods" |