Skip to content

Instantly share code, notes, and snippets.

View nobodywasishere's full-sized avatar
🐝

Margret Riegert nobodywasishere

🐝
View GitHub Profile
@nobodywasishere
nobodywasishere / crystal.ebnf
Created November 17, 2023 15:28
Work in progress EBNF language grammar for Crystal
document = expressions ;
one_space = ' ' ;
opt_space = { one_space } ;
all_space = one_space, { one_space } ;
one_newline = '\n' | '\r\n' | '\r' ;
opt_newline = { one_newline } ;
all_newline = one_newline, { one_newline } ;
#!/usr/bin/env python
# get Tufts COVID-19 dashboard data and plot it
# https://coronavirus.tufts.edu/testing-metrics
# Copyright © 2022 Michael Riegert
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
# and associated documentation files (the “Software”), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
@nobodywasishere
nobodywasishere / fpga-toolchain-bin-update.sh
Last active August 13, 2020 05:38
Update fpga-toolchain-bin on the AUR
#!/bin/bash
# Copyright 2020 Michael Riegert
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
UPSTREAM=https://api.github.com/repos/open-tool-forge/fpga-toolchain/releases/latest
FPGADIR= # location of the