This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
[ "$(stat -c %y ~/.cache/corona 2>/dev/null | cut -d' ' -f1 )" != "$(date '+%Y-%m-%d')" ] && curl -s https://corona-stats.online/Austria > ~/.cache/corona | |
grep "Austria" ~/.cache/corona | | |
sed "s/\s*//g ; s/║//g ; s/│/;/g" | | |
awk -F';' '{print "confirmed " $3 " (" $9") deaths " $5 " ("$7"%)"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section> | |
<h1>REXos presentation</h1> | |
</section> | |
<section id="slide-1"> | |
<h1>Second slide</h1> | |
<img src="https://gist.github.com/breiting/6dfddf21b91a60695b0bece131131748/raw/4047e0f6a03f069e10a51775ede9f1de5cc3c197/rexos.png"/> | |
</section> | |
<section data-transition="zoom"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
from bpy import context | |
import numpy as np | |
REX_BLOCK_HEADER_SIZE = 16 | |
REX_MESH_HEADER_SIZE = 128 | |
REX_NOT_SET = np.uint64(0x7fffffffffffffff).byteswap().tobytes() | |
def mesh_triangulate(me): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2018 Robotic Eyes GmbH | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************\ | |
* Copyright (C) 2018 reecon software | |
* | |
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY | |
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A | |
* PARTICULAR PURPOSE. | |
\****************************************************************************/ |