Skip to content

Instantly share code, notes, and snippets.

Avatar

Johnny C malefficient

View GitHub Profile
@malefficient
malefficient / README.md
Last active Aug 29, 2020
FTDI, libusb, Arty-a7, and you
View README.md

libusb: multiplatform generic usb library for userland applications zadig.exe: Convenient Windows driver switcher utility

'libwdi' : Some sort of zadig wrapper to work-around code signing requirements http://mirobetm.blogspot.com/2014/08/removing-libwdi-drivers.html

pnputil.exe -e > somefile.txt

  1. Then look for "libwdi" string in somefile.txt Example:
View zshrc
# Luke's config for the Zoomer Shell
# Enable colors and change prompt:
autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history
View tmux_cheat_sheet.md

TMUX cheat sheet

Standard Bindings

Ctrl+b, Ctrl+[ Enter copy mode Ctrl+b, Ctrl+] Paste buffer

Modified Bindings

Misc

@malefficient
malefficient / vscode_cheat_sheet.md
Created Aug 23, 2019 — forked from RichardBronosky/vscode_cheat_sheet.md
Visual Studio code - VSCode Cheat Sheet - Keyboard Shortcuts
View vscode_cheat_sheet.md

VSCode Cheat Sheet

Keyboard Shortcuts

Jump to closing bracket

Cmd+Shift+\

Though I suggest changing it as follows:

editor.action.jumpToBracket Ctrl+]

View tmux.conf
## Cmd-q is the new cmd-a/b
unbind C-b
#This is the new escape key
set -g prefix C-q
## C-q C-q will goto last window instead of l
#unbind l
#bind-key C-q last-window
# Enable mouse support (toggle with M/m below)
set-option -g mouse-select-pane on
View tmux-screen-cheatsheet.txt
Screen to tmux cheatsheet
Note: tmux 1.9 has mouse support!
You can toggle it on and off with c-M/m
+-tmux initialization--------------------------+
| Create session: tmux new-session -s SessName |
| List session: tmux list-sessions | tmux ls|
| Join session: tmux attach-session | tmux a |
| Detach session: C-d | |
View markdown-cheatsheet.md

Markdown Cheat sheet

Quick cut and paste examples.

Emphasis

  • Bold **
  • Italic *
  • Bold and italic