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
import "dart:math"; | |
import "dart:io"; | |
/// Represent a mark on a board | |
class Mark extends Point<int> { | |
// Properties | |
bool _checked = false; | |
String _representation; |
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 | |
// Set the THINGS!!!! | |
$endpoint = 'http://colorapi.paramore.s2.paramoreredd.com/color-queue'; | |
$color_id = 5; // Purple??? | |
// Create the curl | |
$curl = curl_init(); | |
// Set some options |
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
git checkout PHP-M.m # Replace M.m with the Major.minor versions (ex: PHP-5.4) | |
./buildconf --enable-maintainer-mode | |
./configure --prefix=/usr/local --enable-opcache=no --disable-all | |
make | |
make test |
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 | |
function return_me_data_pls() { | |
$params_to_return = array( | |
'count' => range(1,10), | |
'sum' => array_sum(range(1,10)) | |
); | |
return $params_to_return; | |
} |
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 Doge | |
{ | |
private $name; | |
public function __construct($name) | |
{ | |
$this->name = $name; |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"strings" | |
"time" | |
) | |
// Default configuration |
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
package main | |
import ( | |
"bytes" | |
"fmt" | |
"math/rand" | |
"strings" | |
"time" | |
) |
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
*steez* (noun) \stˈēz\ - The state representing a particular style that is presented with an ostensible ease; style with ease. | |
> That backside air had some serious steez. | |
> Woah, that new design is just oozing steez. | |
*steezy* (adjective) \stˈēzē\ - Performed or presented with style while showing an apparent ease. | |
> That Stale Sandbech guy makes everything look steezy. | |
> I've got that trick down now, but I really gotta work on making it steezy. |
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
#/usr/bin/env bash | |
# | |
# Gifsicle: http://www.lcdf.org/gifsicle/man.html | |
# | |
# Use `seq` to create a list sequence of integers, skipping every even number | |
# `seq -f "#%g" 0 2 213` | |
gifsicle --unoptimize image.gif | gifsicle --dither --colors 48 --resize-fit-width 512 -O2 `seq -f "#%g" 0 2 213` -o image.optimized.gif |
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 | |
ini_set('error_reporting', E_ALL); | |
ini_set('display_errors', 1); | |
ini_set('log_errors', 1); | |
date_default_timezone_set('UTC'); | |
const LOG_PATH = '/var/log/debug/request-dump.log'; |