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
| #!/usr/bin/env bash | |
| # updates versions in requirements.txt file | |
| cat requirements.txt | grep -v '^\-e' | cut -d= -f1 | xargs -I {} -n1 -P1 sh -c "echo \`curl -s https://pypi.org/project/{}/ | sed -e 's/^[[:space:]]*//' | grep '{} [0-9]' | sed -e 's/ /==/g'\`" |
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
| #nice loop for input | |
| dice_count=input("How many dices do you want to use? Min 1, max 5") | |
| while not dice_count.isnumeric() or int(dice_count) not in range(1,5): | |
| dice_count=input(f'Sorry, {dice_count} is not a number, please input a number between 1 and 5.') | |
| dice_count = int(dice_count) | |
| #declare an array of soon-to-be values that we will modify as we go | |
| dice_states = ['<empty>']*dice_count |
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.dash; | |
| import java.io.*; | |
| import java.io.FileOutputStream; | |
| import java.nio.file.DirectoryStream; | |
| import java.nio.file.Files; | |
| import java.nio.file.Paths; | |
| import java.nio.file.Path; | |
| import java.io.IOException; | |
| import java.util.zip.GZIPOutputStream; |
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
| message Keepalive { | |
| Chat focus = 1; | |
| } | |
| message Chat { | |
| bytes uuid = 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
| bot_kick; | |
| exec gamemode_competitive; | |
| mp_free_armor 1; | |
| mp_freezetime 3; | |
| mp_weapons_allow_map_placed 1; | |
| mp_humanteam any; | |
| mp_restartgame 1; | |
| mp_round_restart_delay 3; | |
| mp_roundtime 80250; | |
| mp_maxrounds 30; |
OlderNewer