Skip to content

Instantly share code, notes, and snippets.

@kzim44
kzim44 / GIF-Screencast-OSX.md
Created September 7, 2021 19:52 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@kzim44
kzim44 / Mailer.py
Created November 11, 2015 05:42 — forked from rdempsey/Mailer.py
#!/usr/bin/env python
# encoding: utf-8
"""
Mailer.py
Created by Robert Dempsey on 11/07/14.
Copyright (c) 2014 Robert Dempsey. All rights reserved.
"""
import sys
import os
@kzim44
kzim44 / UIView+CustomTimingFunction.h
Last active November 9, 2015 23:04 — forked from nuthinking/UIView+CustomTimingFunction.h
UIView Custom Timing Functions
//
// UIView+CustomTimingFunction.h
// Instants
//
// Created by Christian Giordano on 16/10/2013.
// Copyright (c) 2013 Christian Giordano. All rights reserved.
//
#import <UIKit/UIKit.h>
@kzim44
kzim44 / csvcut
Created October 26, 2015 16:10 — forked from dbro/csvcut
Command line 'cut' utility that can handle csv quoting. This allows proper handling of fields that contain delimiters, both field and record delimiters like commas and newlines. Thanks to github.com/JoeGermuska for the initial version of the code.
#!/usr/bin/env python
"""
from https://gist.github.com/JoeGermuska/561347
Like cut, but for CSVs. To be used from a shell command line.
Note that fields are 1-based, similar to the UNIX 'cut' command.
Should use something better than getopt, but this works...
Usage:
@kzim44
kzim44 / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
// Simulate abstract method
-(CGFloat)abstractFoo {
[self doesNotRecognizeSelector:_cmd];
return 0.0f;
}