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
<servers> | |
<server> | |
<port></port> | |
<djpass></djpasss> | |
<ftpuser></ftpuser> | |
<ftppass></ftppass> | |
</server> | |
<server> | |
<port></port> | |
<djpass></djpasss> |
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
<?php | |
abstract class Vpfw_DataMapper_Abstract { | |
protected $dataObjectHolders; | |
protected $database; | |
protected $tableInformation; | |
public function __construct(Vpfw_DataBase_Interface $database, Vpfw_Config_TableInformation $tableInformation) { | |
$this->database = $database; | |
$this->tableInformation = $tableInformation; | |
$this->initializeDataObjectHolders(); |
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 | |
######################################################################### | |
# Backup script for minecraft servers with SCP to another site. # | |
# Stops and starts specified minecraft server for 100% backups. # | |
# Supports multiple minecraft servers on the same machine # | |
# # | |
# Author # | |
# Pierre Christoffersen, www.nahaz.se # | |
# Feel free to redistribute, change or improve, but leave original # | |
# authors and contributers in comments. # |
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 | |
# This script should handle the automatic backup and map generation | |
# of a Minecraft server. | |
# | |
# Steps of the process: | |
# - Stop the Minecraft server if it runs | |
# - Copy the whole Minecraft directory to /tmp | |
# - Start the Minecraft server with the specified parameters | |
# - Compress and transfer the data to a backuphost | |
# - Start map generation and transfer the pictures to a webhost |
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
#include <stdio.h> | |
#include <string> | |
#include <iostream> | |
#include <conio.h> | |
std::string genHtmlForm(std::string formAction, int position, std::string* beschriftung, int anzahl) { | |
std::string toReturn = "<html><body><form action=\"" + formAction + "\" method=\"post\">"; | |
toReturn += "<table align=\""; | |
switch (position) { | |
case 1: |
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
#include <iostream> | |
#include <conio.h> | |
class ArbeitsplatzPC { | |
private: | |
std::string macAdresse; | |
char netz; | |
bool checknetz(char netz); | |
bool checkMac(std::string macAddress); | |
bool checkHex(char magic); |
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
#include <iostream> | |
#include <fstream> | |
#include <conio.h> | |
const std::string inputFileName = "h:/namen.txt"; | |
const std::string outputFileName = "h:/logins.txt"; | |
int main() { | |
std::ifstream inputFile(inputFileName.c_str(), std::fstream::in); | |
std::ofstream outputFile(outputFileName.c_str(), std::fstream::out); |
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
/* | |
* File: Main.cpp | |
* Author: peaceman | |
* | |
* Created on 13. April 2011, 07:55 | |
*/ | |
#include <conio.h> | |
#include <iostream> | |
#include <string> |
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
/* | |
* File: main.cpp | |
* Author: NaegeleNi | |
* | |
* Created on 15. April 2011, 13:10 | |
*/ | |
#include <fstream> | |
#include <sstream> | |
#include <iostream> |
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
/* | |
* File: main.cpp | |
* Author: NaegeleNi | |
* | |
* Created on 15. April 2011, 13:57 | |
*/ | |
#include <iostream> | |
#include <sstream> | |
#include <fstream> | |
#include <vector> |
OlderNewer