Advanced Search
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
IDEs and Editors
Just For Fun
A collection of random, potentially useless stuff
Flutter and Dart
Java
Shell
All things unix shell: commands, bash/zsh, config, etc. Some search terms: unix,bash,zsh,sh,shell,cli,command line,terminal
Reverse Proxy
VCS
VM
Reading Notes
Misc
Moka Pot
Python
Pourover
Keycloak Configuration
Simple Tools
Grinders
AeroPress
Coffee
Security
.vimrc
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
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
MariaDB Get current date in ~ms: UNIX_TIMESTAMP(SUBTIME(UTC_TIMESTAMP(),'1 0:0:0.0')) * 1000;
IntelliJ
IntelliJ Find override of method: Navigate Implementation(s)
Button spammer
// 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
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
# 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
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
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
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
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
# macOS only? Definitely not the same on the webserver NGINX_CONFIG="/opt/homebrew/etc/nginx/servers/"
Shell Config
# 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
Theme: apple
Git
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
Docker Compose
Flutter
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
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
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...