Skip to content

Instantly share code, notes, and snippets.

View tracphil's full-sized avatar
👊
Hang tough!

Tracy Phillips tracphil

👊
Hang tough!
View GitHub Profile
@tracphil
tracphil / excludeWSL.ps1
Last active January 28, 2021 10:48 — forked from noelbundick/LICENSE
Exclude WSL installations from Windows Defender realtime protection
############
# This script will add your WSL environments to the Windows Defender exclusion list so that
# realtime protection does not have an adverse effect on performance.
#
# You should be aware that this could make your system less secure. Use at your own risk.
# Note: This should be run from an administrative PowerShell prompt
# MIT License
#
# Copyright (c) 2018 Noel Bundick
@tracphil
tracphil / ducky.md
Created January 29, 2021 11:20 — forked from rizalgowandy/ducky.md
Programming media keys on the Ducky One 2 Skyline

Programming Media Keys on the Ducky One 2

To use media keys on the Ducky One 2, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.

Example

Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.

As an example, to bind Fn+PgUp to the play/pause media function:

@tracphil
tracphil / koala_commands.md
Created December 9, 2021 19:06
Koala Commands

Koala Commands

koala search resource role=approuter  -f id,group,datacenter,cluster,branch,network.ipv4.ipaddress,facts.os_image.name,facts.flavor,approuter_version,description
/*
Adapted from https://github.com/sindresorhus/github-markdown-css
The MIT License (MIT)
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@tracphil
tracphil / iterm2.md
Created March 16, 2022 01:46 — forked from squarism/iterm2.md
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@tracphil
tracphil / GitHub Flavored Asciidoc (GFA).adoc
Created March 16, 2022 20:40 — forked from dcode/GitHub Flavored Asciidoc (GFA).adoc
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)

@tracphil
tracphil / user-data.yml
Created March 16, 2022 20:41 — forked from reavon/user-data.yml
Ubuntu 20.04 example autoinstall user-data file
#cloud-config
autoinstall:
version: 1
early-commands:
- systemctl stop ssh # otherwise packer tries to connect and exceed max attempts
network:
network:
version: 2
ethernets:
eth0:
@tracphil
tracphil / GitHub-Project-Guidelines.md
Created March 23, 2022 12:20 — forked from rsp/GitHub-Project-Guidelines.md
Git Strict Flow and GitHub Project Guidelines - setup rules and git flow for commercial and open-source projects by @rsp

Git Strict Flow and GitHub Project Guidelines

Or how to turn this:

into this:

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@tracphil
tracphil / vrack.md
Created April 9, 2022 11:03 — forked from anhtran/vrack.md
How to configure VRack in OVH?