Skip to content

Instantly share code, notes, and snippets.


Justin VanWinkle justin-vanwinkle

View GitHub Profile
justin-vanwinkle / spacemacs-keybindings
Created Sep 1, 2020 — forked from adham90/spacemacs-keybindings
spacemacs keybindings that i need to learn
View spacemacs-keybindings
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
justin-vanwinkle /
Created Dec 17, 2019
starts a selenium grid node
docker run -d -e HUB_HOST=$hubhost -e HUB_PORT=4444 -e START_XVFB=false -e NODE_MAX_INSTANCES=2 -e NODE_MAX_SESSION=2 -v /dev/shm:/dev/shm selenium/node-chrome
justin-vanwinkle /
Created Sep 18, 2019
My preferred settings for Gnome
# alt-tab only switches items in the current workspace
gsettings set current-workspace-only true
View PowershellProfile
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
Import-Module -Name posh-git
Import-Module Get-ChildItemColor
View load-test.yaml
path: "./z9.csv"
- zip4
- zip
x-my-service-auth: 'sample header'
View PowerDMS_Interview.cs
using System.Collections.Generic;
using System.Linq;
namespace PowerDMS.Main
public class Interview
/// <summary>
/// Compares two strings for an anagram
/// </summary>
justin-vanwinkle / news-feed.opml
Last active Oct 26, 2017
My news sources packed into an OPML. RSS readers use this format to pull from each individual source contained within.
View news-feed.opml
<opml version="1.0">
<title>Justin VanWinkle Essential News</title>
<outline text="Hacker News" title="Hacker News" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="Medium - Editor' Picks" title="Medium - Editor' Picks" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="Medium - Entrepreneurship" title="Medium - Entrepreneurship" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="Medium - Business" title="Medium - Business" type="rss" xmlUrl="" htmlUrl=""/>
<outline text="Designer News" title="Designer News" type="rss" xmlUrl="" htmlUrl=""/>
justin-vanwinkle /
Last active Jan 20, 2019
Ergodox Configuration

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

justin-vanwinkle /
Last active Jul 14, 2017
Best viewed in raw since gist only supports 3 levels of nesting

Test-Driven Development -- by Craig Oliver (

  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.
You can’t perform that action at this time.