Skip to content

Instantly share code, notes, and snippets.

View amcoder's full-sized avatar

Andy Miller amcoder

View GitHub Profile

Keybase proof

I hereby claim:

  • I am amcoder on github.
  • I am amcoder (https://keybase.io/amcoder) on keybase.
  • I have a public key ASDH8NgIYOL6cMY9eZy_1iAgFIKPmw8GkIvGHcfU4tmskQo

To claim this, I am signing this object:

@amcoder
amcoder / IWidgetCreator.cs
Created September 29, 2017 21:31
.net core DI
public interface IWidgetCreator
{
Widget Create(Widget widget);
}
@amcoder
amcoder / life.rs
Last active June 21, 2016 19:23
Life
mod life {
use std::usize;
#[derive(Debug)]
#[derive(PartialEq)]
#[derive(Copy)]
#[derive(Clone)]
pub enum Cell {
Alive,
Dead,
[WebMethod(true)]
public void EndGroundTransportationTrip(int tripId)
{
var commandText = @"GT_EndTrip";
using (TransactionScope scope = new TransactionScope())
{
using (SqlConnection connection = new SqlConnection(this.ConnectionString))
{
connection.Open();