sudo yum update -y
sudo amazon-linux-extras enable nginx1
sudo yum install -y nginxsudo nano /etc/nginx/conf.d/reverse-proxy.confsudo yum update -y
sudo amazon-linux-extras enable nginx1
sudo yum install -y nginxsudo nano /etc/nginx/conf.d/reverse-proxy.conf| #!/usr/bin/env bash | |
| TARGET='main' | |
| ACTION='\033[1;90m' | |
| NOCOLOR='\033[0m' | |
| cd ~/<fill the right code location> || exit | |
| if [[ -z "$1" && $1 != "--force" ]]; then | |
| # Checking if we are on the main branch |
| import * as aws from "@pulumi/aws"; | |
| import * as awsx from "@pulumi/awsx"; | |
| import * as eks from "@pulumi/eks"; | |
| import * as k8s from "@pulumi/kubernetes"; | |
| /* | |
| * 1) Single step deployment three IAM Roles | |
| */ | |
| // Administrator AWS IAM clusterAdminRole with full access to all AWS resources |
| from indigo import Indigo | |
| from indigo.renderer import IndigoRenderer | |
| from indigo.inchi import IndigoInchi | |
| indigo_object = Indigo() | |
| mol1 = indigo_object.loadMolecule("ONc1cccc1") | |
| print(mol1.smiles()) |
| ``` | |
| Based on https://github.com/kefir-/SVG2Solid | |
| ``` | |
| from FreeCAD import Base | |
| import importSVG | |
| import Part | |
| def extrudeSVG(filename, thickness): |
| def importMINTwithoutConstraints(self, device: MINTDevice) -> None: | |
| self.__original_device = device | |
| pcells = [] | |
| for component in device.components: | |
| terminals = [] | |
| for port in component.ports: | |
| t = CTerminal( |
| import cairo | |
| from parchmint import Device | |
| import json | |
| PT_TO_UM = 1/352.778 | |
| f = open("cariotest2.json", "r") | |
| text = f.read() |
| #!/usr/bin/python3 | |
| import json | |
| from os import close | |
| import sys | |
| device = {} | |
| with open(sys.argv[1]) as json_file: |
| { | |
| "$schema": "http://json-schema.org/schema#", | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "layers": { | |
| "type": "array", | |
| "items": { |