Skip to content

Instantly share code, notes, and snippets.

AmyStephen /
Last active Sep 24, 2015
Questions regarding Tareik Artis Shooting

Tareik Artis

My name is Amy Stephen. I am a long time Nebraska resident with questions for the media and Lincoln Police about the September 22, 2014, Tareik Artis shooting by the Metro Fugitive Task Force. I am a citizen sharing questions I have regarding the information shared - and not yet shared - on this shooting. I am not an attorney or a public official.


Question: What is Tareik condition? Is he still in critical condition? Has his family been able to visit him? Has his statement been taken? Have statements from the driver and other passenger been taken? Have they been arrested? If so, why? Please publish any available information from Tareik and those who were with him in the car.

Probable cause for detaining Tareik Artis

AmyStephen / Reflection.php
Last active Aug 29, 2015
Creates @Covers statements for class methods
View Reflection.php
$class = new ReflectionClass('Molajo\Controller\DateController');
$methods = $class->getMethods();
foreach ($methods as $method) {
echo ' * @covers ' . $method->class . '::' . $method->name . PHP_EOL;
AmyStephen / email.php
Last active Aug 29, 2015
What pattern does this use?
View email.php
class Email implements EmailInterface
* Email Handler
* @var object
* @since 1.0
protected $handler;
AmyStephen / tabs.html
Created Jan 24, 2014
Foundation 5 - Tabs with embedded grid
View tabs.html
<!DOCTYPE html>
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en"> <!--<![endif]-->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/Css/normalize.css">
View Cat.php
* Cat Class
* @package Test
* @license MIT License
* @copyright 2013 Amy Stephen. All rights reserved.
namespace Animal;
AmyStephen / wtf.php
Created Oct 7, 2013
How do you determine if a value is an Integer?
View wtf.php
// Case 1 Produces:
// int_of_value: 0 is equal to value: dog
$value = 'dog';
$int_of_value = (int) $value;
if ($int_of_value == $value) {
echo 'int_of_value: ' . $int_of_value . ' is equal to value: ' . $value;
AmyStephen / bepositive.php
Last active Jul 6, 2018
In Defense of Positive Logic over Happy Path
View bepositive.php
* Option 1: Happy Path (! $this)
// 1. The world begins.
if (! $this) {
$result = 'No complaints. This is easy to understand and follow.';
AmyStephen / rename.php
Last active Dec 24, 2015
Quick and dirty rename of all files of one file extension to another (in this case, .html.php to .phtml)
View rename.php
$objects = new RecursiveIteratorIterator
(new RecursiveDirectoryIterator(__DIR__),
foreach ($objects as $path => $fileObject) {
$use = true;
$file_name = '';
AmyStephen / Performance.sql
Created Jul 20, 2013
View Performance.sql
// Normal query
SELECT, a.title, b.category
FROM table a,
table b
WHERE a.category_id = b.category_id
EXPLAIN SELECT, a.title, b.category
AmyStephen / NoContact.sql
Created Jul 11, 2013
Joomla Core Query withOUT contact
View NoContact.sql
SELECT, a.title, a.alias, a.introtext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END AS modified, a.modified_by, AS modified_by_name,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END AS publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, LENGTH(a.fulltext) AS readmore,
CASE WHEN IS NOT NULL THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE END AS author, AS author_email, parent.title AS parent_title, AS parent_id, parent.path AS parent_route, parent.alias AS parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count AS rating_count,c.published,