This gist contains cmd line streaming magic.
For a 1280x1024 desktop:
sudo modprobe v4l2loopback devices=1
# snippet for file: $HOME/.bashrc | |
# | |
# License: CC0 | |
# | |
# register a bash function that calls the script above | |
activate-env () { | |
. $HOME/bin/impl-activate-env $@ | |
} |
Overview: http://matplotlib.org/faq/usage_faq.html#usage
Multiple, manual Axes: https://python4mpia.github.io/plotting/advanced.html
Another intro article http://pbpython.com/effective-matplotlib.html
#!/usr/bin/env bash | |
# | |
# Authors: Axel Huebl, Marco Garten, Klaus Steiniger | |
# | |
# last updated: 2019-05-13 | |
# | |
# execute: | |
# wget -O - https://gist.githubusercontent.com/ax3l/68cb4caa597df3def9b01640959ea56b/raw/PIConGPU_040-dev_PizDaint.sh | bash | |
PIC_BRANCH="dev" |
Projects with wide adoption, broad compiler support, proper testing and great documentation.
Most of them are header-only (which is not necessarily a good thing for all tasks!), some of them even provide an amalgated (single-file) header.
(replace Boost.ProgramOptions)
/* Minimal declarations for CUDA support. Testing purposes only. */ | |
#define __constant__ __attribute__((constant)) | |
#define __device__ __attribute__((device)) | |
#define __global__ extern "C" __attribute__((global)) | |
#define __host__ __attribute__((host)) | |
#define __shared__ __attribute__((shared)) | |
#define __launch_bounds__(...) __attribute__((launch_bounds(__VA_ARGS__))) | |
#define __forceinline__ __attribute__((always_inline)) |
#!/usr/bin/env bash | |
# | |
# Author: Axel Huebl | |
# | |
# last updated: 2018-03-05 | |
# | |
# execute: | |
# curl https://gist.githubusercontent.com/ax3l/080675215fdaf0c8bf0ad054ee8f7bc0/raw/PIConGPU_040-dev_Octopus.sh | bash | |
PIC_BRANCH="dev" |
#!/usr/bin/env bash | |
# | |
# Author: Axel Huebl | |
# | |
# last updated: 2018-03-05 | |
# | |
# execute: | |
# curl https://gist.githubusercontent.com/ax3l/9e77c1b688136ea37b05ff00ea0e420f/raw/PIConGPU_040-dev_osx.sh | bash | |
PIC_BRANCH="dev" |