this small utility allows you to view the schema of a file and browse the data. thats it. then theres a small exploratory script.
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 functools | |
import inspect | |
def asynchronize(fn): | |
if inspect.iscoroutinefunction(fn): | |
return fn | |
@functools.wraps(fn) | |
async def _wrapper(*args, **kwargs): | |
return fn(*args, **kwargs) |
Run using ipython:
$ poetry run ipython
Python 3.8.2 (default, Jul 16 2020, 14:00:26)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.18.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import index
Run terraform in a container!
This file should just be in your path and your terraform codebase located in a folder called terraform. Then just run it like this:
terraformw init
terraformw plan -out plan.tfplan
terraformw apply plan.tfplan
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
FROM scratch | |
COPY cali-example /tool | |
ENTRYPOINT ["/tool"] |
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
// Fire away with comments - I'd like to know faster or more compact | |
// or what-ever-measure-you-like solutions | |
function clone(a){ | |
return Array.apply(null, a); | |
} | |
// NOTE-to-Self: DONT EVER DO "arr.length--" it WILL mutate array! |
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
int process(jack_nframes_t nframes, void *arg){ | |
jack_default_audio_sample_t *out; | |
jack_default_audio_sample_t inp[nframes]; | |
int i =0; | |
out = jack_port_get_buffer(output_port, nframes); | |
for(i =0; i < nframes; i++){ | |
int t = state; | |
//char tmp = (t * (t >> 5 | t >> 8)) >> (t >> 16); |
Hello and welcome - another trial with D3 and plotting course statistics.
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.link { | |
fill: none; | |
stroke-width: 1.5px; | |
} | |
.axis { |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.link { | |
fill: none; | |
stroke: #666; | |
stroke-width: 1.5px; | |
} |
NewerOlder