Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

69 total results found

Knowledge Base

A grouping of learnings, quick references, configurations and just general brain dump for all sorts of technology related topics.

Coffee Brewing

Databases

Knowledge Base

IDEs and Editors

Knowledge Base

Just For Fun

Knowledge Base

A collection of random, potentially useless stuff

Flutter and Dart

Knowledge Base

Java

Knowledge Base

Shell

Knowledge Base

All things unix shell: commands, bash/zsh, config, etc. Some search terms: unix,bash,zsh,sh,shell,cli,command line,terminal

Reverse Proxy

Knowledge Base

VCS

Knowledge Base

VM

Knowledge Base

Reading Notes

Knowledge Base

Misc

Knowledge Base

Moka Pot

Coffee Brewing

Python

Knowledge Base

Pourover

Coffee Brewing

Keycloak Configuration

Knowledge Base

Simple Tools

Knowledge Base

Grinders

Coffee Brewing

AeroPress

Coffee Brewing

Coffee

Coffee Brewing

Security

Knowledge Base

.vimrc

Knowledge Base IDEs and Editors

Important: this vimrc works for vim and neovim, but is intended to be used mainly in neovim when running in neovim, this vimrc expects vim-plug The famous .vimrc: set nocp " this vimrc is not compatible """""""""""""""""""""""""""""""" " TEMP TRAINING REM...

Vim Cheetsheet

Knowledge Base IDEs and Editors

VIM Cheetsheet For use in Vim, NeoVim or other. search tags: neovim,nvim Opening files open without config (n)vim --clean open multiple files at once Separate tabs: (n)vim -p file1 file2 Separate windows horizontal split: (n)vim -o file1 file2 Separate windows...

MariaDB

Knowledge Base Databases

MariaDB Get current date in ~ms: UNIX_TIMESTAMP(SUBTIME(UTC_TIMESTAMP(),'1 0:0:0.0')) * 1000;

IntelliJ

Knowledge Base IDEs and Editors

IntelliJ Find override of method: Navigate Implementation(s)

Button spammer

Knowledge Base Just For Fun

// button -> html button // interval -> ms between clicks // target -> number of clicks before stop async function clickLots(button, interval, target) { const sleep = (ms) => { return new Promise(resolve => setTimeout(resolve, ms)); } let c...

Simple GO Implementation Thoughts

Knowledge Base Just For Fun

board: null: empty, 0: black, 1: white ex: [null, 0, 1 ] [0, 0, 1 ] [null, null, null] white is in atari, black has one eye ruleset: Japanese, Chinese, etc. moves: 0/1 for black/white, x, y ex: ["0,2,2","1,3,3","0,1...

Dart

Knowledge Base Flutter and Dart

# callbacks final VoidCallback myVoidCallback = () {}; final ValueGetter<int> myValueGetter = () => 42; final ValueSetter<int> myValueSetter = (value) {}; final ValueChanged<int> myValueSetter = (value) {}; final ReturnType Function(InputType1, InputType2) = (...

Java

Knowledge Base Java

Functions Runnable () -> () Supplier () -> x Callable () -> x throws ex Consumer x -> () BiConsumer x,y -> () Function x -> y Predicate x -> boolean BiFunction x,y -> z UnaryOperator x1 ->...

JUnit

Knowledge Base Java

JUnit parameterized tests @ParameterizedTest @ValueSource(strings = {"", " "}) // simple primitive values (or Class type) @NullSource // can be combined with ValueSource @EmptySource // can be combined with ValueSource @NullAndEmptySource // can be combined ...

Bash

Knowledge Base Shell

bash scripting reference: https://www.gnu.org/software/bash/manual/bash.html Cursor position/output - Position the Cursor: \033[<L>;<C>H Or \033[<L>;<C>f puts the cursor at line L and column C. - Move the cursor up N lines: \033[<N>A - Move the cu...

Shell Commands & Tools

Knowledge Base Shell

find exposed ports: netstat -lntu ss -lntu find process on port lsof -nP -iTCP -sTCP:LISTEN | grep <port-number> try to find error logs of some running process #find PID ps aux | grep httpd #PID -> 1234 #then find open log files with lsof lsof -p 1234 | grep...

Nginx

Knowledge Base Reverse Proxy

# macOS only? Definitely not the same on the webserver NGINX_CONFIG="/opt/homebrew/etc/nginx/servers/"

Shell Config

Knowledge Base Shell

# Custom aliases by yours truly! alias sudo="sudo " # this makes aliases useable with sudo alias nv="nvim" alias edit-z="nv $ZSH_CUSTOM/custom.zsh" alias zource="source ~/.zshrc" alias edit-v="nv ~/.vimrc" # git aliases alias gl='git pull' alias gco='git chec...

Zsh

Knowledge Base Shell

Theme: apple

Git

Knowledge Base VCS

Nice aliases alias gl='git pull' alias gco='git checkout' alias gcb='git checkout -b' alias ga='git add' alias gaa='git add -A' alias gr='git reset' alias gcm='git commit -m' alias gcma='git commit --all -m' alias gca='git commit --amend --no-edit' alias gcam=...

Docker

Knowledge Base VM

Docker Compose

Knowledge Base VM

Flutter

Knowledge Base Flutter and Dart

FVM Install project version: fvm install Install new version: fvm install x.y.z Set new project version: fvm use x.y.z Common commands: Run build runner: fvm dart run build_runner watch -d Misc Define dart environment variables: --dart-define="LOG_LEVEL=trace"...

Clean Code

Knowledge Base Reading Notes

Clean Code: Reading Notes This is my document to write down things I feel like are important from the book Clean Code Useful patterns Template Pattern The template pattern is useful for situations where you have many similarities between entities, with small d...

Peopleware

Knowledge Base Reading Notes

Peopleware: Reading Notes This is my document to write down things I feel like are important from the book Peopleware The main premise of the book is: The biggest problems in development are sociological, not technological Part 1: Managing Humans It is easy to...