Skip to content

Instantly share code, notes, and snippets.

View efleming969's full-sized avatar

Erick Fleming efleming969

  • Fleming Services, LLC
  • Frankfort, KY
View GitHub Profile
@efleming969
efleming969 / dockers.md
Last active January 18, 2017 10:48
Docker demo notes

general

docker run modes

  • foreground vs background (detached)
  • iteractive tty option

simple hello world

docker run ubuntu:14.04 echo 'hello world'

var expect = chai.expect;
describe( 'test double examples', function () {
it ( 'should calculate the proper value', function () {
var ds = new DataService();
var x = new Foo( ds );
sinon.stub( ds, "lookupMultiplier" ).returns( 2 );
package example;
import java.util.*;
import java.io.*;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import org.junit.*;
import org.junit.rules.*;
<script src="vendor/jquery.js"></script>
<style>
#ball {
position: relative;
top: 290px;
}
#lane {
position: relative;
height: 300px;

Continuous Delivery

Feedback is one of the key tenants of Agile software development. We emphasize the need for creating tight feedback loops in order to steer our efforts in the "right" direction and to ensure that the customer is getting what they need.

There are many practices within the software engineering community and specifically within the Agile community, that can help facilitate these shorter freedback cycles. "Continuous Delivery" is one such practice that can enable quick feedback at any point in the development process and is typically a penultimate sign of a well functioning team.

Significant credit for starting the "Continuous Delivery" movement can be attributed to Jez Humble, Chris Read, and Dan North for their 2006 article "The Deployment Production Line" where they layout the core concepts and benefits of deploying working software with "a single push of a button". I'll leave the historical details as an exercise for the reader.

The definition of "Continous Delivery", however, is qui

Some General Concepts

  1. "Trust" in the test suite is an absolute must
  2. The practice is more important than the tools
  3. The ops department should be responsible for providing a PaaS, this will allow the development team to be responsible for the bulk of the delivery

Deployment pipeline

@efleming969
efleming969 / gist:8957876
Created February 12, 2014 15:41
delete indexedDB database
webkitIndexedDB.webkitGetDatabaseNames ().onsuccess =
function ( x, y ) {
console.log ( indexedDB.deleteDatabase ( x.target.result[1] ) )
}
@efleming969
efleming969 / fiddle.js
Last active January 3, 2016 01:59
React radio options
var v = React.DOM
var RadioOptions = React.createClass
( { render: render
, handleClick: handleClick
}
)
var props =
{ name: "uniqueName"
vnoremap <C-r> "hy:%s/<C-r>h//gc<left><left><left>