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 | |
F=~/pcinfo.txt | |
echo "Gathering hardware information..." | |
echo "Result file will be saved @ $F" | |
# Ubuntu, Debian, Fedora, ... | |
if [ `which lsb_release 2>/dev/null` ]; then | |
lsb_release -ir >$F 2>/dev/null |
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
var util = require("util") | |
var path = require("path") | |
var fs = require("fs") | |
var debug = util.debuglog("dm-loader") | |
exports.install = function (dm) { | |
if (dm.directory) { | |
debug("dm.directory already defined! skipping") | |
return | |
} |
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
{ | |
"Advanced Touch": "Höhere Veredelung", | |
"Standard Synthesis": "Solide Bearbeitung", | |
"Master's Mend II": "Wiederherstellung II", | |
"Great Strides": "Große Schritte", | |
"Standard Touch": "Solide Veredelung", | |
"Observe": "Beobachten", | |
"Inner Quiet": "Innere Ruhe", | |
"Steady Hand": "Ruhige Hand", | |
"Master's Mend": "Wiederherstellung", |
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 | |
USERNAME="minecraft" | |
SERVICE='forge.jar' | |
JAVA_OPTS="-Xmx8G -Xms8G" | |
MCPATH="/srv/$USERNAME" | |
BACKUPPATH="$MCPATH/backup" | |
BACKUPARCHIVEPATH=$BACKUPPATH/archive | |
INVOCATION="/usr/bin/java ${JAVA_OPTIONS} -jar $SERVICE nogui" |
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() { | |
function getScript(url) { | |
var script = document.createElement('script'); | |
script.src = url; | |
var head = document.getElementsByTagName('head')[0], done = false; | |
script.onload = script.onreadystatechange = function() { | |
if ( !done && (!this.readyState | |
|| this.readyState == 'loaded' | |
|| this.readyState == 'complete') ) { | |
done=true; |
NewerOlder