Skip to content

Instantly share code, notes, and snippets.

Avatar

Amanda Folson afolson

  • "Amanda" on Freenode
View GitHub Profile
@jeroenvdgulik
jeroenvdgulik / Talklist.md
Last active May 12, 2020
My mostly incomplete list of memorable talks that should probably be required material
@rauchg
rauchg / README.md
Last active Sep 29, 2020
require-from-twitter
View README.md
@Ocramius
Ocramius / .gitignore
Last active Jul 22, 2017
PissOff: a valid, polite and useful alternative to the `void` return type in PHP
View .gitignore
vendor
composer.lock
@lagbox
lagbox / ResourceRegistrar.php
Last active May 12, 2016
ResourceRegistrar with custom wildcards and global wildcard mapping
View ResourceRegistrar.php
<?php
namespace Illuminate\Routing;
use Illuminate\Support\Str;
class ResourceRegistrar
{
protected static $wildcardMap = [];
@manchuck
manchuck / Songs.md
Last active Sep 26, 2016
Songs I want to learn to play on my violin
View Songs.md
  • 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
JeffreyWay / PjaxMiddleware.php
Last active Jul 16, 2020
Laravel middleware for working with pjax.
View PjaxMiddleware.php
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Symfony\Component\DomCrawler\Crawler;
class PjaxMiddleware
View Getting-Cheat-Sheet.md

Git Cheat Sheet

Visit my blog.

Commands

Getting Started

git init

or

View study_group.md

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
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
hakre / imap-attachment.php
Created Apr 11, 2012
Save attachments from imap messages to disk.
View imap-attachment.php
<?php
/**
* imap-attachment.php
*
* @author hakre <hakre.wordpress.com>
* @link http://stackoverflow.com/questions/9974334/how-to-download-mails-attachment-to-a-specific-folder-using-imap-and-php
*/
/**
* Utility Class
You can’t perform that action at this time.