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
#!/bin/sh | |
DEMODIR="/home/csgoserver/serverfiles/csgo/demos" | |
CSGODIR="/home/csgoserver/serverfiles/csgo" | |
find $CSGODIR -xdev -type f -name '*dem' | xargs -I {} mv {} $DEMODIR |
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
#! /bin/bash | |
################################################################################## | |
# # | |
# Counter-Strike : Global Offensive Server Launcher # | |
# # | |
# Author: Cr@zy # | |
# Contact: http://www.crazyws.fr # | |
# Related post: http://goo.gl/HFFGy # |
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
///////// BUYSCRIPT STUFF | |
// ------------------------------------ | |
// WEAPON ALIASES | |
alias "m4a1/ak47" "buy m4a1;buy ak47" | |
alias "aug/sg556" "buy aug;buy sg556" | |
alias "galilar/famas" "buy galilar;buy famas" | |
alias "g3sg1/scar20" "buy g3sg1; buy scar20" | |
alias "vesthelm/vest" "buy vesthelm;buy vest" | |
alias "incgrenade/molotov" "buy incgrenade;buy molotov" | |
alias "glock" "give weapon_glock; buy glock" |
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
#include <stdio.h> | |
int main() | |
{ | |
char c; | |
while ((c=getchar())!=EOF){ | |
putchar(c); | |
} | |
return 0; | |
} |
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
#include <stdio.h> | |
int main() | |
{ | |
char c; | |
char string[]; | |
while ((c=getchar())!=EOF){ | |
putchar(c); | |
} | |
return 0; |
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 python | |
"""GoonPUG-stats log handling daemon""" | |
from __future__ import absolute_import, division | |
import os | |
import sys | |
import argparse | |
import threading | |
import SocketServer | |
import datetime |
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
''' | |
*** | |
Modified generic daemon class | |
*** | |
Author: http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/ | |
www.boxedice.com | |
License: http://creativecommons.org/licenses/by-sa/3.0/ |
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
http://astroman.us/player/28 | |
get request to http://api.goonpug.com/[LAST 4 of STEAMID?] | |
should return: | |
{ | |
"stats": { | |
"rws": "25", | |
"kills": "420", | |
"deaths": "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
http://astroman.us/player/28 | |
get request to http://api.goonpug.com/[LAST 4 of STEAMID?] | |
should return: | |
{ | |
"playerinfo": { | |
"steam_id": "steam_1:1:1234", | |
"name": "griP^", | |
} |
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
Pug Server Commands | |
.invite <name> - Invite players to your current server | |
.start - Open your Custom Pug to the public | |
.ready - Set yourself as ready to pug | |
.need <1-13> - Message mutual buddies that you need help filling a server | |
.stats pug - View current pug stats | |
.stats <name> - View a specific player's stats or your own if no name is provided | |
.stats prizes - View the current prize leaders | |
.rank <pug|csdm|aim|...> - View your ranking for a specific type of stats |
NewerOlder