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:
| import slick.lifted.MappedTypeMapper | |
| import java.sql.Date | |
| import org.joda.time.DateTime | |
| import slick.lifted.TypeMapper.DateTypeMapper | |
| object DateTimeMapper { | |
| implicit def date2dateTime = MappedTypeMapper.base[DateTime, Date] ( | |
| dateTime => new Date(dateTime.getMillis), | |
| date => new DateTime(date) |
| import scala.xml._ | |
| val scalaVersion = args.headOption | |
| def quote(s: String) = "\"" + s + "\"" | |
| val xml = XML.loadString(scala.io.Source.stdin.getLines.mkString("\n")) | |
| val name = (xml \ "artifactId").text |
| from __future__ import division | |
| import numpy | |
| from uuid import uuid1 | |
| class d3object: | |
| def __init__(self, | |
| height=100, | |
| width=100, | |
| topHtml='', | |
| bottomHtml='', | |
| style=None, |
| .timeline { | |
| list-style: none; | |
| padding: 20px 0 20px; | |
| position: relative; | |
| } | |
| .timeline:before { | |
| top: 0; | |
| bottom: 0; | |
| position: absolute; |
| import java.io.ByteArrayOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.Properties; | |
| import org.apache.avro.io.BinaryDecoder; | |
| import org.apache.avro.io.BinaryEncoder; | |
| import org.apache.avro.io.DecoderFactory; |
| server { | |
| listen 443 ssl; | |
| server_name hostname; | |
| ssl on; | |
| ssl_certificate /etc/nginx/ssl_certs/hostname.bndl.crt; | |
| ssl_certificate_key /etc/nginx/ssl_certs/hostname.key; | |
| ssl_session_timeout 5m; |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
| #cloud-config | |
| write_files: | |
| - path: /home/core/journal2logentries.sh | |
| permissions: '0744' | |
| owner: root:root | |
| content: | | |
| #!/usr/bin/env bash | |
| # CoreOS on Google Compute Engine: push systemd journal logs to logentries.com | |
| # get your private token from logentries.com, see https://logentries.com/doc/input-token |
| import luigi | |
| import tempfile | |
| import datetime | |
| from luigi.contrib import rdbms | |
| from lib.luigi import logger | |
| from luigi.postgres import MultiReplacer | |
| try: | |
| import MySQLdb |