Skip to content

Instantly share code, notes, and snippets.

View pcewing's full-sized avatar

Paul Ewing pcewing

  • Blizzard Entertainment
View GitHub Profile
@pcewing
pcewing / netcore_output_path.md
Last active August 9, 2019 17:27
Demo of microsoft/msbuild issue #4600 - Publish does not respect intermediate paths

Goal

Set up a .NET Core/Standard solution with multiple projects such that they all build and publish into a centralized directory without polluting the source directory.

Solution Setup

These setup steps should be followed before attempting to reproduce the issue using either method below.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pcewing
pcewing / clang_format.sh
Created March 23, 2019 06:30
Find file and format them in place with clang-format
#!/usr/bin/env bash
find ./src -type f -iname '*.c' -exec clang-format -style=file -i {} \;
find ./include -type f -iname '*.h' -exec clang-format -style=file -i {} \;
@pcewing
pcewing / bloomer_update.svg
Created March 15, 2019 01:04
Wireless Bloomer Keyboard Concept
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pcewing
pcewing / secrets.md
Last active February 24, 2019 04:21
A quick example of storing secrets on Linux using bash and GnuPG
$ mkdir secrets
$ cd secrets
$ echo "This is my secret text file" > secret.txt
$ ls
secret.txt
$ echo -n "Enter passphrase: " && read -s passphrase && echo
Enter passphrase: 
$ echo "$passphrase" | gpg --batch --yes --passphrase-fd 0 \
>    --symmetric secret.txt
[
[
{
"c": "#cfaf00",
"a": 7
},
"Tab",
"Q",
"W",
"E",
@pcewing
pcewing / Atreus62_Dock_LeftPrint.svg
Created April 24, 2018 05:00
Atreus62 Dock Files
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pcewing
pcewing / seeds.md
Last active September 3, 2023 17:26
Descenders Seeds
  • Highlands Mellow Jump Course: 10052780000
  • Another fun highlands jump course: 10060689982
  • Decent Peaks Jumps: 40002839024
  • Decent Canyon Stunts: 30051868939
  • Decent Forest Stunts: 20020797859
  • Awesome Canyoun Stunts: 30040845600
  • Best Canyon course: 30030686541
  • Dirt Jumps (Canyon): 30030809329
  • Good straight steep canyon: 30080048490
  • Fun no-break canyon course: 30050366302
@pcewing
pcewing / weight.md
Created April 13, 2018 04:33
Weight Tracking

Weights

  • 04/01/2018: 253
  • 04/12/2018: 244.5