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
/** | |
* A string builder with built-in support for ANSI escape sequences. | |
* | |
* @author Nathan Fiscaletti | |
*/ | |
public class AnsiStringBuilder | |
{ | |
/** | |
* Reset options. | |
*/ |
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 | |
if (! function_exists('_or')) { | |
/** | |
* Shorthand OR comparison. | |
* | |
* @param mixed $compareTo | |
* @param mixed $values | |
*/ | |
function _or(...$values) { |
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 System; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
namespace FormFader | |
{ | |
/// <summary> | |
/// An object used to control fading forms in and out. | |
/// </summary> | |
class Fader |
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 <stdlib.h> | |
// Type Definitions | |
// These are the type definitions that can be used to check for type | |
// They need to be unique so that only types starting with these | |
// prefixes will be presumed to be of the type specified. | |
typedef enum type { |
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 | |
# Database Reflector | |
# Written by Nathan Fiscaletti | |
# Version 0.1.4 | |
# Released 1512531374 | |
# You can add more reflections here | |
# Use format s_user@s_host:s_pass:s_db>d_user@d_host:d_pass:d_db | |
# Example: "[email protected]:pass:db_a>[email protected]:pass:db_b" |
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 | |
# Usage | |
# ./synful_provisioning_script.sh [version|stable|dev-unstable] [mysql-password] [y/n] | |
# The first parameter is the version to install, | |
# The second parameter is the MySql password to use, | |
# The third parameter is either y/n for allowing Sql over network. | |
# Example Usage: |
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 | |
# A library of bash functions for moving the cursor around. | |
function main() | |
{ | |
# Run the basic test | |
run_test |
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
PUBG meets BF meets Planetside? | |
WIP, Very base line idea. | |
A squad consists of four players, and is assigned to one of the two major teams. | |
Possibly allow for modes with two player squads, but I'm not sure i want a solo | |
version yet or not. | |
Each Squad spawns into a private lobby that only has them and a "Planning Room". |
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 | |
class MyClass | |
{ | |
private $data; | |
public function __construct(array $value) | |
{ | |
$this->data = $value; | |
} |
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 | |
CRASH=$1 | |
APP=$2 | |
ARCH=$3 | |
OUTPUT=$4 | |
# This script will fully symbolicate an iOS Crash Report | |
# Usage: ./symbolicate.sh mycrash.crash MyApp.app arch64 output.crash | |
# |
OlderNewer