Skip to content

Instantly share code, notes, and snippets.

View zvr's full-sized avatar

Alexios Zavras (zvr) zvr

  • Munich, Germany
View GitHub Profile
### Keybase proof
I hereby claim:
* I am zvr on github.
* I am zvr (https://keybase.io/zvr) on keybase.
* I have a public key whose fingerprint is 556C ACC9 9246 A9E7 C151 4015 8459 CADC F0AA FEEB
To claim this, I am signing this object:
@zvr
zvr / gccw
Created October 6, 2017 21:09
gcc 7 with useful warnings (only for C)
#!/bin/sh
gcc \
-Wabi \
-Waddress \
-Walloc-zero \
-Walloca \
-Warray-bounds=2 \
-Wbad-function-cast \
-Wbool-compare \
body { counter-reset: h1 }
h1 { counter-reset: h2 }
h2 { counter-reset: h3 }
h3 { counter-reset: h4 }
h1:before { counter-increment: h1; content: counter(h1) ". " }
h2:before { counter-increment: h2; content: counter(h1) "." counter(h2) ". " }
h3:before { counter-increment: h3; content: counter(h1) "." counter(h2) "." counter(h3) ". " }
h4:before { counter-increment: h4; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) ". " }
@zvr
zvr / CP_AdditionRef.md
Created August 23, 2022 15:04
SPDX Change Proposal for additions to license texts
@zvr
zvr / CP_ExceptionRef.md
Last active August 25, 2022 16:15
Change Proposal: Record license exceptions
@zvr
zvr / cfp.md
Last active November 28, 2022 22:06
FOSDEM-2023 SBOM CfP

FOSDEM 2023 - SBOM devroom info and CfP

Overview

[FOSDEM] is one of the world's premier meetings of free software developers, with thousands of people attending each year. FOSDEM 2023 will take place on the weekend of 4-5 February 2023 and it will be an in-person event in Brussels once again!

For the first time, a track ("devroom") about Software Bill of Materials (SBOM) has been accepted in the conference.

Details

@zvr
zvr / licenses-example.json
Created March 10, 2023 10:06
Small SPDX SBOM with arbitrary license strings
{
"spdxVersion": "SPDX-2.3",
"documentNamespace": "http://example.com/sbom/20230308",
"creationInfo": {
"creators": [
"Organization: Example Corp. ()"
],
"created": "2023-03-08T10:34:23Z",
"licenseListVersion": "3.17",
"comment": "Example SBOM"
@zvr
zvr / gcc13w
Created May 1, 2023 12:27
gcc 13 with useful warnings
#!/bin/sh
# gccw -- gcc with useful warnings
# updated for gcc-13.1.0
# Copyright Alexios Zavras <github@zvr.gr>
# SPDX-License-Identifier: MIT
gcc \
-WNSObject-attribute \
-Wabsolute-value \
-Waddress \