Skip to content

Instantly share code, notes, and snippets.

View DevinClark's full-sized avatar

Devin Clark DevinClark

View GitHub Profile

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:

@DevinClark
DevinClark / 0_reuse_code.js
Created June 1, 2014 16:16
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
angular.element($0).scope().someFunction();

Keybase proof

I hereby claim:

  • I am devinclark on github.
  • I am dddev (https://keybase.io/dddev) on keybase.
  • I have a public key whose fingerprint is 2B60 726D 6212 2AA4 7BF6 5336 0A74 109E 1B30 05CB

To claim this, I am signing this object:

[08:51:53] <dddev> fight that urge if you want others to help
[08:51:53] <joekarl> and that's why I'm stuck
[08:51:53] <joekarl> I want the code to be simple and lean, but that means custom install which means others can't help
[08:51:53] <joekarl> 😑
[08:51:53] <joekarl> I just want to stay away from having random tools as dependencies and it seems that angular wants to head that direction
[08:51:53] <dddev> like what?
[08:51:53] <joekarl> well I suppose that's an unfair criticism, I guess more of the fact that setting this app up I feel like I need to strip out things is annoying
[08:51:53] <joekarl> which is probably more of the yeoman generator than angular
[08:51:53] <joekarl> anyways, I'll shutup now lol
[08:51:53] <dddev> Yeah. I'm generally not a fan of generators.
$stateProvider
.state({
name: 'root',
url: '',
abstract: true,
templateUrl: '/templates/root.html',
controller: 'MainController',
controllerAs: 'Main',
resolve: {
token: function ($q, Auth) {
@DevinClark
DevinClark / dabblet.css
Created February 3, 2012 22:01
Loading dot dot dot
/*
Loading dot dot dot
*/
body {
padding: 100px;
font-size: 62.5%;
width: 400px;
}
@DevinClark
DevinClark / Issue.md
Created November 13, 2015 20:53
Mapbox GL Raster Rendering Issues

We have a tile server for radar data. (It also serves up country tiles (for whatever reason) so I am using that for my first example).

Expected Result:
----------------
One
Two
Three
Four
Six
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
watch: {
sass: {
files: ['scss/*.scss'],
tasks: ['compass']
},