Skip to content

Instantly share code, notes, and snippets.

Mateusz Łopaciński robopuff

Block or report user

Report or block robopuff

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@robopuff
robopuff / paint
Last active Jun 27, 2018
Draw image in terminal (True Color) with PHP
View paint
#!/usr/bin/env php
<?php
define('VERSION', '1.0.24');
define('DEFAULT_PIXEL', "\xE2\x96\x84");
define('RC', "\e[0m");
define('RCNL', RC . PHP_EOL);
define('CURRENT_FILE', array_shift($argv));
error_reporting(0);
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@loonies
loonies / 1_phpunit-api.md
Last active Mar 26, 2020
PHPUnit Cheat Sheet
View 1_phpunit-api.md

PHPUnit API reference

  • version 3.6

TODO

Check those constraints:

$this->anything()
You can’t perform that action at this time.