- Install Ninja
sudo apt install ninja-build
- Configure CMake to create Ninja build files
mkdir build && cd build
# Build BlazingSQL + RAPIDS on Summit | |
# Jens Glaser <glaserj@ornl.gov> July 28 2020 | |
# wherever bif128 occurs below, this refers to the project ID | |
# replace with yours, e.g. abc123 | |
# est. "pure compile time" 3-4h | |
$ module list |
# Steps to build and install tmux from source. | |
# Takes < 25 seconds on EC2 env [even on a low-end config instance]. | |
VERSION=2.7 | |
sudo yum -y remove tmux | |
sudo yum -y install wget tar libevent-devel ncurses-devel | |
wget https://github.com/tmux/tmux/releases/download/${VERSION}/tmux-${VERSION}.tar.gz | |
tar xzf tmux-${VERSION}.tar.gz | |
rm -f tmux-${VERSION}.tar.gz | |
cd tmux-${VERSION} |
import ddf.minim.analysis.*; | |
import ddf.minim.*; | |
Minim minim; | |
AudioPlayer jingle; | |
FFT fft; | |
AudioInput in; | |
float[] angle; | |
float[] y, x; | |
void setup() |
Command-line arguments in Python show up in sys.argv
as a list of strings (so you'll need to import the sys
module).
For example, if you want to print all passed command-line arguments:
import sys
print(sys.argv) # Note the first argument is always the script filename.
Command-line options are sometimes passed by position (e.g. myprogram foo bar
) and sometimes by using a "-name value" pair (e.g. myprogram -a foo -b bar
).