This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iab ienn if err != nil { | |
\<CR> return err | |
\<CR>} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x := map[string]{interface}{ | |
"blah": "foop", | |
"shmerp": []interface{}{ | |
map[string]interface{}{ | |
"hey": 1, | |
"yes": 2, | |
}, | |
map[string]interface{}{ | |
"alpha": 3, | |
"bravo": 4, |
Tidal locking happens because the tidal bulge on a satellite forms slower than the satellite rotates. That makes sense to me.
But in order for that tidal bulge to form in the first place, gravity needs to act along a specific axis of the satellite for a while, right? And since the satellite is constantly rotating, there shouldn't be any chance for that to happen.
How does the tidal bulge initally form?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. A recent bestseller, "Z" is a fictionalized account of this author's wife Zelda | |
F. Scott Fitzgerald | |
2. In 2015 he won a Grammy for best rap album for "The Marshall Mathers LP 2" | |
Eminem | |
3. In Latin vacca is this animal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> var x = {}, y = {} | |
> x.alpha = 1 | |
> x.bravo = 2 | |
> y.bravo = 2 | |
> y.alpha = 1 | |
> JSON.stringify(x) | |
'{"alpha":1,"bravo":2}' | |
> JSON.stringify(y) | |
'{"bravo":2,"alpha":1}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: sar [ options ] [ <interval> [ <count> ] ] | |
Options are: | |
[ -A ] [ -B ] [ -b ] [ -C ] [ -d ] [ -F ] [ -H ] [ -h ] [ -p ] [ -q ] [ -R ] | |
[ -r ] [ -S ] [ -t ] [ -u [ ALL ] ] [ -V ] [ -v ] [ -W ] [ -w ] [ -y ] | |
[ -I { <int> [,...] | SUM | ALL | XALL } ] [ -P { <cpu> [,...] | ALL } ] | |
[ -m { <keyword> [,...] | ALL } ] [ -n { <keyword> [,...] | ALL } ] | |
[ -j { ID | LABEL | PATH | UUID | ... } ] | |
[ -f [ <filename> ] | -o [ <filename> ] | -[0-9]+ ] | |
[ -i <interval> ] [ -s [ <hh:mm:ss> ] ] [ -e [ <hh:mm:ss> ] ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filter { | |
if [type] == "nginx_access" { | |
clone { clones => [ "nginx_mini" ] } | |
} | |
if [type] == "nginx_mini" { | |
# Nothing ever gets here! | |
mutate { add_tag => "test" } | |
prune { whitelist_names => [ "agent", "clientip", "timestamp" ] } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
while True: os.fork() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Says something comforting | |
function comfort() { | |
messages[0]="I hear you." | |
messages[1]="I'm sorry. That's a bummer." | |
messages[2]="That blows." | |
messages[3]="Ouch. Okay, let's take a deep breath together." | |
messages[4]="Damn. Sounds like you're having a rough day." | |
messages[5]="Hey, we'll get through this together." | |
messages[6]="Aw man." | |
ind=$[$RANDOM % ${#messages[@]}] |