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 | |
TMPFILE="`mktemp /tmp/ucigrep.XXXX`" | |
MATCHLINES="`mktemp /tmp/ucigrep.lines.XXXX`" | |
case $2 in | |
vorverkauf|Vorverkauf) | |
curl 'https://www.uci-kinowelt.de/coming-soon' 2> /dev/null | grep -Po "(?<=href\=\")/film.*?(?=#scroll-programm#scroll-programm\")" > $TMPFILE | |
;; | |
Programm|programm) | |
echo TODO! |
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 | |
FTPSERVER1="ftp1.example.com" | |
FTPSERVER2="ftp2.example.com" | |
USER1="user" | |
USER2="user" | |
PASSWORD1="password" | |
PASSWORD2="password" |
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
login anonymous | |
force_install_dir /home/valve-src/Half_Life2 | |
app_update 232370 validate | |
quit |
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 | |
### BEGIN INIT INFO | |
# Provides: procon | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: ProCon-Layer Server | |
# Description: Starts ProCon-Layer Server |
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
wget http://javadl.oracle.com/webapps/download/AutoDL?BundleId=cryptischeid -O java.tar.gz | |
mkdir -p /usr/lib/jvm | |
cd /usr/lib/jvm | |
tar -xzf /path/to/java.tar.gz | |
chown -R root:root /usr/lib/jvm |
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
ln -s jre_version latest | |
update-alternatives --install /usr/bin/java java /usr/lib/jvm/latest/bin/java 100 |
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 -e | |
INSTALLPATH=/usr/local/lib/jvm | |
CREATE_ID_HISTORY=true | |
ID_HISTROY_FILE=/root/AutoBundleIdHistroy | |
cd $INSTALLPATH | |
case $1 in | |
x64|amd64) |
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 | |
#CHANGE ME!!!!!!!!!!!!! | |
ASUSER=minecraft | |
asuser(){ | |
if [ "`whoami`" = "$ASUSER" ]; then | |
/bin/bash -c "$@" | |
else | |
/bin/su -ml $ASUSER -c "$@" |
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
[Unit] | |
Description=Mincraft Server | |
After=network.target | |
[Service] | |
Type=forking | |
User=minecraft | |
Group=minecraft | |
StandardOutput=tty | |
StandardError=tty |
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
function getData() { | |
var response = UrlFetchApp.fetch('http://api.technicpack.net/modpack/litwr-after-humans-unofficial-import-bgde?build=349'); | |
Logger.log(response.getContentText()); | |
var data = JSON.parse(response.getContentText()); | |
Logger.log(data.downloads); | |
var sheet = SpreadsheetApp.openById("1H1AhF4bYGtjhT1rKhPuokfdO6VUf2yrYZ1oGPK97yH4").getSheetByName("data"); | |
var last = sheet.getLastRow(); | |
var lastdl = sheet.getDataRange().getCell(last, 2).getValue() |
OlderNewer