This file contains 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 | |
while getopts d:f: option | |
do | |
case "${option}" | |
in | |
d) DIRECTORY="$OPTARG";; | |
f) ARCHIVEFILE="$OPTARG";; | |
esac | |
done |
This file contains 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
const fs = require('fs'); | |
const paramsFile = process.argv[2] || process.argv[1]; | |
if (!paramsFile) { | |
process.exit(1); | |
} | |
console.log("paramsFile: " + paramsFile); |
This file contains 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 | |
# cid:<cid>:tids <--topics in category | |
# (ZSET; score:=timestamp) tag:<tag>:topics AND (SET) topic:<tid>:tags | |
CID=3 #20,27 | |
for TID in `redis-cli zrange cid:${CID}:tids 0 -1`; do | |
TITLE=`redis-cli hget "topic:$TID" title` | |
TIMESTRING=`echo "$TITLE" | grep -o -E "[0-9]{4}-[0-9]{2}-[0-9]{2}"` |
This file contains 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 | |
STEAMCOUNT=0 | |
TOTAL=0 | |
for NUM in `seq 1 500` | |
do | |
STEAMID=`redis-cli hget user:$NUM steamid` | |
POSTCOUNT=`redis-cli hget user:$NUM postcount` | |
if [[ $STEAMID == "" ]] |
This file contains 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
#20:27 | |
p arma3_x64_2017-07-03_20-27-28-946.avi | |
if 00:50 01:57 #watching c-1 from above at LZ1 + Funkverwirrung | |
fnf 12:45 13:00 # down aufnehmen C-1 LZ1 | |
fnf 14:22 14:32 # lift c-1 lz1 | |
fnf 15:30 15:40 # down c-1 lz3 | |
fnf 16:07 16:17 # lift empty lz3 | |
#video danach extrem korrupt, kaum noch bild mehr |
This file contains 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
<!DOCTYPE match SYSTEM "match.dtd"> | |
<match> | |
<squad side="blufor" callsign="Hostage"> | |
<slot shortcode="HOS" description="hostage with greenfor"/> | |
</squad> | |
<company side="blufor"> | |
<squad side="blufor" callsign="Heli" vehicletype="MH-9" natosymbol="air"> | |
<slot shortcode="PLT" description="pilot"/> | |
<slot shortcode="PLT" description="pilot"/> | |
</squad> |
This file contains 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
// Description: | |
// kleine Spielereien | |
// | |
// Dependencies: | |
// | |
// Configuration: | |
// | |
// Commands: | |
// hubot strich <username> fügt einen strich hinzu | |
// hubot striche <username> liest striche aus |
This file contains 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
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for heli1D | |
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for O Wolverin 1-1:2 REMOTE | |
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for heli2D | |
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for O Wolverin 1-2:2 REMOTE | |
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for lift2D | |
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for lift2G | |
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for O Ant 1-2:3 REMOTE | |
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for lift1D | |
20:55:10 [GRAD] (loadout) INFO: no loadout config values could be found for lift1G |
This file contains 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 | |
TEMPFILE=`tempfile` | |
for IDX in `seq 1 1000` | |
do | |
USERNAME=`redis-cli hget user:$IDX username` | |
if [[ "$USERNAME" != "" ]] | |
then | |
LASTONLINE=$((`redis-cli hget user:$IDX lastonline` / 1000)) | |
echo `date -d@$LASTONLINE -I` $USERNAME >> $TEMPFILE | |
fi |
This file contains 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
<div class="column" id="column-left"> | |
<div class="controls"> | |
<ul> | |
<li data-version="#version1">version 1</li> | |
<li data-version="#version2">version 2</li> | |
</ul> | |
</div> | |
<div class="content"> | |
version x drin |