Skip to content

Instantly share code, notes, and snippets.

View TheBeege's full-sized avatar

Bryan "Beege" Berry TheBeege

  • Seoul, South Korea
View GitHub Profile

Here is an example

sequenceDiagram
  Alice-->>Bob: Hi!
@TheBeege
TheBeege / guide.md
Created November 14, 2021 14:07
Beege's DevOps Learning Guide

first, learn at a high level what is DevOps: https://aws.amazon.com/devops/what-is-devops/

i'm gonna be strongly opinionated and direct your learning towards Linux, since companies that are based on Linux tend to be better places to work for IT folks. that said, you'll want to setup a Linux virtual machine to play in. follow this tutorial to setup your sandbox: https://brb.nci.nih.gov/seqtools/installUbuntu.html after that, we can get started with the actual learning.

after these courses, i recommend writing up some scripts to do random/useful things.

@TheBeege
TheBeege / code_seoul_git_class_2020-08.txt
Created August 17, 2020 12:51
Command Line from Code Seoul Git Class on 2020-08-16
;; This is a dump from the class. I had to manually re-format some of it
;; because Windows Command Prompt sucks. So if some things don't look
;; quite like your actions, don't be alarmed.
;; If anything is unclear, please comment here or send us a message
;; on Discord: https://discord.gg/HFknCs8
C:\Users\draco\new_git_class>dir
Volume in drive C has no label.
Volume Serial Number is 94AF5A74
Directory of C:\Users\draco\new_git_class
@TheBeege
TheBeege / keybase.md
Created July 9, 2020 08:29
keybase.md

Keybase proof

I hereby claim:

  • I am thebeege on github.
  • I am thebeege (https://keybase.io/thebeege) on keybase.
  • I have a public key ASBhFTb58spnpsfU-VO7HuBTq6VnYkQlUSA4rukHec81Nwo

To claim this, I am signing this object:

@TheBeege
TheBeege / configurable_buckets.json
Created March 17, 2020 06:48
API Examples for Jazzy
{
"example_api_path": "/v1/video/1/view/count?bucket=day&start_time=1583822151&end_time=1584426951",
"example_descrption": "The API path describes the kind of data we're asking for. We're asking for information about a video with an ID of 1. Specifically, we're asking for the view count. Everything up to the ? is telling the API what the thing is we're asking for. After the ? is telling API how we want the thing. These can be anything we want. In this example, I'm telling it i want data to be bucketed by day. I want the start time to be at some unix timestamp (I recommend googling and/or checking epochconverter.com) and the end time to be at some unix timestamp. I think an API like this would accomplish the example you described and shows kind of general design tools. Below, we'll cover example data output that the client would use.",
"total_views": 43,
"view_counts": [
{
"year": 2020,
"month": 03,
"day": 10,
"count": 10
import csv
# Notice that we've added data as a parameter to our write_data function
def write_data(data, file_path='meals.json'):
with open(file_path, 'w', newline='') as f:
json.dump(data, f)
def read_data(file_path='meals.json'):
with open(file_path) as f:
new_data = json.load(f)
import unittest
import logging
import sys
# https://github.com/adicu/interview_help/blob/master/interview_handout.md
# 1.) Given a two-dimensional array in which each row and each column is sorted,
# detect if a given element is in the array
from typing import List
#!/bin/env python3
class Character:
def __init__(self):
self.health = 0
def attack(self, damage_amount, target):
# TODO: tell the target to take_damage the given damage_amount
pass
@TheBeege
TheBeege / project_management.md
Last active May 14, 2018 03:52
Project Management Learning Points

Project Management Learning Points

The PM Craft

Key Ideas

  • Enable people to go fast
  • Catch pitfalls before they happen
  • Make sure people are talking

What is a project? - 1 day

  • Deadlines
  • Product
  • Feature
@TheBeege
TheBeege / README.md
Last active April 22, 2018 01:25
kivy_class