Skip to content

Instantly share code, notes, and snippets.

View dkullmann's full-sized avatar

David Kullmann dkullmann

View GitHub Profile
@dkullmann
dkullmann / product-lifecycle.md
Created February 5, 2015 16:00
Estimates and Planning

I don't think your product development lifecycle is well defined and understood by everyone and I think that has an impact on velocity, estimating, and planning, so I thought I'd share some thoughts with you.

Estimates and Planning

Estimates and planning are always challenging in engineering. However, there are common mistakes which can be avoided and good practices that can be implemented with the effect of removing uncertainty around engineering. The first is making sure the product development lifecycle is well understood so that project managers, product designers, engineers, and upper management all have a mutual understanding of what to expect.

The product lifecycle that we use at Citrusbyte is:

Idea -> Text Requirements -> Wireflows + Visual Design -> Engineering -> Complete Product/Feature

h1 test

h2 test

h3 test

h4 test

h5 test
h6 test
@dkullmann
dkullmann / future_activities.json
Last active August 29, 2015 14:00
Simple activities
[
{
"id": 1,
"topic_id": 1,
"type": "reading",
"title": "Introduction to Time Complexity",
"content_url": "http://some_url.com",
"duration":60,
"directions": "lorem ipsum",
"created_at": "2014-03-10T13:23:31Z",

Most active GitHub users

This is the count of contributions to public repos at GitHub.com from Sun, 08 Jan 2012 16:41:12 GMT till Tue, 08 Jan 2013 16:41:12 GMT.

To repeat:

  1. Take all GitHub users with 150+ followers (there are ~1000 of them).
  2. Sort them by number of public contributions.

Made with data mining of GitHub.com.

public static function handleError($code, $description, $file = null, $line = null, $context = null) {
if (error_reporting() === 0) {
return false;
}
$errorConfig = Configure::read('Error');
list($error, $log) = self::mapErrorCode($code);
$debug = Configure::read('debug');
if ($debug) {
$data = array(
@dkullmann
dkullmann / AppModel.php
Created July 26, 2012 01:31
To allow CakePHP to manage more than one schema per model, add this to your AppModel.php
class AppModel extends Model {
/**
* cache multiple schemas
*
* @var string
*/
public $_schemas = array();
/**
{
"query":{
"query_string":{
"default_field":"FullAddress",
"query":"2920^0 Valle^1 Vista^2 Drive,^3 Eagle^4 Rock,^5 CA^6"
}
},
"filter":{
"terms":{
"ListingStatus":[
@dkullmann
dkullmann / query.json
Created November 10, 2011 01:38
Why would this ElasticSearch geo_distance search return results so far away?
// http://cl.ly/2y1P02082I2n2g3B3h1s <-- ES results on left, cleaned up results on right
{
"query":{
"match_all":{
}
},
"filter":{
"and":[
@dkullmann
dkullmann / document.json
Created November 9, 2011 16:42
Why doesn't this query (query.json) match this document (document.json) in Elastic Search?
{
"_index":"listings",
"_type":"latest",
"_id":"1500-main-st-venice-ca-90291",
"_version":1,
"exists":true,
"_source":{
"BuildingSize":2915,
"Country":"UNITED STATES OF AMERICA",
"ListPrice":4995000,
@dkullmann
dkullmann / app.js
Created November 7, 2011 17:13
Mustache Iteration Example w/Backbone and an array of objects
jQuery(function() {
var Property = Backbone.Model.extend({
/**
* Primary key-like ID for each model
*/
idAttribute: 'ListingKey',
/**