Skip to content

Instantly share code, notes, and snippets.

View USA-RedDragon's full-sized avatar

Jacob McSwain USA-RedDragon

View GitHub Profile
@USA-RedDragon
USA-RedDragon / D13.020_C5000_Registers.md
Last active July 11, 2022 03:17
WIP mapping of the C5000 modem registers to firmware values. I still need to dig into some of these functions.

Home Network Postmortem - 02/23/2022-03/02/2022

What happened?

Starting on February 23rd, around 3am Central time, the server responsible for the high-speed database backing the cluster services such as Bitwarden and the Kubernetes API server was taken offline for a hardware memory upgrade. Completing the upgrade took around 10 minutes. Upon restarting the server, the two high performance database disks were no longer appearing as if it contained data. An investigation revealed that the data was not being written to the disk appropriately, as it had been partitioned incorrectly. Service was restored on March 2nd at 7:18pm.

What was the impact?

Almost every service ran from this cluster went offline for an extended period of 8 days. Due to the nature of the issue being related to persistent data storage, everything after February 17th at 4pm was lost, for a total loss of 6 days. This includes Bitwarden accounts created after February 17th.

@USA-RedDragon
USA-RedDragon / draft-carbon-emulator-doc.md
Last active October 23, 2021 10:47
[Draft] Building and Running the CarbonROM Emulator

To build and run the emulator:

This assumes you've already synced CarbonROM

. build/envsetup.sh
lunch carbon_emulator_x86_64-userdebug
m
emulator <options>
@USA-RedDragon
USA-RedDragon / README.md
Created October 14, 2021 06:55
Secure GPG Creation

Secure GPG Creation

Generate primary key

  1. gpg --expert --full-generate-key

  2. Select (8) RSA (set your own capabilities)

  3. Remove all capabilities except certify

Keybase proof

I hereby claim:

  • I am usa-reddragon on github.
  • I am usareddragon (https://keybase.io/usareddragon) on keybase.
  • I have a public key ASAzCBEfr6LtqWkchlQ-TGUDiYPYLfEjQnAYNlNyDpZG6Qo

To claim this, I am signing this object:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Frédéric Grosshans, 19 January 2012
Nathan R. Yergler, 6 June 2010
This file does not contain sufficient creative expression to invoke
assertion of copyright. No warranty is expressed or implied; use at
your own risk.
@USA-RedDragon
USA-RedDragon / giphy.5.gif
Last active May 9, 2019 21:59
Gist for giphy.5.gif. Generated by `crop-github-images-cli`.
giphy.5.gif
@USA-RedDragon
USA-RedDragon / giphy.2.gif
Last active May 9, 2019 21:59
Gist for giphy.2.gif. Generated by `crop-github-images-cli`.
giphy.2.gif
@USA-RedDragon
USA-RedDragon / giphy.0.gif
Last active May 9, 2019 21:59
Gist for giphy.0.gif. Generated by `crop-github-images-cli`.
giphy.0.gif
@USA-RedDragon
USA-RedDragon / giphy.4.gif
Last active May 9, 2019 21:59
Gist for giphy.4.gif. Generated by `crop-github-images-cli`.
giphy.4.gif