This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
- Hulu / HuluPlus
- CBS
- ABC
- MTV
- theWB
- CW TV
- Crackle
- NBC
| class Client < ActiveRecord::Base | |
| has_many :projects | |
| scope :active, -> { where(active: true) } | |
| end | |
| class Project < ActiveRecord::Model | |
| belongs_to :client | |
| scope :active, -> { |
| # Installation | |
| brew install ffmpeg --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid | |
| # Easy Peasy | |
| ffmpeg -i video.mp4 video.webm |
This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
| // DataManager.h | |
| #import <Foundation/Foundation.h> | |
| #import <CoreData/CoreData.h> | |
| extern NSString * const DataManagerDidSaveNotification; | |
| extern NSString * const DataManagerDidSaveFailedNotification; | |
| @interface DataManager : NSObject { | |
| } |
| !!! | |
| /[if lt IE 7] <html class="no-js ie6 oldie" lang="en"> | |
| /[if IE 7] <html class="no-js ie7 oldie" lang="en"> | |
| /[if IE 8] <html class="no-js ie8 oldie" lang="en"> | |
| <!--[if (gt IE 8)]><html lang="en" class="no-js"><![endif]--> | |
| %head | |
| %meta{charset: "utf-8"} | |
| %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"} | |
| %title 'Rails 3.1.1 barebones HTML5Boilerplate' |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
| -- model | |
| some sort of constant hash: | |
| HASH_NAME = { | |
| 0 => "Choose:", | |
| 1 => "On-Campus Recruiting - CSO",· | |
| 2 => "CSO Staff Referral", | |
| 3 => "Faculty Contact",· | |
| 4 => "Career Day",· | |
| 5 => "CSO Summer Job Listing",· | |
| 6 => "Alumni Contact",· |
| # Gemfile | |
| … | |
| gem 'uuidtools' | |
| … |
| // DataManager.h | |
| #import <Foundation/Foundation.h> | |
| #import <CoreData/CoreData.h> | |
| extern NSString * const DataManagerDidSaveNotification; | |
| extern NSString * const DataManagerDidSaveFailedNotification; | |
| @interface DataManager : NSObject { | |
| } |