This file contains hidden or 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 | |
class Character { | |
/** @var int the UID of this character. Corresponds to User->Character */ | |
public $UID; | |
/** @var string The Character's name */ | |
protected $aName; | |
/** @var int Character's Age in years */ | |
protected $Age; | |
/** @var string Character's Gender: M, F, or Other */ |
This file contains hidden or 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 | |
$site_root = $_SERVER["SERVER_NAME"]; | |
$serverRoot = $_SERVER["DOCUMENT_ROOT"] . '/'; | |
spl_autoload_register(function ($class) { | |
global $serverRoot; | |
require_once $serverRoot . 'classes/' . $class . '.class.php'; | |
}); | |
if ( ! isset($_SESSION)) { | |
session_start(); |
This file contains hidden or 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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<style media="screen" type="text/css"> | |
// This is typically an external file that I may not use all of on this page. | |
/* Basic elements */ | |
div { | |
position: relative; | |
} |
This file contains hidden or 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
; :shrug: ¯\_(ツ)_/¯ but using unicode character strings instead of literal characters, for use in programs like Skype for Business. | |
:B0:`:shrug:: | |
if (A_EndChar == ":") { | |
SendInput, {BS 7}{U+00AF}\_({U+30C4})_/{U+00AF} | |
} | |
return | |
; :whatever: ◔_◔ | |
:B0:`:whatever:: |
This file contains hidden or 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 | |
/* Here is some arbitrary code. Note that this is outside the Class definition */ | |
$var = 'Some value'; | |
function doStuff($param) { | |
echo 'Doing stuff with ' . $param . '!'; | |
} |
This file contains hidden or 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
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<div class="page-header"> | |
<h1 id="header" class="text-center">ACWPD Random Password Generator</h1> | |
</div> | |
<p> | |
This tool will generate a password for you using <a href="https://www.random.org/">Random.Org's</a> true random numbers. While the password is not guarenteed to be unique, there is a high probability that it is. It's also not something that can be guessed, as it's random. | |
</p> | |
<p> |
This file contains hidden or 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 | |
namespace wordnik\tests; | |
require_once __DIR__ . '/../vendor/autoload.php'; | |
date_default_timezone_set('America/Los_Angeles'); | |
class WordApiTest extends BaseApiTest { | |
public function setUp() { |
This file contains hidden or 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 | |
declare(strict_types=1); | |
use Symfony\Component\Finder\SplFileInfo as SfFileInfo; | |
class FileClassReflection extends ReflectionClass | |
{ | |
private $fileInfo; |
This file contains hidden or 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
[Rainmeter] | |
Update=1000 | |
@include=Icons.inc | |
[MeasureMedia] | |
Measure=NowPlaying | |
PlayerName=Spotify | |
PlayerType=STATUS | |
IfAboveValue=0 | |
IfAboveAction=[!SetOption TopIcon MeasureName "TopIconPlayPause"][!CommandMeasure "MeasureMediaKey" "PlayPause"][!UpdateMeter TopIcon][!Redraw] |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Futhark Power Generator v1.7beta</title> |
OlderNewer