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:
| // | |
| // NSArray+BinarySearch.h | |
| // BinarySearch | |
| // | |
| // Created by Ole Begemann on 19.04.10. | |
| // Copyright 2010 Ole Begemann. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
| xcodebuild -project Foo.xcodeproj -target Foo -configuration Debug -sdk iphonesimulator5.0 clean build | |
| // | |
| // API.swift | |
| // | |
| // Created by Taro Minowa on 6/10/14. | |
| // Copyright (c) 2014 Higepon Taro Minowa. All rights reserved. | |
| // | |
| import Foundation | |
| typealias JSONDictionary = Dictionary<String, AnyObject> |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| def docker_images = ["python:2.7.14", "python:3.5.4", "python:3.6.2"] | |
| def get_stages(docker_image) { | |
| stages = { | |
| docker.image(docker_image).inside { | |
| stage("${docker_image}") { | |
| echo 'Running in ${docker_image}' | |
| } | |
| stage("Stage A") { | |
| switch (docker_image) { |
| import AppKit | |
| import SwiftUI | |
| class PromptWindowController: NSWindowController, NSWindowDelegate { | |
| // Essential properties | |
| private var promptWindowContext: PromptWindowContext | |
| private let finderContext: FinderContext | |
| init() { |