Skip to content

Instantly share code, notes, and snippets.

Available for new consulting projects this spring.

Beau Simensen simensen

Available for new consulting projects this spring.
View GitHub Profile
View gist:a004e023dc54846dbc54a884c0d896d3
- Bring Guzzle HTTP into the project
- Use `AppServiceProvider` or add a `RedditServiceProvider`
- Add a route `/r/{subreddit}`
- `{subreddit}.json`
- Render a Blade view with articles
- List articles on view
simensen / MyReactComponent.js
Created Dec 9, 2015 — forked from thmain/MyReactComponent.js
Skeleton React Component with descriptions for all of its lifecycle methods
View MyReactComponent.js
* @jsx React.DOM
var React = require('react'),
MyReactComponent = React.createClass({
// The object returned by this method sets the initial value of this.state
getInitialState: function(){
return {};
View -
#!/usr/bin/env bash
# Copyright (C) 2012 Dragonfly Development Inc.
View console.php
use Silex\Application AS SilexApplication;
use Symfony\Component\Console\Application AS ConsoleApplication;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Helper\HelperSet;
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
use Doctrine\ORM\Tools\Console\ConsoleRunner;
require_once __DIR__.'/../web/index.php';

Keybase proof

I hereby claim:

  • I am simensen on github.
  • I am simensen ( on keybase.
  • I have a public key whose fingerprint is 410B 3483 2AD8 EF16 54BE D5DD AB0E 3B66 FD69 F67C

To claim this, I am signing this object:

View gist:6665994
namespace Yolo;
class ServiceNotFoundException extends \RuntimeException {}
class RecursiveServiceDefinitionException extends \RuntimeException {}
class InvalidArgumentException extends \RuntimeException {}
class Container
N="`readlink \"$1\"`"
mv -T "$1.stage" "$1"
ln -s "$N" "$1.stage"
rm -rf "$N"
cp -aH "$1" "$N"
git subsplit publish "
simensen / gist:4527433
Created Jan 14, 2013
PHP FQDN Golf scores
View gist:4527433
find src -name '*.php' | grep -iv tests | cut -f2- -d/ | cut -f1 -d\. | awk '{ print length, $0 }' | sort -n | tr / \\
simensen / gist:4255739
Created Dec 11, 2012 — forked from victorb/gist:4181764
Static Site Generators
View gist:4255739

This is an updated fork of the gist located here:

Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.