Skip to content

Instantly share code, notes, and snippets.

View angrykoala's full-sized avatar
💭
🐨

angrykoala angrykoala

💭
🐨
View GitHub Profile
@angrykoala
angrykoala / 30_navigation
Last active September 6, 2023 10:53
My i3 Config
## Move to i3 folder
## Note: sudo apt autoremove regolith-wm-navigation
###############################################################################
# Window and Workspace Navigation
###############################################################################
## Navigate // Relative Parent // <> a ##/
set_from_resource $i3-wm.binding.focus_parent i3-wm.binding.focus_parent a
bindsym $mod+$i3-wm.binding.focus_parent focus parent
@kripken
kripken / hello_world.c
Last active January 17, 2024 12:15
Standalone WebAssembly Example
int doubler(int x) {
return 2 * x;
}
@angrykoala
angrykoala / .bashrc
Last active July 19, 2022 15:49
Custom bashrc commands to append in .bashrc
# My Custom bash
## Statup commands
echo "Hello, today is"
date +%A','%x
date +'['%X']'
fortune | cowsay -T "U " -e o-
## New Promt
PS1="\e[01;32m[\u]\e[m\t\e[01;34m\w->\e[m"
@samwize
samwize / mocha-guide-to-testing.js
Created February 8, 2014 05:53
Explain Mocha's testing framework - describe(), it() and before()/etc hooks
// # Mocha Guide to Testing
// Objective is to explain describe(), it(), and before()/etc hooks
// 1. `describe()` is merely for grouping, which you can nest as deep
// 2. `it()` is a test case
// 3. `before()`, `beforeEach()`, `after()`, `afterEach()` are hooks to run
// before/after first/each it() or describe().
//
// Which means, `before()` is run before first it()/describe()