Skip to content

Instantly share code, notes, and snippets.

@chuckdee68
chuckdee68 / Problem.md
Last active May 27, 2020 16:09
Configuration for Chocolatey to redirect assembly references after uninstalling VS 2015

Summary from chocolatey/choco#916

When installing cmake or cppcheck I get the same set of errors. Below is the output.

C:\WINDOWS\system32>choco install -y cmake Chocolatey v0.10.0 Installing the following packages: cmake By installing you accept licenses for the packages. cmake.install v3.6.0 [Approved] The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\System32\WindowsPowerShell\v1.0\types.ps1xml(3007) : Error in type "System.Security.AccessControl.ObjectSecurity": Exception: The getter method should be public, non void, static, and have one parameter of type PSObject. The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core,

@chuckdee68
chuckdee68 / gitcom.md
Created March 24, 2020 22:28 — forked from jednano/gitcom.md
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Create an empty git repo or reinitialize an existing one

$ git init
@chuckdee68
chuckdee68 / results.txt
Created July 3, 2019 04:30
TradeMaximizer Defect Files
TradeMaximizer Version 1.4a
Input Checksum: 2fa8a87cc52e978e7c97b14e7c82c12
ERRORS:
**** Unknown item 6991265 (38 occurrences)
**** Unknown item 6991284 (73 occurrences)
**** Unknown item 6991391 (56 occurrences)
**** Unknown item 6992396 (73 occurrences)
**** Unknown item 6992815 (63 occurrences)
**** Unknown item 6997672 (73 occurrences)
@chuckdee68
chuckdee68 / layer_lights.c
Created September 16, 2018 00:15
Clueboard Momentary Layer Lights Example
#include "66.h"
#include "timer.h"
#define MODS_CTRL_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
//Run get_mods(); instead
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
#define _BL 0
#define _FL 1
enum custom_keycodes {
@chuckdee68
chuckdee68 / KeyboardLayouts.md
Created August 27, 2018 02:18
Keyboard Layouts

This gist includes the keyboard layouts for all of my QMK keyboards.

@chuckdee68
chuckdee68 / History\-1005c527\entries.json
Last active November 4, 2023 05:29
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///e%3A/Writing/Obsidian/obsidian-zettel.code-workspace","entries":[{"id":"3Cye.code-workspace","timestamp":1672549113581}]}
@chuckdee68
chuckdee68 / docx2md.md
Last active February 25, 2018 19:17 — forked from aembleton/docx2md.md
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

The Solution

As it turns out, there are several open-source tools that allow for conversion between file types. Pandoc is one of them, and it's powerful and open source. In fact, pandoc's website says "If you need to convert files from one markup format into another, pandoc is your swiss-army knife." Pandoc can convert from markdown into .docx, and it also works in the other direction.

@chuckdee68
chuckdee68 / keybase.md
Created May 11, 2017 23:38
Keybase Proof

Keybase proof

I hereby claim:

  • I am chuckdee68 on github.
  • I am chuckdee (https://keybase.io/chuckdee) on keybase.
  • I have a public key ASDARrFdYHrIK1QP_ra9yWGj2UyQoQPCHfwOwJC5773SeQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am chuckdee68 on github.
  • I am chuckdee (https://keybase.io/chuckdee) on keybase.
  • I have a public key whose fingerprint is 8CC1 9292 2303 BCED 1F43 CCD9 35FA 67E7 8529 6320

To claim this, I am signing this object:

@chuckdee68
chuckdee68 / .gitignore
Last active June 2, 2016 11:58
Default Visual Studio .gitignore
# git ignore file
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates