Skip to content

Instantly share code, notes, and snippets.

View moosh3's full-sized avatar
๐Ÿ
doing devop things

Alec Cunningham moosh3

๐Ÿ
doing devop things
View GitHub Profile
https://www.nike.com/t/flex-stride-mens-7-running-shorts-1PNNN3/AJ7779-681
https://www.nike.com/t/wild-run-mens-2-in-1-running-shorts-RWhDfG/AO5185-277 Ale Brown/Black, size small
https://www.nike.com/t/dri-fit-mens-training-shorts-YMeELy/AA1555-344 Mineral Spruce/Black, size small
https://www.adidas.com/us/alphaskin-sport-short-tights/CF7299.html Small
https://www.nike.com/t/sportswear-tech-pack-mens-long-sleeve-knit-top-b6jFmB/AR1571-011 . Black/Light Blue, size Small
https://www.nike.com/t/windrunner-mens-running-jacket-FQfH7g/AR0257-011 Ale Brown/Team Orange/Obsidian, size Small
https://www.nike.com/t/sportswear-tech-fleece-mens-joggers-gXTOoz1v/805162-456 Obsidian/Obsidian Heather/White
https://www.nike.com/t/swift-mens-running-pants-3VwTb4/928583-346
@moosh3
moosh3 / gist:cb18cead5b5726363985b66089932cbd
Created January 21, 2019 02:46 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet (Sweetmeat)

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • โŒ˜ : Command key
  • โŒƒ : Control key
  • โŒซ : Delete key
  • โ† : Left arrow key
  • โ†’ : Right arrow key
  • โ†‘ : Up arrow key
#!/bin/sh
case "$SSH_ORIGINAL_COMMAND" in
*\&*)
echo "Rejected"
;;
*\(*)
echo "Rejected"
;;
*\{*)
#snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.]
#snippet-sourceauthor:[Doug-AWS]
#snippet-sourcedescription:[Creates a customer master key using KMS.]
#snippet-keyword:[AWS Key Management Service]
#snippet-keyword:[create_key method]
#snippet-keyword:[Ruby]
#snippet-service:[kms]
#snippet-sourcetype:[full-example]
#snippet-sourcedate:[2018-03-16]
# Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.]
//snippet-sourceauthor:[Doug-AWS]
//snippet-sourcedescription:[Creates a KMS key.]
//snippet-keyword:[AWS Key Management Service]
//snippet-keyword:[CreateKey function]
//snippet-keyword:[Go]
//snippet-service:[kms]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[2018-03-16]
/*
# nmap -p80 -Pn -oG - 10.1.0.1/24
#
Host: 10.1.0.43 () Ports: 80/open/tcp//http///
$1 $2 $3 $4 $5
# nmap -p80 -Pn -oG - 10.1.0.1/24 | awk '/open/{print $2 " " $3}'
10.1.0.1 ()
10.1.0.2 ()
...
@moosh3
moosh3 / crontab
Last active January 6, 2019 16:38
#m h dom mon dow command
30 06 * * 0 pgbackrest --type=full --stanza=staging backup
30 06 * * 1-6 pgbackrest --type=diff --stanza=staging backup
mtr
tshark
netcat
nmap
nethogs
iptraf
example.com {
tls [email protected]
root /var/www/wordpress
gzip
fastcgi / /run/php/php7.2-fpm.sock php
rewrite {
if {path} not_match ^\/wp-admin
to {path} {path}/ /index.php?{query}
}
}