- Record video with OS X Quicktime Player (New Screenrecording)
brew install ffmpeg
brew install gifsicle
ffmpeg -i patrol1.mov -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=10 > patrol1a.gif
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| '''Generates 3D Histogram of Wallaby image and renders to screen using vispy | |
| Requires: | |
| vispy | |
| scipy | |
| numpy |
| IP="127.0.0.1" | |
| PORT="8877" | |
| SHARED_SECRET="shared secret" | |
| OPENSSL="/usr/local/opt/libressl/bin/openssl" | |
| OPENSSL_CMD="$OPENSSL enc -a -A -aes-256-gcm" | |
| while IFS= read -r MSG; do | |
| echo "$MSG" | $OPENSSL_CMD -e -k "$SHARED_SECRET" | |
| echo |
brew install ffmpeg
brew install gifsicle
ffmpeg -i patrol1.mov -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=10 > patrol1a.gif
| 'use strict'; | |
| var processor = require('../index'); | |
| var harness = require('teraslice_op_test_harness')(processor); | |
| describe('With data in is []', function() { | |
| it('data out is []', function() { | |
| expect(harness.run([])).toEqual([]); | |
| }); | |
| }); |
| #!/usr/bin/env python | |
| # Create a parameter YAML file: parms1.yml that contains | |
| # m: 1 | |
| # b: 5 | |
| import yaml | |
| import click |
| watch "\ | |
| echo ==== Nodes ==== ; \ | |
| echo ; \ | |
| curl -s localhost:5678/txt/nodes; \ | |
| echo; \ | |
| echo ==== Workers ==== ; \ | |
| echo; \ | |
| curl -s localhost:5678/txt/workers; \ | |
| echo; \ | |
| echo ==== Slicers ==== ; \ |
| import pandas as pd | |
| def r(row): | |
| if row['lat'] < 5: | |
| return row['data'] | |
| elif row['lat'] >= 5: | |
| return 10 * row['data'] | |
| df = pd.DataFrame({ 'data': range(10), 'lat': range(10)}, columns=["lat", "data"]) |
| kern.log:Feb 20 06:22:40 hostname gitlab-runner[29279]: Starting multi-runner from /etc/gitlab-runner/config.toml ... | |
| kern.log:Feb 20 06:22:40 hostname gitlab-runner[29279]: Running in system-mode. | |
| kern.log:Feb 20 06:22:40 hostname gitlab-runner[29279]: | |
| kern.log:Feb 20 06:22:40 hostname gitlab-runner[29279]: Checking for builds... received | |
| kern.log:Feb 20 06:22:40 hostname gitlab-runner[29279]: gitlab-ci-multi-runner 1.0.4 (014aa8c) | |
| kern.log:Feb 20 06:22:40 hostname gitlab-runner[29279]: Using Shell executor... | |
| kern.log:Feb 20 06:22:43 hostname gitlab-runner[29279]: 1093 Submitting build to coordinator... ok | |
| kern.log:Feb 20 06:23:45 gitlab-runner[29279]: last message repeated 14 times | |
| kern.log:Feb 20 06:24:45 gitlab-runner[29279]: last message repeated 18 times | |
| kern.log:Feb 20 06:25:45 gitlab-runner[29279]: last message repeated 15 times |
| #!/usr/bin/env python | |
| # notional mosaic activity, without image acquisition | |
| # sleeps removed since pan/tilt are now blocking | |
| import time | |
| from ptu import PanTiltUnit | |