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:
| /* Composable errors via traits | |
| A major challenge (among several) in error handling is how to deal with | |
| disjoint error types produced by the libraries you use (as well as by | |
| your own program) in a consistent and ergonomic way. Rust's `?` operator | |
| improves the ergonomics of error handling, but it can only be used with | |
| a single error type throughout a single function. Libraries define their | |
| own error types and they don't know about each other, nor about the calling | |
| program. So if we want to deal with errors from different libraries as | |
| a single type (an sum or enum of the different underlying error types), we |
Multiple reactive plots towards a complete trader dashboard in D3
Copyright © 2015, Anil Nair - MIT License
| package swaggerui | |
| import ( | |
| "net/http" | |
| ) | |
| //go:generate go-bindata-assetfs -pkg=swaggerui -prefix=static/swagger-ui static/swagger-ui/dist/... | |
| /* | |
| import boto3 | |
| session = boto3.Session( | |
| aws_access_key_id="id", | |
| aws_secret_access_key="secret", | |
| region_name="us-east-1" | |
| ) | |
| s3 = session.resource("s3") | |
| obj = s3.Object("mybucket", "test.txt") |
| var debug = process.env.NODE_ENV !== "production"; | |
| var webpack = require('webpack'); | |
| module.exports = { | |
| context: __dirname, | |
| devtool: debug ? "inline-sourcemap" : null, | |
| entry: "./js/scripts.js", | |
| output: { | |
| path: __dirname + "/js", | |
| filename: "scripts.min.js" |