Skip to content

Instantly share code, notes, and snippets.


Amanda Folson afolson

  • "Amanda" on Freenode
View GitHub Profile
jeroenvdgulik /
Last active May 12, 2020
My mostly incomplete list of memorable talks that should probably be required material
rauchg /
Last active Sep 29, 2020
Ocramius / .gitignore
Last active Jul 22, 2017
PissOff: a valid, polite and useful alternative to the `void` return type in PHP
View .gitignore
lagbox / ResourceRegistrar.php
Last active May 12, 2016
ResourceRegistrar with custom wildcards and global wildcard mapping
View ResourceRegistrar.php
namespace Illuminate\Routing;
use Illuminate\Support\Str;
class ResourceRegistrar
protected static $wildcardMap = [];
manchuck /
Last active Sep 26, 2016
Songs I want to learn to play on my violin
  • Legand of Zelda Theme
  • Super Mario
  • "The Devil Went Down to Georgia" - Charlie Daniels
  • "Waiting for the End" - Linkin Park
  • "I Believe in a Think Called Love" - The Darkness
  • "Under Pressure" - Daive Bowie / Queen
  • "Into the Mystic" - Van Morrison
  • "Teenage Dirtbag" - Wheatus
  • "Dr Worm" - They Might Be Giants
  • "Birdhouse In Your Soul" - They Might Be Giants
JeffreyWay / PjaxMiddleware.php
Last active Jul 16, 2020
Laravel middleware for working with pjax.
View PjaxMiddleware.php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Symfony\Component\DomCrawler\Crawler;
class PjaxMiddleware

Git Cheat Sheet

Visit my blog.


Getting Started

git init



Study group

The goal of the study group is to learn together cool/advanced/edge stuff that we are not used to see in the PHP world, such as:

  • Turing machines
  • Data mining
  • Esoteric languages
  • Database internals
  • Data structures
  • Algorithms
aras-p / preprocessor_fun.h
Last active Oct 14, 2020
Things to commit just before leaving your job
View preprocessor_fun.h
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
hakre / imap-attachment.php
Created Apr 11, 2012
Save attachments from imap messages to disk.
View imap-attachment.php
* imap-attachment.php
* @author hakre <>
* @link
* Utility Class
You can’t perform that action at this time.