The Catalog Of Awesome Things

Last Updated: 2019-Dec-10 22:22

Table of Contents


Things I regularly forget

Socks Proxy for securely accessing ops

ssh -D 12345 -q -C -N -f root@<domain goes here>

Public IP Address lookups via DNS

dig +short myip.opendns.com @resolver1.opendns.com
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com
dig whoami.akamai.net. @ns1-1.akamaitech.net. +short

curl wtfismyip.com/json
curl httpbin.org/ip

Blue-Green Deploys with Static Sites + Object Storage

Otherwise, you have to use a Gatekeeper that knows the Blue v. Green buckets and handles matters accordingly. Probably should use Netlify at that point but being me…I’ll probably build some halfbaked version. For practice + Netlify doesn’t give me a chance to test my own infra stuff.

SSH

Force Password Authentication For SSH for testing if you secured things correctly. You bloody nub.

ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no <url>

Config

Multiple Github Accounts

#kgodwin
Host github.com-kgodwin
    HostName github.com
    User git
    IdentityFile ~/.ssh/id_kgodwin

#account
Host github.com-account
    HostName github.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_account

CSS

Zebra Stripe Tables

tbody tr:nth-child(odd) {
   background-color: #FEE;
}

RSS Feeds

https://news.ycombinator.com/rss

https://www.reddit.com/r/webdev+programming/.rss

http://feeds.reuters.com/reuters/topNews?format=xml

https://www.reddit.com/r/worldnews/.rss

https://www.reddit.com/r/politics/.rss

https://www.reddit.com/r/netsec+security/.rss

https://static.nvd.nist.gov/feeds/xml/cve/misc/nvd-rss.xml

FSTAB + cifs

credentials

username=?
password=?

fstab

//$SERVER/$PATH /media/$USER/$PATH cifs credentials=/home/$USER/.bastioncifs,iocharset=utf8,sec=ntlm,uid=$USER,gid=$USER,user,noauto,x-systemd.automount 0 0

EDC

Sneak 2017

0x00

MaddieDog


OSS Lists (Github)

Things I tend to need from time to time

Cli.Fyi

DNS

LAN

Authoritative

Lists

Full Stack Python

PHP The Right Way

PHP Static Analysis

Awesome Selfhosted

Awesome Development


Hosting (Personally used)

Dedicated Vendors

Recommended Vendors. Hobby=Cheap and OK.

Rating Vendor
Hobby WholesaleInternet / Nocix / Datashack / et al (Least reliable but best otherwise)
Hobby Joe’s Datacenter (More stable than Wholesale but not by much.)
Hobby Online.NET (Bad network outside EU)
Hobby Hetzner (Picky and easy to knock over)
Hobby OVH (Prod if you have good failover systems in place. Its just they go down and stay down for awhile.)
Hobby Worldstream.nl (Its been years.)
Prod ReliableServers
Prod HiVelocity
Prod Voxility

VPS Vendors

Recommended Vendors are Bold

Price Power Rating Vendor
$3.5/mo 1vCPU/1GB Hobby BuyVM Anycast
$4.5/mo 1vCPU/2GB Hobby OVH
€4/mo 1vCPU/1GB Hobby Hetzner
$10/mo 1vCPU/1GB Hobby Amazon Lightsail
€3/mo 1vCPU/2GB Hobby Scaleway
$5/mo 1vCPU/1GB Hobby Linode LB
$5/mo 1vCPU/1GB Prod Vultr
$10/mo 1vCPU/1GB Prod Digital Ocean LB

Scaleway: Its just not as good as their dedicated Online.net brand (which is basically always out of stock now).

Note About Linode: Do not use for financial transactions or other security-is-critical functions. Their security is subpar and they are not good about disclosure. But, for some random mobile app that doesn’t have a massive honeypot of $$ if its exploited, its fine.

Object Storage

Recommended Vendors are Bold

Storage Transfer Rating Vendor
$0.005/GB $0.02/GB Hobby B2 Backblaze
$0.0112/GB $0.011/GB Hobby OVH Swift
$0.02/GB $0.01/GB Production DO Spaces
$0.023/GB $0.10/GB Production AWS S3
$0.026/GB $0.12/GB Production GCP

DO Spaces: They don’t support index.html yet, so not useful for say…a blog. Good object storage otherwise.

Looking Glasses

http://lon-gb-ping.vultr.com

http://wa-us-ping.vultr.com

http://lax-ca-us-ping.vultr.com

http://nj-us-ping.vultr.com

http://hnd-jp-ping.vultr.com

http://syd-au-ping.vultr.com

https://fra-de-ping.vultr.com

https://sgp-ping.vultr.com

https://lg.ovh.net/

https://lg.he.net/

http://www.cogentco.com/en/network/looking-glass

http://nj-test.buyvm.net/

http://speedtest.lv.buyvm.net/

http://lu-test.buyvm.net/

http://lax.meanservers.com/lg/

http://den.meanservers.com/lg/

https://www.ultratools.com/tools/lookingGlassTools

http://www.bgplookingglass.com

https://github.com/telephone/LookingGlass