Skip to content

Instantly share code, notes, and snippets.

View davidbarkhuizen's full-sized avatar
🧐

david barkhuizen davidbarkhuizen

🧐
  • .za
View GitHub Profile
@davidbarkhuizen
davidbarkhuizen / linux_android_studio_kotlin_notes.md
Last active November 2, 2020 07:28
notes on development in Kotlin on Android Studio
NAVIGATE TO keys
class CTRL + N
declaration CTRL + B
file CTRL + SHIFT + N
line CTRL + G
last edit location CTRL + SHIFT + BACKSPACE
back ALT+SHIFT+LEFT
forward ALT+SHIFT+RIGHT
@davidbarkhuizen
davidbarkhuizen / rust_lang_resources.md
Last active October 20, 2020 09:04
rust language resources

rustlang

language tool ecosystem

domain name
package manager cargo
linting rustfmt
update rustup
@davidbarkhuizen
davidbarkhuizen / durbancurryrecipe.md
Last active December 11, 2020 07:21
durban curry recipe

durban curry recipe

  1. oil

  2. more oil [more oil than you would think.]

  3. fry the 'seeds' until they pop here 'seeds' refers to:

  • jiru
  • mustard seed
@davidbarkhuizen
davidbarkhuizen / bran_muffin_recipe.md
Last active August 4, 2020 09:50
bran muffin recipe

bran muffins

makes 6 extra large muffins

ingredients

  • 2 cups wheat bran
  • 2 cups whole wheat flour
  • 1 tablespoon baking powder
  • 1 teaspoon baking soda
@davidbarkhuizen
davidbarkhuizen / sunbird.md
Last active December 21, 2020 13:32
sunbird

Sunbird

Goals

  1. achieve full remote control of drone functions
    1.1 source a USB IR transducer with a workable interface
    1.2 reverse engineer the IR communication protocol
    1.3 develop a basic control module
  2. achieve blind control of basic flight components
    2.1 hover
@davidbarkhuizen
davidbarkhuizen / baofeng_UV-5RE.md
Last active August 3, 2023 15:34
Baofeng uv-5re
@davidbarkhuizen
davidbarkhuizen / how to use vscode to write and debug webpack typescript running in the browser (chromium).md
Last active December 23, 2018 07:07
how to use vscode to write and debug webpack typescript running in the browser (chromium)

how to use vscode to write and debug webpack typescript running in the browser (chromium)

goals

  • write typescript in vscode
  • build, package and serve js using webpack
  • execute js in browser (chromium)
  • debug from vscode

pre-requisites

@davidbarkhuizen
davidbarkhuizen / psql.md
Last active November 1, 2022 11:37
postgresql

switch to posgres user

sudo -i -u postgres

create database xxx

createdb xxx

console comands

quit console

@davidbarkhuizen
davidbarkhuizen / nitrokey_hsm_dev_notes.txt
Last active November 20, 2018 13:51
NitroKey HSM - Development Notes
NitroKey HSM - Development Notes
links
- [NitroKey Home](https://www.nitrokey.com)
- [NitroKey SmartCard HSM](https://github.com/OpenSC/OpenSC/wiki/SmartCardHSM)
installation - ubuntu linux
1. install openSC = open smart card library
$ sudo apt install opensc
@davidbarkhuizen
davidbarkhuizen / install_pyscard_on_ubuntu_1804.txt
Last active November 19, 2018 14:56
installing swig on ubuntu 1804
sudo apt-get install automake
sudo apt-get install libpcre3-dev
sudo apt install byacc
git clone https://github.com/swig/swig.git
cd swig
./autogen.sh
./configure
make
sudo make install