I hereby claim:
- I am madhead on github.
- I am madhead (https://keybase.io/madhead) on keybase.
- I have a public key ASDAPtL3R3tp5j-5SPc_KcDMfRtwn1CXon3SGK6uO3FTZAo
To claim this, I am signing this object:
| #!/bin/bash | |
| TOKEN="" | |
| GRAPHQL_API="https://api.github.com/graphql" | |
| unwatch_repository() { | |
| local repo_id=$1 | |
| local mutation=$(cat <<EOF | |
| { | |
| "query": "mutation (\$repoId: ID!) { \ |
| from ..Script import Script | |
| from UM.Application import Application | |
| class Layer(Script): | |
| def __init__(self): | |
| super().__init__() | |
| def getSettingDataString(self): | |
| return """{ | |
| "name": "Layer on LCD", |
| # -*- coding: utf-8 -*- | |
| import FreeCAD | |
| import Mesh | |
| import MeshPartGui, FreeCADGui | |
| import MeshPart | |
| import Mesh, Part, PartGui | |
| import uuid | |
| import subprocess |
| # Adapted from https://tinyapps.org/blog/nix/201701240700_convert_asciidoc_to_markdown.html | |
| # Using asciidoctor 1.5.6.1 and pandoc 2.0.0.1 | |
| # Install pandoc and asciidoctor | |
| $ sudo apt install asciidoctor | |
| $ sudo wget https://github.com/jgm/pandoc/releases/download/2.0.0.1/pandoc-2.0.0.1-1-amd64.deb | |
| $ sudo dpkg -i pandoc-2.0.0.1-1-amd64.deb | |
| # Convert asciidoc to docbook using asciidoctor |
| import sys | |
| import csv | |
| import requests | |
| from pathlib import Path | |
| if __name__ == '__main__': | |
| with open(sys.argv[1]) as csv_file: | |
| csv = csv.DictReader(csv_file, delimiter=",", quoting=csv.QUOTE_ALL) | |
| next(csv) |
I hereby claim:
To claim this, I am signing this object: