TODO link to existing stuff here
(A Great Overview of effective Performance Reviews)[https://review.firstround.com/the-power-of-performance-reviews-use-this-system-to-become-a-better-manager]
#!/bin/zsh | |
# https://superuser.com/a/440082 | |
SESSIONNAME="number1" | |
tmux has-session -t $SESSIONNAME &> /dev/null | |
if [ $? != 0 ] | |
then | |
tmux new-session -s $SESSIONNAME -n script -d | |
tmux split-window -v -t $SESSIONNAME |
#!/bin/bash | |
# helper script to import a postgres export locally | |
if [[ -z $1 || -z $2 ]]; | |
then | |
echo 'example usage: ./database-import.sh name-of-export.sh database_name' | |
exit 1 | |
fi | |
set -o nounset |
"""Console script for python_boilerplate.""" | |
import argparse | |
import random | |
import sys | |
import math | |
def main(): | |
"""Console script for python_boilerplate.""" | |
parser = argparse.ArgumentParser() |
# source: https://spak.no/blog/article/63f519260faeadeeeb968af2 | |
# good resource: https://spak.no/blog/article/63f519260faeadeeeb968af2 | |
# generating PKI certs using easyrsa: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/mutual.html | |
resource "aws_acm_certificate" "server_vpn_cert" { | |
certificate_body = file("pki/server.crt") | |
private_key = file("pki/server.key") | |
certificate_chain = file("pki/ca.crt") |
SELECT relname, | |
seq_scan, | |
seq_tup_read, | |
idx_scan, | |
idx_tup_fetch, | |
seq_tup_read / seq_scan | |
FROM pg_stat_user_tables | |
WHERE seq_scan > 0 | |
ORDER BY seq_tup_read DESC; |
# Load Environment Variables from .env | |
if [ -f .env ]; then | |
export $(cat .env | grep -v '#' | sed 's/\r$//' | awk '/=/ {print $1}' ) | |
fi |
TODO link to existing stuff here
(A Great Overview of effective Performance Reviews)[https://review.firstround.com/the-power-of-performance-reviews-use-this-system-to-become-a-better-manager]
; Main Navigation | |
CAPSLOCK & j::MoveCursor("{DOWN}") | |
CAPSLOCK & l::MoveCursor("{RIGHT}") | |
CAPSLOCK & k::MoveCursor("{UP}") | |
CAPSLOCK & h::MoveCursor("{LEFT}") | |
; Navigation Combos | |
MoveCursor(key) { | |
shift := GetKeyState("SHIFT","P") | |
control := GetKeyState("CONTROL","P") |
<html> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/charts.css/dist/charts.min.css"> | |
<body > | |
<h1> | |
Are charts awesome? </h1> | |
<table class="charts-css [ column ] [ show-primary-axis show-4-secondary-axes ] [ data-spacing-4 reverse-data ]"> | |
<caption>Are charts awesome?</caption> |