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
| # Upon running this script on a directory you pass as a first argument to it, | |
| # it'll rename all files it can find with the following structure: | |
| # "{artist name} - {album name} - {song number and name}.{file extension}" | |
| # to follow this structure instead: | |
| # "{song number and name} - {artist name}.{file extension}" | |
| import os, sys, re | |
| regex_artist_name = r'^[^0-9]{2}.*?- ' |
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
| // Custom arms race | |
| bot_kick | |
| mp_teammates_are_enemies 1 | |
| mp_randomspawn 1 | |
| sv_gravity 300 |
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
| // Custom arms race | |
| bot_kick | |
| mp_teammates_are_enemies 1 | |
| mp_randomspawn 1 |
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
| mp_autokick 0 | |
| ff_damage_reduction_bullets 1 | |
| ff_damage_reduction_grenade 1 | |
| ff_damage_reduction_other 1 | |
| mp_warmuptime 10 | |
| bot_quota 4 | |
| bot_quota_mode fill |
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
| mp_maxrounds 16 | |
| mp_autokick 0 | |
| ff_damage_reduction_bullets 1 | |
| ff_damage_reduction_grenade 1 | |
| ff_damage_reduction_other 1 | |
| bot_quota 6 | |
| bot_quota_mode fill | |
| mp_warmuptime 10 |
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
| package com.rubenbermejo.gists | |
| import com.reflections.Reflections | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import java.lang.reflect.Constructor; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.util.HashMap; |