In terminal.app, install ffmpeg through homebrew
brew install ffmpeg
Validate the installation:
jar xf myfile.jar |
/** | |
USAGE | |
1. Open the playlist you want | |
2. Right click > Inspect element > Console | |
3. Copy this and paste. Hit enter. | |
4. For watch later make sure to click the Edit button | |
Make sure &disable_polymer=true flag is set | |
e.g. | |
https://www.youtube.com/playlist?list=WL&disable_polymer=true |
# Input: list of rows with format: "<filesize> filename", e.g. | |
# filesizes.txt | |
####################### | |
# 1000K file1.txt | |
# 200M file2.txt | |
# 2G file3.txt | |
# | |
# Output: | |
cat filesizes.txt | numfmt --from=iec | awk 'BEGIN {sum=0} {sum=sum+$1} END {printf "%.0f\n", sum}' |
package laccetti.test; | |
import org.apache.qpid.server.Broker; | |
import org.apache.qpid.server.BrokerOptions; | |
import com.google.common.io.Files; | |
/** | |
* We shouldn't need external things for testing | |
*/ |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.concurrent.atomic.LongAdder; | |
public class Main | |
{ | |
public static void main(String[] args) throws InterruptedException | |
{ | |
if (args.length != 1) |
#!/bin/sh | |
# Usage: convert_gpx.sh <FIT filename> | |
# Should works whether you include the .FIT extension or not. | |
filename=$(basename "$1" .FIT) | |
gpsbabel -i garmin_fit -f "$filename".FIT -o gpx -F "$filename".gpx |
//----------------------------- MISC -------------------------------\\ | |
//------------------------------------------------------------------\\ | |
sv_cheats "1" | |
sv_showimpacts "0" | |
sv_showimpacts_time "2.5" | |
//---------------------------- BINDS -------------------------------\\ | |
//------------------------------------------------------------------\\ | |
bind "SPACE" "demo_togglepause" // pause/play demo | |
bind "c" "r_cleardecals" // get rid of bulletholes and black residue from grenade explosions |