Skip to content

Instantly share code, notes, and snippets.

@deluxebrain
deluxebrain / windows-development-setup.md
Last active July 11, 2019 14:38
Windows development environment setup

Windows development environment setup

  1. Install Visual Studio 2019

  2. Install VSCode

  3. Update to latest .net core versions

    # the following will list installed versions
    dotnet --info
@deluxebrain
deluxebrain / github-api-get-rels-from-head.md
Created April 1, 2019 08:54
Github api - get rels from head
# Get array of rel links from github api head
# Arguments:
#   $1: Github user
#   $2: Github repos
# Returns:
# Globals:
#   PAGE_RELS: [ rel_name, rel_url ]
# Notes:
#   Rel urls are stored in global PAGE_RELS associative array
@deluxebrain
deluxebrain / github-api-get-latest-release-meta.md
Created April 1, 2019 07:29
Github api - get lastest release meta
# Get meta for latest version of specified package
# Arguments:
#   $1: Github user
#   $2: Github repos
# Returns:
#   - latest package version
#   - tag name for latest version
#   - package download url for latest version
function get_latest_release_meta()
@deluxebrain
deluxebrain / powershell_fu.md
Last active August 29, 2015 14:05
Cheat sheet of common PowerShell commands

Execution Policies

Get current execution policy

Get-ExecutionPolicy

Allow local and signed scripts originating from the Internet

Set-ExecutionPolicy RemoteSigned

Typography

Headings

Headings from h1 through h6 are constructed with a # for each level:

# h1 Heading
## h2 Heading
### h3 Heading
@deluxebrain
deluxebrain / bash_fu.sh
Last active August 29, 2015 14:04
Cheat sheet of common Bash commands
# Create a new directory and navigate into it
mkdir <new_directory> && cd $_

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a