Skip to content

Instantly share code, notes, and snippets.

View afolson's full-sized avatar

Amanda Folson afolson

View GitHub Profile
@jeroenvdgulik
jeroenvdgulik / Talklist.md
Last active December 17, 2023 19:04
My mostly incomplete list of memorable talks that should probably be required material

The list is now hosted on a repository so you can PR -> https://github.com/jeroenvdgulik/awesome-talks/blob/master/README.md

The list

@rauchg
rauchg / README.md
Last active January 6, 2024 07:19
require-from-twitter
@Ocramius
Ocramius / .gitignore
Last active July 22, 2017 15:20
PissOff: a valid, polite and useful alternative to the `void` return type in PHP
vendor
composer.lock
@lagbox
lagbox / ResourceRegistrar.php
Last active May 12, 2016 00:11
ResourceRegistrar with custom wildcards and global wildcard mapping
<?php
namespace Illuminate\Routing;
use Illuminate\Support\Str;
class ResourceRegistrar
{
protected static $wildcardMap = [];
@manchuck
manchuck / Songs.md
Last active September 26, 2016 19:52
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
JeffreyWay / PjaxMiddleware.php
Last active February 24, 2024 13:40
Laravel middleware for working with pjax.
<?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

Commands

Getting Started

git init

or

@raulfraile
raulfraile / study_group.md
Last active August 29, 2015 14:07
Study group

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 April 12, 2024 17:24
Things to commit just before leaving your job
// 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 April 11, 2012 22:50
Save attachments from imap messages to disk.
<?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