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:
| class AppDelegate | |
| def init | |
| cookieStorage = NSHTTPCookieStorage.sharedHTTPCookieStorage | |
| cookieStorage.cookieAcceptPolicy = NSHTTPCookieAcceptPolicyAlways | |
| CDVURLProtocol.registerURLProtocol | |
| super | |
| end |
| (ns braintree-clj.core | |
| (:import [com.braintreegateway BraintreeGateway Environment TransactionRequest Transaction$Type]) | |
| (:require [clojure.string :as s] | |
| [hiccup.core :as hiccup] | |
| [hiccup.page-helpers :as page-helper] | |
| [noir.core :as noir] | |
| [noir.request :as noir-req] |
| #!/usr/bin/env python2 | |
| """ | |
| Author: takeshix <takeshix@adversec.com> | |
| PoC code for CVE-2014-0160. Original PoC by Jared Stafford (jspenguin@jspenguin.org). | |
| Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
| """ | |
| import sys,struct,socket | |
| from argparse import ArgumentParser |
| ;; To deploy to a hosted Artifactory server: | |
| (defproject project-name "0.1.0-SNAPSHOT" | |
| ;; ... | |
| :deploy-repositories | |
| [["releases" | |
| {:url "http://org-name.artifactoryonline.com/org-name/libs-releases-local" | |
| :username :env/artifactory_user | |
| :password :env/artifactory_pass}] | |
| ["snapshots" | |
| {:url "http://org-name.artifactoryonline.com/org-name/libs-snapshots-local/" |
| package com.graphhopper.util; | |
| import com.graphhopper.routing.util.EdgeFilter; | |
| import com.graphhopper.routing.util.FlagEncoder; | |
| import com.graphhopper.storage.NodeAccess; | |
| public class EdgeFilterDirection implements EdgeFilter{ | |
| private final double azimuth; | |
| private AngleCalc2D angleCalc = new AngleCalc2D(); |
| /** | |
| * S-expression parser | |
| * | |
| * Recursive descent parser of a simplified sub-set of s-expressions. | |
| * | |
| * NOTE: the format of the programs is used in the "Essentials of interpretation" | |
| * course: https://github.com/DmitrySoshnikov/Essentials-of-interpretation | |
| * | |
| * Grammar: | |
| * |
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: jupyter | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Start jupyter | |
| # Description: This file should be used to construct scripts to be | |
| # placed in /etc/init.d. |