Install the following requirements:
brew info zeromq
npm install zmq
npm install socket.io
gem install ffi-rzmq
Within the app directory run the following commands in different panes.
ruby worker.rb
| #!/bin/sh | |
| # Usage: | |
| # ./clone.sh TESTENV_TO_CLONE_DIR NEW_TEST_ENV_DIR | |
| # ./clone.sh TESTENV08-HOST TESTENV03-HOST | |
| # The above will clone 08 to 03 and register the vm | |
| # | |
| # * Do not end the argument directories with a slash! | |
| # Date: Mar 10, 2015 | |
| DIR_DS=$(pwd) | 
| #!/bin/bash | |
| # delete files older than 14 days | |
| DIR=/var/www/magento/var/session/ | |
| /usr/bin/find $DIR -depth -mtime +14 -exec rm -rf '{}' \; | 
| { | |
| "env": { | |
| "browser": true, | |
| "node": true, | |
| "es6": true | |
| }, | |
| "plugins": ["react"], | |
| "ecmaFeatures": { | 
| { | |
| "env": { | |
| "node": true, | |
| "es6": true | |
| }, | |
| "parser": "babel-eslint", | |
| "rules": { | |
| "no-throw-literal": 1, | |
| "strict": "never", | |
| "semi": [2, "never"], | 
Install the following requirements:
brew info zeromq
npm install zmq
npm install socket.io
gem install ffi-rzmq
Within the app directory run the following commands in different panes.
ruby worker.rb
| See my DASH-IF presentation from October, 2014: | |
| https://s3.amazonaws.com/misc.meltymedia/dash-if-reveal/index.html#/ | |
| 1. encode multiple bitrates with keyframe alignment: | |
| ffmpeg -i ~/Movies/5D2_Portrait.MOV -s 1280x720 -c:v libx264 -b:v 1450k -bf 2 \ | |
| -g 90 -sc_threshold 0 -c:a aac -strict experimental -b:a 96k -ar 32000 out.mp4 | |
| My input was 30 fps = 3000 ms. If it were 29.97, then a GOP size of 90 frames will yield a base segment | |
| size of 3003 milliseconds. You can make the segment size some multiple of this, e.g.: 6006, 9009, 12012. | 
| #!/bin/bash | |
| # File: deis-backup.sh | |
| # Author: Ian Blenke | |
| # License: Apache License, Version 2.0 | |
| # | |
| # Note: This script is meant to be run under CoreOS "toolbox", as it uses the /media mount and talks locally to etcd to obtain Deis ceph credentials. | |
| # Error out whenever something returns a non-zero errno | |
| set -eo pipefail | 
| FROM debian:8.1 | |
| MAINTAINER @cGuille <[email protected]> | |
| RUN apt-get update && apt-get -y dist-upgrade | |
| RUN apt-get install -y golang git | |
| ENV GOPATH /usr/go | |
| RUN mkdir $GOPATH | |
| ENV PATH $GOPATH/bin:$PATH | 
| { | |
| "Version":"2012-10-17", | |
| "Statement":[ | |
| { | |
| "Sid":"ElasticBeanstalkEnvironmentPermissions", | |
| "Effect":"Allow", | |
| "Action":[ | |
| "elasticbeanstalk:DescribeEnvironmentResources", | |
| "elasticbeanstalk:DescribeEnvironments", | |
| "elasticbeanstalk:DescribeEvents", | 
| package com.abdulqabiz.utils | |
| { | |
| public class CursorAttributes extends Object | |
| { | |
| public var cursorType:Class = null; | |
| public var priority:int = 2; | |
| public var xOffset:Number = 0; | |
| public var yOffset:Number = 0; | |
| public function CursorAttributes (cursorType:Class, |