Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am greydnls on github.
  • I am greydnls (https://keybase.io/greydnls) on keybase.
  • I have a public key whose fingerprint is 62FF 1A50 3AA9 604E A822 6818 57D0 2B5F 3EE9 7AAD

To claim this, I am signing this object:

@greydnls
greydnls / oneyear.md
Last active May 20, 2016 18:49
One Year After The Fall

Last year was a big year for me, a life shattering earth shaking kind of year. The kind of year that changed me fundamentally, and changed just about everything about my life.

I don't remember how the year started, but I remember how it ended. I was working 70+ hours per week. I hardly ever saw my kids. I worked at home, so I rarely left the house. I didn't have many friends that weren't on the internet. In fact, I rarely talked in person to any adults other than my husband for weeks at a time from about June on.

I tried to change it. I tried to fix it, to patch it, to stop it from getting worse. But I couldn't or I didn't. It only got worst. I spiraled farther and farther down a hole, until there was no way out. No way up. Only down, only further, only darker. And so down I went.

It got to the point that I was numb. I couldn't feel. I couldn't find anything about myself that was worth sticking around for. I'd done terrible things in my attempts to flee the life that I felt was trapping me into this ter

@greydnls
greydnls / pumpkins-podcasts.md
Last active September 26, 2015 01:40
Of Pumpkins and Podcasts

Facts: I run two podcasts, I have a daughter and I'm not famous.

I started #NoCapes a little over a year ago, and it's been a blast to run. I get to talk to some of the people that I look up to most and interact with the community. The Algorythmics I launched last night with my good friend Chris Pitt.

There are no words to explain how much I love doing both of these things.

As with just about anything in my life, my kids know what I'm doing. I make a point to share the things I do with them so they can see what Mommy's doing and why she works as hard as she does. They watch me code, they understand (basically) what a red/green cycle is. They've seen my talks, and they know about my podcasts.

Somehow my daughter, who is my eldest and has a firm handle on how to google, takes all of this to mean that I'm famous. In addition to googling her mother, she's also a big fan of YouTube. Her absolute favorite videos to watch are "unboxing videos". Apparently, people run "shows" where they do nothing more than u

@greydnls
greydnls / specification.tpl
Created September 4, 2015 14:30
PHPSpec template php5
<?php
namespace %namespace%;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class %name% extends ObjectBehavior
{
function it_is_initializable()
@greydnls
greydnls / default.php
Created June 18, 2015 16:14
Default Object
public function amazingFunction(CoolObjectInterface $object = new SlightlyColdObject())
{
$this->object = $object;
}
public function notAsAmazingFunction(BlahObjectInterface $object = null)
{
if ($object == null) $this->object = new BoringObject();
}
@greydnls
greydnls / test.md
Last active August 29, 2015 14:16
test
@greydnls
greydnls / permprods.php
Created January 3, 2015 06:06
Products of Permutations
<?php
class Permutation
{
private $input;
private $raw;
function __construct($input)
{
$this->input = $this->parseInput($input);
@greydnls
greydnls / LSM.php
Last active May 7, 2021 07:48
Least Squares Method
<?php
/**
* Created by PhpStorm.
* User: kayladnls
* Date: 12/19/14
* Time: 4:52 PM
*/
class LeastSquares
{
@greydnls
greydnls / BST.php
Last active August 29, 2015 14:11
Binary Search Tree Implementation
<?php
/**
* Created by PhpStorm.
* User: kayladnls
* Date: 12/17/14
* Time: 5:06 PM
*/
class BinarySearchTree
{
@greydnls
greydnls / tofz3.php
Created December 14, 2014 03:14
TofZGraph
<?php
/**
* Created by PhpStorm.
* User: kayladnls
* Date: 12/13/14
* Time: 9:38 PM
*/
// for each row, go up one left one + up one right 2