This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| package main | |
| import( | |
| "log" | |
| "net/url" | |
| "net/http" | |
| "net/http/httputil" | |
| ) | |
| func main() { |
| # tnx to mamalala | |
| # Changelog | |
| # Changed the variables to include the header file directory | |
| # Added global var for the XTENSA tool root | |
| # | |
| # This make file still needs some work. | |
| # | |
| # Updated for SDK 0.9.2 | |
| # | |
| # Output directors to store intermediate compiled files |
| #!/usr/bin/env bash | |
| # Script to (selectively) save/load multiple Docker images to/from a directory. | |
| # Run ./save-load-docker-images.sh for help. | |
| set -e | |
| directory=$PWD | |
| filter="" | |
| compress=0 |
Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).
docker run -it --rm --privileged --pid=host justincormack/nsenter1
more info: https://github.com/justincormack/nsenter1
| license: mit | |
| height: 320 | |
| border: no |
| :~$ 7z b | |
| 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 | |
| p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs LE) | |
| LE | |
| CPU Freq: 64000000 - - - - - - - - | |
| RAM size: 7811 MB, # CPU hardware threads: 4 | |
| RAM usage: 882 MB, # Benchmark threads: 4 |
| FROM alpine:3 | |
| ENV USER_ID=65535 | |
| ENV GROUP_ID=65535 | |
| ENV USER_NAME=rsync-user | |
| ENV GROUP_NAME=rsync-user | |
| RUN addgroup -g $GROUP_ID $GROUP_NAME && \ | |
| adduser --shell /sbin/nologin --disabled-password \ | |
| --no-create-home --uid $USER_ID --ingroup $GROUP_NAME $USER_NAME |