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:
- Netflix
- Hulu / HuluPlus
- CBS
- ABC
- MTV
- theWB
- CW TV
- Crackle
| module Redcar | |
| class Comment | |
| java_import 'com.redcareditor.mate.Grammar' | |
| # Find a map of comment symbols for a grammar, using the a tab's cursor scope | |
| def self.find_by_scope tab | |
| # doc.cursor_scope is returned as space-delimited string of applicable | |
| # scopes, from most general, to most specific. For example, | |
| # in an erb file, the top scope would be something like 'text.html.ruby', |
| require "hpricot" | |
| require "fileutils" | |
| module BridgeSupport | |
| class Parser | |
| def initialize(path_from, path_to) | |
| @doc = open(path_from) {|f| Hpricot(f).search('signatures').first} | |
| if @doc and @doc.children | |
| FileUtils.mkdir_p File.dirname(path_to) | |
| o = open(path_to, 'w') |
| #how grammar is set | |
| def update_grammar(new_mirror) | |
| title = new_mirror.title | |
| contents = new_mirror.read | |
| first_line = contents.to_s.split("\n").first | |
| # @mate_text is a MateText object (see javamateview project) | |
| grammar_name = @mate_text.set_grammar_by_first_line(first_line) if first_line | |
| unless grammar_name | |
| grammar_name = @mate_text.set_grammar_by_filename(title) |
| // target request: | |
| // http://nominatim.openstreetmap.org/reverse?format=xml&lat=40.004&lon=-82.862&MaxResponse=1&zoom=17&accept-language=en-us&addressdetails=1 | |
| var getMyData = (function() { | |
| var lat = document.forms[0].lat.value; | |
| var lng = document.forms[0].lon.value; | |
| return {format:"xml",lat:lat,lng:lng,MaxResponse:1,zoom:17,"accept-language":"en-us",addressdetails:1}; | |
| }) | |
| var submitForm = function() { |
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:
| class MyGroupedListController < UIViewController | |
| attr_accessor :posts | |
| attr_accessor :sections | |
| class TableViewSection | |
| attr_accessor :title | |
| attr_accessor :items | |
| def initialize(params={}) | |
| @title = params[:title] |
| # from https://github.com/kattrali/redcar-code-package-view/blob/master/lib/code_package_view.rb#L43 | |
| def self.package_directory(adapter,base_path,path,nodes=[],path_name=File.basename(path)) | |
| has_excluded_dirs = false | |
| has_files = false | |
| Dir["#{path.to_s}/*/"].map do |a| | |
| unless File.basename(a) =~ /^\./ # exclude hidden dirs from being packaged | |
| excluded = false | |
| Preferences.excluded_patterns.each do |ex| | |
| if a =~ /#{ex}/ and not excluded |
| #!/usr/bin/env sh | |
| # | |
| # cocoadex_completion.sh | |
| # | |
| # Bash completion for Cocoa classes | |
| # Install by saving this file and adding the following to your .bash_profile: | |
| # | |
| # complete -C /path/to/cocoadex_completion.sh -o default cocoadex | |
| /usr/bin/env ruby <<-EORUBY |
| # A script to generate a zsh compdef file from Cocoadex keyword names | |
| # Change the `TARGET` if you store zsh completion files somewhere other | |
| # than `~/.zsh/completion` | |
| # | |
| # Reference: | |
| # - Writing own completion functions : http://askql.wordpress.com/2011/01/11/zsh-writing-own-completion/ | |
| require 'rubygems' | |
| require 'cocoadex' |
| ### | |
| # Scheme code is translated to YARV byte code, then evaluated in the | |
| # Ruby Virtual Machine | |
| require 'rbconfig' | |
| require 'dl' | |
| require 'fiddle' | |
| require 'strscan' | |
| class RubyVM |