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 | |
/* | |
* TCP only PHP Quote Of The Day Server | |
* Fuck the spec #GoogleChrome | |
* My Excuse for not being productive during this internet outage ^.^ | |
* By Flashwave <http://flash.moe> | |
*/ | |
// Configuration | |
$conf['address'] = '0.0.0.0'; |
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 | |
/* | |
* Satoko Image Board Engine | |
* (c)Flashwave (flashii) 2014 | |
* http://flashii.net/ | |
*/ | |
// Include Language and Configuration file | |
require('config.php'); | |
include('lang/'.$satoko['language'].'.php'); |
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
using Discord; | |
using Discord.Audio; | |
using Discord.Commands; | |
using NAudio.Wave; | |
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Threading; |
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 | |
$modes = [ | |
'swf' => 'swf/*.swf', | |
'catgirls' => 'catgirls/*.*', | |
'coffington' => 'coffington/*.*', | |
'flashwave' => 'flashwave/*.*', | |
]; | |
$mode = (isset($_GET['mode']) && array_key_exists($_GET['mode'], $modes) ? $_GET['mode'] : array_keys($modes)[0]); |
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 | |
/* | |
* Phone Numberpad Encoding | |
* Provided to you by Flashwave | |
* | |
* Pretty much what this does is encode (and decode) strings into other strings (wow technology) | |
* that consist out of 1-9, # and *. | |
* This is not really supposed to be anything serious, just something I'm doing out of boredom. | |
* | |
* The goal of this is to be able to encode anything and still be able to decode it properly. |
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 | |
/* | |
* Sakura Main Index | |
*/ | |
// Declare Namespace | |
namespace Sakura; | |
// Include components | |
require_once str_replace(basename(__DIR__), '', dirname(__FILE__)) .'_sakura/sakura.php'; |
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
Options -Indexes | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} !/puush_relay\.php [NC] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^([^/][a-zA-Z0-9./]+)$ puush_relay.php?id=$1 [L] |
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
Made this in 2013, kind of the grandfather of my current whois-php thing, some parts are kind of similar although the newer one should be more refined |
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 | |
// Check if "uid" GET request is set | |
if(isset($_GET['uid'])) { | |
// Get data from remote server and surpress errors | |
$apiData = @file_get_contents('http://flashii.net/u/' . $_GET['uid'] . '/api'); | |
// If nothing was retrieved display the following error and die | |
if($apiData == FALSE) { | |
die('<h1>Failed to retrieve API data!</h1>Is Flashii.net down?'); |
NewerOlder