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:
var App = Em.Application.create(); | |
App.ApplicationController = Em.Controller.extend(); | |
App.ApplicationView = Em.View.extend({ templateName: 'application' }); | |
App.HomeController = Em.Controller.extend(); | |
App.HomeView = Em.View.extend({ templateName: 'home' }); | |
App.AuthController = Em.Controller.extend({ |
########################################## | |
# | |
# c.f. http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4 | |
# | |
# Version 2.82 | |
# | |
# Latest Change: | |
# - MORE tweaks to get the iOS 10+ and 9- working | |
# - Support iOS 10+ | |
# - Corrected typo for iOS 1-10+ (thanks @stuikomma) |
# ROUTER | |
GWS.Router.map (match) -> | |
#match("/").to("home") # home.handlebars gets rendered automatically and mapped to / | |
# according to guide the previous logic shouldn't be needed. but it won't work without it | |
# you can either use model: () -> or | |
# setupController: (controller, model) -> | |
# controller.set 'content', model |
// Version: v1.0.0-pre.4-55-g11ab37f | |
// Last commit: 11ab37f (2013-01-27 14:30:02 -0800) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
// Last commit: 36d2e2a (2013-03-11 17:37:25 -0700) | |
(function() { | |
window.DS = Ember.Namespace.create({ | |
// this one goes past 11 | |
CURRENT_API_REVISION: 12 | |
}); | |
})(); |
// Working on getting html5sortable plugin working | |
// Key part is needing to call the sortable() method using Ember.run.next | |
// If called straight away the functionality quickly gets applied, but then is lost | |
// At least that's what it looks like when stepping through chrome debugger | |
// http://farhadi.ir/projects/html5sortable/ | |
App.SortableView = Ember.CollectionView.extend({ | |
tagName: 'ul', | |
itemViewClass: 'App.SortableItemView', |
#!/bin/bash | |
sudo apt-get update | |
# Now let's install all the required ubuntu packages | |
sudo apt-get install build-essential uwsgi nginx uwsgi-plugin-python python-pip | |
# PS! If you are doing this stuff for fun I do recommend to install nginx from PPA repository | |
# that you can find here https://launchpad.net/~nginx/+archive/development |