Skip to content

Instantly share code, notes, and snippets.

@GotenXiao
GotenXiao / server.cfg
Created April 21, 2018 14:45
Day of Infamy server config
// Place under doi/cfg in the dedicated server root
"mp_friendlyfire" "1" // friendly fire
"mp_tkpunish" "1" // How to punish team killing ( 0 = none, 1 = warning, 2 = kill )
"sv_hud_deathmessages" "1" // death messages
"sv_hud_scoreboard_show_kd" "1" // show k:d on scoreboard
"sv_hud_targetindicator" "1" // show friendly player names when looking at them
"mp_timer_pregame" "10" // timer for the pre-game (before the game starts, usually after map change or on mp_restartgame 1)
"mp_timer_preround" "15" // timer for the pre-round (before the round starts, usually
@steventrux
steventrux / Chromecast batch conversion script
Last active May 27, 2021 22:56
A bash script to batch convert video files for chromecast compatibility
#! /bin/bash
# Batch Convert Script by StevenTrux
# The Purpose of this Script is to batch convert any video file to mp4 or mkv format for chromecast compatibility
# this script only convert necessary tracks if the video is already
# in H.264 format it won't convert it saving your time!
# Put all video files need to be converted in a folder!
# the name of files must not have " " Space!
# Rename the File if contain space