Skip to content

Instantly share code, notes, and snippets.

Stefan Pretty pretty

Block or report user

Report or block pretty

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
pretty / 0_reuse_code.js
Created Jul 7, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
pretty / RetryTest.php
Last active May 16, 2019 — forked from orottier/ retry.php
Retry function for PHP with exponential backoff
View RetryTest.php
class RetryTest extends TestCase
public function setUp()
// abuse superglobal to keep track of state
$_GET['a'] = 0;
You can’t perform that action at this time.