Skip to content

Instantly share code, notes, and snippets.

View justin-vanwinkle's full-sized avatar

Justin VanWinkle justin-vanwinkle

View GitHub Profile
programmer/flash.rb:26:in `read': No such file or directory @ rb_sysopen - name=buspirate:dev=/dev/buspirate (Errno::ENOENT)
from programmer/flash.rb:26:in `readbins'
from programmer/flash.rb:36:in `<main>'
@justin-vanwinkle
justin-vanwinkle / linux.md
Last active July 13, 2017 22:02
my notes on my search for the perfect linux setup to use when i can't have a mac

OSes

Cent

Solus

  • Nice Mac Feel
  • Linux from scratch - not branched from another distro
  • seems to work and behave well out of the box
  • mostly minimal config needed
  • appears to be missing video drivers

Books:
Leading Lean Software
Reinventing Organizations - Frederick L.

Exercises

  • Agile Pizza - A painful game to play where you will probably get in a fight with your team and learn a lot about yourselves and how you work under pressure.
  • Coin game (flip coins and pass to next player) - Shows that removing impediments (processes, positions, management) can only assist in higher delivery rates when the measure of success is working software. (The deployment process is an unnecessary time loss for developers. This should be done by devops or sys admins where possible.)
  • Numbers game - Shows the cost of context switching
  • Card game - shows the cost of interruptions and poor workstreams. Shows the benefit of swarming in the end by rallying around single issues as a team.
@justin-vanwinkle
justin-vanwinkle / TDD.md
Last active July 14, 2017 15:50
Best viewed in raw since gist only supports 3 levels of nesting

Test-Driven Development -- by Craig Oliver (https://github.com/PurpleGuitar)

  1. What is it?
  • A software development approach that emphasizes short, rapid cycles where tests are written before implementation.
  1. How is it done?
  • Start with requirements
  • For each requirement, write one or more test cases that will demonstrate correct behavior when they pass
    • (At this point, all new test cases probably fail, or even don't compile. That's OK. in fact, that's part of the point.)
  • Write code until all tests pass, both new tests and existing regression tests.
  • Refactor code as needed, making sure all tests still pass.
@justin-vanwinkle
justin-vanwinkle / news-feed.opml
Last active October 26, 2017 13:13
My news sources packed into an OPML. RSS readers use this format to pull from each individual source contained within.
<opml version="1.0">
<head>
<title>Justin VanWinkle Essential News</title>
</head>
<body>
<outline text="Hacker News" title="Hacker News" type="rss" xmlUrl="http://news.ycombinator.com/rss" htmlUrl="https://news.ycombinator.com/"/>
<outline text="Medium - Editor' Picks" title="Medium - Editor' Picks" type="rss" xmlUrl="https://medium.com/feed/frontpage-picks" htmlUrl="https://medium.com/editors-picks"/>
<outline text="Medium - Entrepreneurship" title="Medium - Entrepreneurship" type="rss" xmlUrl="https://medium.com/feed/topic/entrepreneurship" htmlUrl="https://medium.com/topic/entrepreneurship"/>
<outline text="Medium - Business" title="Medium - Business" type="rss" xmlUrl="https://medium.com/feed/topic/entrepreneurship" htmlUrl="https://medium.com/topic/entrepreneurship"/>
<outline text="Designer News" title="Designer News" type="rss" xmlUrl="https://www.designernews.co/?format=rss" htmlUrl="https://www.designernews.co"/>
using System.Collections.Generic;
using System.Linq;
namespace PowerDMS.Main
{
public class Interview
{
/// <summary>
/// Compares two strings for an anagram
/// </summary>
config:
payload:
path: "./z9.csv"
fields:
- zip4
- zip
defaults:
headers:
x-my-service-auth: 'sample header'
environments:
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
Import-Module -Name posh-git
Import-Module Get-ChildItemColor
Start-SshAgent
@justin-vanwinkle
justin-vanwinkle / README.md
Last active January 20, 2019 02:49
Ergodox Configuration

Flash using dfu-util -D <.dfu.bin>

@justin-vanwinkle
justin-vanwinkle / gnome-settings.sh
Created September 18, 2019 14:36
My preferred settings for Gnome
#!/bin/bash
# alt-tab only switches items in the current workspace
gsettings set org.gnome.shell.app-switcher current-workspace-only true