Skip to content

Instantly share code, notes, and snippets.

Avatar
🦅
microservice party

Daniel Pritchett ⚡ dpritchett

🦅
microservice party
View GitHub Profile
@dpritchett
dpritchett / swagger.yaml
Created Mar 26, 2020
pulseox openapi3 yaml
View swagger.yaml
title: User
type: object
properties:
uid:
type: string
description: Possibly received from our auth frontend.
diagnoses:
type: object
required:
- timestamp
View riker-redis-encrypted.yml
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
##
# global:
# imageRegistry: myRegistryName
# imagePullSecrets:
# - myRegistryKeySecretName
# storageClass: myStorageClass
View gist:0144205af2cf64363dcaf64b9e439755
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC75bkAbHHFRwpWZkaJoSZoka8awsGBmzEJhDBDAa0sYF2M7aBisSWFkp2cIjy9Q3ifHDlT7oEggASlvx42mStiC1pDTHAHVJXNxeAmtgTucGXCoBuaMMQ5eMgDJ5H8/WUkGLeRCWzcPUx627AlosCcK9biNTK1RJakNZKP8hWLTVllDTSjaNyc1OCb+vbV3K1L39hauffreqwoQFnZwH0ZcJa8OD74BtbHA1hbVL62NFdGGdibjg10zjz3bIP50K8HFeJN5lcfzrpuDwRfCYYYL19ujdlKaEjAE/2IpDkRwRx/+RhLeR6r1aTxMRw09R+jlcXjcf4yaZ52LmQP52NF dpritchett@hubertus-bigend
View gist:e18975fd08493d19f780bfd517ed2759
e305b49 Removes freeze branch from client workload
9c71bde Merged in DEV-1833 (pull request #127)
281ebb0 Merged in djp/add-cam (pull request #126)
3baf3d8 Adds cam to reviewers list
e3dbcf7 Merged in add-ahmee-infra-pr (pull request #125)
0b1f976 Merged in DEV-1793-autogenerate-RC-PR-for-releases-repo (pull request #124)
8cf5489 Merged in pag/add-oppslevel-yaml (pull request #123)
7578412 Merged in djp/daily-releases (pull request #122)
27fcb44 Merged in DEV-1672/disable-freeze-schedule (pull request #121)
db4b4f8 Disable autofreeze and autopr schedules
View user-repo-access.yml
daniel_pritchett:
groups:
bitbucket:
- developers
github:
- developers
docker_hub:
- developers
logins:
bitbucket: dpritchettgremlin
View test_cron_rule.py
import boto3
from botocore.exceptions import ClientError
# from boto3 import ValidationException
import uuid
clt = boto3.client("events")
rule_name = f"cronValidationTestRule-{uuid.uuid1()}"
View random_cpu_attack.py
import gremlin_python
from gremlin_python.rest import ApiException
from pprint import pprint
import ipdb
import webbrowser
from time import sleep
from colors import *
API_KEY = ("0beccc88169060e9dbbd17583e10492dcbb48898de73f1a924481a556ab54419",)
WOW_DOT_GIF = "https://media1.tenor.com/images/c2a921072f98952c52042d6e28c72854/tenor.gif?itemid=9987719"
View random_cpu_attack.py
import gremlin_python
from gremlin_python.rest import ApiException
from pprint import pprint
import ipdb
import webbrowser
from time import sleep
from colors import *
API_KEY = ("0beccc88169060e9dbbd17583e10492dcbb48898de73f1a924481a556ab54419",)
WOW_DOT_GIF ='https://media1.tenor.com/images/c2a921072f98952c52042d6e28c72854/tenor.gif?itemid=9987719'
@dpritchett
dpritchett / tabkill.rb
Created Nov 4, 2018
kill an active chrome tab using the DevTools API
View tabkill.rb
#!/usr/bin/env ruby
require 'json'
require 'thread'
def eep
`mplayer #{ENV['HOME'] + '/.killsound'}`
end
def tabs