Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
| #!/usr/bin/perl -l | |
| # wvdiald.pl - Auto connect USB modems on Linux | |
| # Author: naveenk <[email protected]> | |
| # License: MIT | |
| # Make sure you have wvdial and usb-modeswitch installed. Fill the connection parameters below. | |
| # Run this as root. Add "perl /path/to/wvdiald.pl" to /etc/rc.local to make this a service | |
| ######################### CHANGE AS NEEDED ################################ | |
| # connection parameters |
| alias gifify='docker run -it --rm -v $(pwd):/data maxogden/gifify' | |
| gifify container-registry.mov -o container-registry.gif --resize 800:-1 |
| global | |
| log stdout format raw daemon | |
| maxconn 2000 | |
| daemon | |
| defaults | |
| mode http | |
| option dontlognull | |
| retries 3 | |
| timeout connect 5000 |
Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
| IMAGE_NAME = "bento/ubuntu-16.04" | |
| N = 2 | |
| Vagrant.configure("2") do |config| | |
| config.ssh.insert_key = false | |
| config.vm.provider "virtualbox" do |v| | |
| v.memory = 1024 | |
| v.cpus = 2 |
| # build step to create a Terraform bundle per our included terraform-bundle.hcl | |
| FROM golang:1.13.0-alpine3.10 AS bundler | |
| RUN apk add --no-cache git unzip && \ | |
| go get -d -v github.com/hashicorp/terraform && \ | |
| git -C ./src/github.com/hashicorp/terraform checkout v0.12.9 && \ | |
| go install ./src/github.com/hashicorp/terraform/tools/terraform-bundle | |
| COPY terraform-bundle.hcl . |