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 | |
# Inquisitor Ehrenstein | |
# [email protected] | |
# GNU Free Documentation License | |
# $1 = Wiki name | |
# $2 = Wiki admin user name | |
# $3 = Wiki admin user password | |
# $4 = Wiki database name |
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 | |
# Inquisitor Ehrenstein | |
# [email protected] | |
# GNU General Public License | |
if( !defined( 'MEDIAWIKI' ) ) { | |
echo( "This is an extension to the MediaWiki package and cannot be run standalone.\n" ); | |
die( -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
<?php | |
$text = $argv[1]; | |
$br = ' | |
'; | |
$output = hash( sha256, $text ); | |
echo $output, $br; |
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 | |
scp $1 [email protected]:/server/******/******/sashaweb.net/www/$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
desuCount = 1 | |
while desuCount <= 1000: | |
desuNum = 1 | |
desuFile = open( 'DESU/desu_'+str(desuCount)+'.txt', 'a' ) | |
while desuNum <= 100000: | |
desuFile.write( 'DESU ' ) | |
desuNum = desuNum + 1 | |
desuFile.close() | |
desuCount = desuCount + 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
/* ********************************************************************************** | |
* MediaWiki logo replacer script | |
* Author: Inquisitor Sasha | |
* Contributors: | |
* | |
* Developed for the Orain MediaWiki free wiki hosting service | |
* | |
* Replace the current logo of the wiki with your own logo image from anywhere | |
* Additionally, your can change the page that the logo image will link to, | |
* such as if your wiki uses a different main page title from the standard |
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
/* ********************************************************************************************** | |
* Wiki mass attribution import script | |
* | |
* Author: User:Inquisitor Sasha | |
* Created for Orain wikis to import content from Wikia | |
* This script is freely available for reuse and modification under CC-BY-SA | |
* | |
* To use this script, copy it into the MediaWiki:Vector.js file on your wiki. You will need | |
* to change the domain in the variable wikiDomain to the full domain of the wiki that you | |
* are importing content from. |