Skip to content

Instantly share code, notes, and snippets.

View gryte's full-sized avatar

Adam Linkous gryte

  • CapitalOne
  • Texas
View GitHub Profile
@gryte
gryte / shape_area_solution_bonus.md
Last active January 15, 2020 21:19
Shape Area Solution With Bonus

Shape Area Challenge

n sq total sq ext. sq int.
1 1 0 1
2 5 4 1
3 13 8 5
4 25 12 13
5 41 16 25
6 61 20 41
@gryte
gryte / oil_change_list.md
Last active January 21, 2019 17:53
Oil Change - Parts List
@gryte
gryte / ceiling_fans.md
Last active September 30, 2020 09:25
Home Improvement
@gryte
gryte / mo_drvr_lic_tsa_details.md
Last active January 9, 2018 23:29
TSA Flights with Missouri Drivers License

Can I still fly domestically with a MO driver's license?

As of 2018-01-09, the short answer is YES but only until 2018-10-10.

See official documentation for full details, but Missouri received an extension and there's some confusing signage out in the wild implying otherwise.

...Starting January 22, 2018, passengers with a driver’s license issued by a state that is still not compliant with the REAL ID Act (and has not been granted an extension) will need to show an alternative form of acceptable identification for domestic air travel to board their flight. To check whether your state is compliant or has an extension, click here. Passengers with driver’s licenses issued by a state that is compliant with REAL ID (or a state that has been issued an extension) will still be able to use their driver’s licenses or identification cards...

..Missouri

@gryte
gryte / slack-ifttt-autostatus.md
Created December 20, 2017 00:57
Slack IFTTT Automatically Update Status

enter an area - arrive at work - in the office

If Location, then Webhooks

webhooks field webhooks value
URL https://slack.com/api/users.profile.set
Method POST
Content Type application/x-www-form-urlencoded
Body authorization=Basic &token=TOKENHERE&profile={"status_text": "in the office","status_emoji":":office:"}
@gryte
gryte / install_config-win2k16_core-proxmox.md
Last active November 21, 2023 06:06
Install and Configure - Windows Server 2016 Core on ProxMox VM

Install and Configure - Windows Server 2016 Core on ProxMox VM

stage drivers locally

# display available drives
Get-PSDrive

# create local driver directory
mkdir c:\drivers
@gryte
gryte / docker_sonarr_couch_setup.md
Last active December 2, 2016 03:30
Docker Container - Sonarr and Couch

Summary

The goal is to migrate an existing instance of Sonarr and Couch from a stand-alone CentOS 7 vm to a Docker container on a separate CentOS 7 vm running Docker. The idea is that Sonarr and Couch does not appear to need all of the overhead that comes with running an entire OS on a separate VM. We will attempt to consolidate resources leveraging containers as appropriate.

Layout

Virtual Environment - Proxmox

@gryte
gryte / git_flow.md
Last active February 26, 2019 09:44
Git Flow

Your workflow should be:

git pull origin master # get the latest merged code
git checkout -b al-uber-cool-feature # create a feature branch
<code code code> # only one thing at a time!!
<test test test>
git add <filespec> # add the files you changed
git commit -sm "What I changed"
git push

create common group to manage directory ownership

groupadd torrent_group 
chown :torrent_group /.deluge/prep/ 
usermod -aG torrent_group deluge
usermod -aG torrent_group couchpotato
@gryte
gryte / backup_strategy.md
Last active January 2, 2019 12:27
install_pms_centos_7

on plexserver, create directories

create scripts directory

sudo mkdir /scripts

create backup directory