Interviews
TODO link to existing stuff here
Performance
(A Great Overview of effective Performance Reviews)[https://review.firstround.com/the-power-of-performance-reviews-use-this-system-to-become-a-better-manager]
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> |
package main | |
import ( | |
"fmt" | |
"time" | |
flag "github.com/ogier/pflag" | |
"os" | |
) | |
var ( |
public class IsPrime { | |
public static void main(String args[]) { | |
System.out.println("6 (should be false):" + isPrime(6)); | |
System.out.println("11 (should be true):" + isPrime(11)); | |
// given a collection of numbers 11, 15, 2, 5, 6, 11 | |
// output the prime numbers, in sorted order, with no duplicates | |
} | |
#!/bin/bash | |
#set -o nounset | |
#set -x | |
help () | |
{ | |
echo "Usage: | |
Submit Github PR's for a list of repos (predefined in script) with the same base and head branches. | |
Can be useful in a microservices environment where code is deployed from branches which correspond with |
Because I always forget the right order of passing in arguments!
Example up command with background process flag set:
docker-compose -f docker-compose.yml -f docker-compose-override-file.yml up -d myservice name