Skip to content

Instantly share code, notes, and snippets.

Flow Chart

flowchart TB
    c1-->a2
    subgraph ide1 [one]
    a1-->a2
    end

Sequence Diagram

Apogee Therapeutics Overview

Company Profile

  • Name: Apogee Therapeutics, Inc.
  • Industry: Biotechnology
  • Founded: 2022
  • IPO Date: July 14, 2023
  • Location: Waltham, Massachusetts, USA
  • CEO: Dr. Michael Thomas Henderson M.D.
@Shawn-Armstrong
Shawn-Armstrong / docker_ur_container.md
Last active October 8, 2023 17:03
docker_ur_container.md

docker_ur_container.md

Overview

  • The following document provides instructions for using Docker to start a UR3e container inside Windows Subsystem for Linux 2 (WSL2).

Requirements

  • Docker Desktop
  • WSL2
  • Google Chrome

Unit Test Concerns

Overview

  • The following document poses a unit testing concern observed in a Java 17 codebase leveraging Spring 5.3, JUnit 5.9 and Mockito 5.1.

Details

Scenario

  • Suppose you have the following class with a method consisting of a try block who's catch contains a single logging event:
graph RL
  database("Database") <-."network"..-> DAO_Implementation
  DAO_Implementation <--> DAOinterface("DAO Interface") 
  DAOinterface <--> service("Servive / service interface") 
  service <--> controller("Controller")
  controller <-."network"..-> client("Client")
  subgraph DAO_Implementation
    dataSource
 entityManager("Entity Manager")

AUTHOR: Shawn Armstrong
CONTACT: smarmstr@ucsc.edu

OpenTAP for New Developers

Overview

  • This guide serves as a comprehensive reference for essential knowledge required to begin developing plugins for OpenTAP.

Background

As a university student majoring in Computer Science, I have spent the last six months participating in a project focused on creating an OpenTAP plugin. Although the technical details are well-covered in OpenTAP's official documentation, it lacks some high-level aspects that are essential for beginner developers to grasp the whole picture. This document aims to bridge such knowledge gaps for newcomers.

from __future__ import print_function
from googleapiclient.discovery import build
from google.oauth2 import service_account
from selenium import webdriver
import time
SERVICE_ACCOUNT_FILE = 'keys.json'
SCOPES = ['https://www.googleapis.com/auth/spreadsheets']
creds = None

#OpenTAP_pytest.md

Overview

  • This file explores using Python's unit testing framework, PyTest, in conjunction with OpenTAP's Python resources.
  • OpenTAP was built using the .NET framework; Python capabilities were later added via the Python.NET library.
  • Python.NET is a bridge between Python and .NET platforms, enabling interoperation between the two. This tool allows Python programs to access the .NET Framework and Mono libraries; similarly, it provides .NET applications the ability to utilize Python libraries.

Details

  • This demonstration is using Windows 11
  • This demonstration is using Python 3.11.3

#Haskell_binary_search.md

Overview

  • This document contains a detailed review and analysis of the binary search algorithm, using an example implemented in Haskell.

Binary Search Algorithm

  • Binary search is an algorithm used to search for a specific value in a sorted list, as it relies on the property that each step can exclude half of the remaining elements.
  • Given a list $L$ and a target value $T$ the algorithm will do the following:
# data.CSV must be in the same directory as this script.
# Numpy, Pandas and mysql-connector-python are required.
import pandas as pd
import mysql.connector
from mysql.connector import Error
import re
def sanitize_column_name(column):
sanitized_column = re.sub(r'\W+', '_', column).strip('_')