I hereby claim:
- I am olesu on github.
- I am olesu (https://keybase.io/olesu) on keybase.
- I have a public key ASAL0zs2BB7NAb3SDNl8e5QmT1ZBsdu_S0Gfxp8166WOLgo
To claim this, I am signing this object:
set -g prefix C-a | |
set -g set-titles on | |
set -g set-titles-string "#W: #{pane_current_command}" | |
set -g mode-keys vi | |
set-option -g set-clipboard on | |
# Important: Reload tmux conf | |
bind r source-file ~/.tmux.conf \; display "Config reloaded!" | |
# List of plugins |
package warmup | |
import io.kotest.matchers.shouldBe | |
import org.junit.jupiter.api.Test | |
class AGame { | |
@Test | |
fun `when every roll hits the gutter then score is 0`() { | |
val g = Game().rollMany(20, 0) |
all: help | |
.PHONY: help | |
help: ## list available targets | |
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' ./Makefile | sort | awk 'BEGIN {FS = ":.*?## "} {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
#!/usr/bin/env bash | |
system_profiler -json SPFontsDataType| jq -r '.SPFontsDataType[].typefaces[].family' | uniq | sort |
#!/usr/bin/env bash | |
WD="$1" | |
NAME="$(echo "$2" | tr '.' '_')" | |
if [ -z "$WD" ] || [ -z "$NAME" ]; then | |
echo "Usage: $0 path name" >&2 | |
exit 1 | |
fi |
I hereby claim:
To claim this, I am signing this object:
def calculator = new Calculator() | |
assert calculator.calculate('2 + 2') == 4 | |
assert calculator.calculate('4 + 3') == 7 | |
assert calculator.calculate('10 + 3') == 13 | |
assert calculator.calculate('3 + 10') == 13 | |
assert calculator.calculate('103 + 210') == 313 | |
assert calculator.calculate('1250005 + 1210') == 1251215 | |
assert calculator.calculate('1+ 1') == 2 |
sudo yum -y install http://fedora.uib.no/epel/6/i386/epel-release-6-8.noarch.rpm | |
sudo yum -y update | |
sudo yum -y install docker-io |
# EditorConfig helps developers define and maintain consistent | |
# coding styles between different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
# Change these settings to your own preference | |
indent_style = space | |
indent_size = 2 |
class DynamicBean { | |
def properties | |
def random | |
DynamicBean() { | |
properties = [:] | |
random = Random.newInstance() | |
} |