Skip to content

Instantly share code, notes, and snippets.

View danieltalsky's full-sized avatar

Daniel Talsky danieltalsky

View GitHub Profile
@danieltalsky
danieltalsky / config.yml
Created May 15, 2024 14:14
ignore file codeql
# .github/codeql/config.yml
name: "CodeQL-Config"
queries:
- uses: security-and-quality
paths-ignore:
- "path/to/your/file.js"
@danieltalsky
danieltalsky / authenticate_with_github_app.yaml
Last active January 10, 2024 01:23
Authenticate With a GitHub App from another GitHub action
name: Authenticate with GitHub App
on: [push]
jobs:
authenticate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
@danieltalsky
danieltalsky / gh_workflow_job.yaml
Last active January 9, 2024 21:18
GH Workflow Caller
name: Trigger Remote Workflow with GitHub CLI and Wait for Completion
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to trigger workflow on'
required: true
default: 'main'
playwright_cli:
@danieltalsky
danieltalsky / personal_communication_innovation.md
Last active January 6, 2023 18:24
Personal Communication Innovation: Talking vs. Silence

Personal Communication Innovation: Talking vs. Silence

Why do I talk aloud in meetings?

Affirming Reasons

I have things to say that I think will clarify the situation for myself
I have things to say that I think will help others understand
I am curious
I have things to say I think will help other people feel safer

@danieltalsky
danieltalsky / last_name_does_not_start_with_g_or_h.py
Created June 24, 2022 15:51
Checks that Last Names do not start with G or H
import re
class IsUnfortunatelyALowerCasedName(ValueError):
pass
class IsActuallyAFirstName(ValueError):
pass
{
"ProductIds": [
{
"IdType": "ProductId",
"Id": "79257"
},
{
"IdType": "NDC9",
"Id": "65757-0402"
}
@danieltalsky
danieltalsky / output.log
Last active January 21, 2022 20:25
Failing BDD Test Log
@facility-selection
Feature: The Order Management Service accurately selects a facility based on information about an order # tests/integration/features/facility_selection.feature:2
{"message": "Putting DynamoDB item", "levelname": "DEBUG", "pathname": "/Users/dt/.local/share/virtualenvs/order-management-service-PZpAi_Z5/lib/python3.8/site-packages/divvydose/aws_utils/dynamodb.py", "funcName": "put_item", "lineno": 245, "table": "order-management_orders-20220120220435933", "item": {"degree": "Doctor", "directories_prescriber_id": "54bea4cc-1eaf-4637-818b-a82be3506227", "first_name": "Alice", "last_name": "Doctor", "middle_initial": null, "title": "Doctor", "thor_prescriber_id": "a999eb8c-7763-41e8-b7a4-e40289ff78fb", "PK": "Prescriber#a999eb8c-7763-41e8-b7a4-e40289ff78fb", "SK": "Prescriber#54bea4cc-1eaf-4637-818b-a82be3506227", "entity": "Prescriber"}, "condition": null, "timestamp": "2022-01-21T19:36:52.884181Z"}
{"message": "Received DynamoDB response", "levelname": "DEBUG", "pathname": "/Users/dt/.local/s
@danieltalsky
danieltalsky / gsdd_product_list_68462-0188.json
Created September 14, 2021 21:32
GSDD product list return for 68462-0188
{
"Products": [
{
"BrandGenericStatus": "Generic",
"FederalDEAClass": "NA",
"IngredientStrengthRouteFormInfo": [
{
"FDAForm": {
"Id": 37,
"Name": "Tab"
@danieltalsky
danieltalsky / gsdd_product_68462-0188.json
Created September 14, 2021 20:53
GSDD return for 68462-0188
{
"ProductIds": [
{
"IdType": "ProductId",
"Id": "48875"
},
{
"IdType": "NDC9",
"Id": "68462-0188"
}
#
# Order management service shortcuts
#
# Go to OM
alias om="cd ~/repos/order-management-service"
# ROLES
function omsandbox() {
unset AWS_PROFILE