Skip to content

Instantly share code, notes, and snippets.

View motowilliams's full-sized avatar

Eric Williams motowilliams

View GitHub Profile
@motowilliams
motowilliams / GuidmansCreed.txt
Created April 15, 2013 18:45
Guidmans Creed
This is my guid. There are many like it, but this one is mine.
My guid is my best friend. It is my life. I must master it as I must master my life.
My guid, without me, is useless. Without my guid, I am useless. I must fire my guid true. I must shoot straighter than my enemy who is trying to kill me. I must shoot him before he shoots me. I will...
My guid and I know that what counts in this war is not the rounds we fire, the noise of our burst, or the smoke we make. We know that it is the hits that count. We will hit...
My guid is human, even as I, because it is my life. Thus, I will learn it as a brother. I will learn its weaknesses, its strength, its parts, its accessories, its sights and its barrel. I will keep my guid clean and ready, even as I am clean and ready. We will become part of each other. We will...
Before God, I swear this creed. My guid and I are the defenders of my country. We are the masters of our enemy. We are the saviors of my life.
So be it, until victory is America's and there is no ene
@motowilliams
motowilliams / EnableMigrationsResult.txt
Created March 18, 2013 21:25
Tried to enable migrations on a project and got his productivity killer. Doesn't support LocalDB?
PM> Enable-Migrations
Checking if the context targets an existing database...
System.Data.ProviderIncompatibleException: An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct. ---> System.Data.ProviderIncompatibleException: The provider did not return a ProviderManifestToken string. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.T
@motowilliams
motowilliams / Blacksunshine Specs
Created February 24, 2013 04:08
Blacksunshine Specs
1966 Chevrolet C-10
Name: Blacksunshine
Photo: http://distilleryimage7.s3.amazonaws.com/cd8d04ec831111e1abb01231381b65e3_7.jpg
Carb: Edelbrok 9900 / 600 cfm / electric choke
Transmission: Deluxe TKO-500 5-speed
Rear end: 3.08
Fuel pump: JEGS 80-GPH
Engine: Pace Performance 350 Chevrolet
Power: 300 HP @5300 RPM, 356 ft. lbs. of torque @ 3700 RPM
Displacement: 350 CID, 5.7L
@motowilliams
motowilliams / mentions.txt
Created September 27, 2012 16:06
Just saying
Mentions: nexus
Nexus back from repair from Samsung. If this doesn't work I'm going to Wayne Brady on them.
Mentions: android
Anybody know if you can remove items (without uninstalling the application) from the share menu in #android Jelly Bean?
The one thing that is missing from a fresh Android phone re-sync process is the {in a big echo space voice} authenticating-off-all-the-apps
@johnsheehan You hate android so there is really nothing that is going to make you want Samsung.
You know what I like about my Android device? The transit directions to your mom's house!
Now that Google Listen is tango uniform what should I be using for an Android podcast client (preferably with the same hooks to greader)
@Mallioch Try mobile chrome - it is teh awesome (at least on Android)
@motowilliams
motowilliams / Program.cs
Created September 27, 2012 04:44
Side-By-Side comparison for TPL and Sequential out of band calls
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApplication34
{
class Program
@motowilliams
motowilliams / gist:3784042
Created September 25, 2012 19:51
motowilliams opml for Google Listen
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>"Listen Subscriptions" subscriptions via MotoWilliams in Google Reader</title>
</head>
<body>
<outline title="Listen Subscriptions" text="Listen Subscriptions">
<outline text="(406)Sta-rtup" title="(406)Sta-rtup"
type="rss" xmlUrl="http://406startup.com/feed/" htmlUrl="http://406startup.com"/>
@motowilliams
motowilliams / index.js
Created July 17, 2012 16:35
Knockout ViewModel
$(function() {
var viewModel = function() {
var self = this;
self.address = ko.observable("Portland");
self.list = ko.observableArray();
self.hasData = function(){return self.list().length > 0;};
@motowilliams
motowilliams / index.html
Created July 17, 2012 16:35
Knockout View
<div>
<input data-bind="value: address"/>
<button data-bind="click: search">Search</button>
</div>
<!-- ko if: list().length > 0 -->
<h5 data-bind="text: list().length"></h5>
<!-- /ko -->
<!-- ko foreach: list -->
<div class="result" data-bind="text: addr"></div>
<!-- /ko -->
@motowilliams
motowilliams / repo.txt
Created June 18, 2012 16:35
pastevault.com
Temporary Encrypted Link
------------------------------------------
URL: https://www.pastevault.com/view/0ce21d08463ef634af1566d998c9ea490f655409
Password: Password
------------------------------------------
Securely created with https://www.pastevault.com
Button doesn't do anything => Firefox 13, Chrome 19.0.1084.56 m and IE 9
@motowilliams
motowilliams / gist:2892716
Created June 8, 2012 00:47
mv versus git mv
md RenameTest
cd RenameTest
git init
md FolderV1
echo Test1 > FolderV1\FileV1.txt
echo Test2 > FolderV1\FileV2.txt
git add -A
git commit -m "inital commit"
(git) mv FolderV1\FileV1.txt FolderV1\FileV1a.txt
(git) mv FolderV1\FileV2.txt FolderV1\FileV2a.txt