Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# calculate equivalent G matrix terms
import numpy as np
import matplotlib.pyplot as plt
# define the plate input parameters
class input_params():
def __init__(self):
self.fs_length = (362-2*20)*0.001 # m
self.fs_width = 0.080 # m
@ostodieck
ostodieck / import_issues_into_GitHub_project.py
Last active July 16, 2020 18:47
Bulk import tasks as issues into a GitHub Project
'''
To use the script, you need to create a personal access token in GitHub under
Your Profile > Developer Settings > New personal access token
Keep this token safe and private.
Other prerequisites:
The project should already have been created in GitHub, with backlog, in progress and completed columns - set the automation on the backlog as to do and add new issues automatically to this column
The labels corresponding to the import tasks should have been created under issues> labels
Information about the GitHub GraphQL API can be found here: https://docs.github.com/en/graphql/reference/objects