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:
// Custom Date Decoding | |
jsonDecoder.dateDecodingStrategy = .custom({ (decoder) -> Date in | |
let data = try decoder.singleValueContainer().decode(String.self) | |
//perform your operation on obtained string | |
let disturbance = "01-07-1977" | |
let formatter = DateFormatter() | |
formatter.dateFormat = "dd-MM-yyyy" | |
if data == "First disturbance in force" { | |
return formatter.date(from: disturbance) ?? Date() | |
} else { |
Our program, who art in memory, | |
called by thy name; | |
thy operating system run; | |
thy function be done at runtime | |
as it was on development. | |
Give us this day our daily output. | |
And forgive us our code duplication, | |
as we forgive those who | |
duplicate code against us. | |
And lead us not into frustration; |
openssl pkcs12 -in Certificatesdev.p12 -out Certificatesdev.pem -nodes -clcerts |