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
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:
@mixin mobile_bg($file){ | |
background-image: image-url('mobile/standard/#{$file}'); | |
@media screen and (-webkit-min-device-pixel-ratio: 2) { | |
background-image: image-url('mobile/retina/#{$file}'); | |
background-size: image-width('mobile/standard/#{$file}') image-height('mobile/standard/#{$file}'); | |
} | |
} | |
// Usage |
input = ARGV[0] | |
output = ARGV[1] | |
unless input && output | |
puts "usage IN OUT" and exit | |
end | |
system "ffmpeg -i '#{input}' -map 0:0 -vn -acodec copy #{output}-1.m4a -map 0:1 -vn -acodec copy #{output}-2.m4a" |
# usage: | |
# expect {}.to publish_notification("object:created").with({:id => 1}) | |
# expect {}.to publish_notification("object:created").with {|actual_payload| actual_payload[:id].present? } | |
module ActiveSupportNotificationMatchers | |
class PublishNotifications | |
def initialize(event_name) | |
@event_name = event_name | |
@payload = nil | |
end |
## Most important settings
Create a new facebook app (1) and make sure the canvas url (2) in the basic tab matches the host and port configured with Capybara.server_port and Capybara.app_host. Activating sandbox mode (3) in the advanced tab enables you to roll without providing an SSL canvas url. You want to set the display mode (4) of your facebook dialogs to page, which is also the default.
This helper has finally been moved into a gem called nav_lynx!
https://github.com/vigetlabs/nav_lynx
http://rubygems.org/gems/nav_lynx
Thanks to @brianjlandau and @reagent for getting that set up and tested!
<?xml version="1.0"?> | |
<!-- Key Mappimgs for http://pqrs.org/macosx/keyremap4macbook/ --> | |
<root> | |
<item> | |
<name>German Umlaute on US Keyboard Layout with ALT modifier</name> | |
<appendix>Change Option+o to ö</appendix> | |
<appendix>Change Option+a to ä</appendix> | |
<appendix>Change Option+u to ü</appendix> | |
<identifier>remap.org.openhort.german_umlaute_with_ALT_modifier</identifier> |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName hostname.com | |
DocumentRoot /var/www/vhosts/ruby/htdocs/public | |
CustomLog /var/www/vhosts/ruby/log/access.log combined | |
ErrorLog /var/www/vhosts/ruby/log/error.log | |
<Directory "/var/www/vhosts/ruby/htdocs/public"> | |
SetOutputFilter DEFLATE |
RewriteEngine On | |
RewriteBase / | |
# ensure the browser supports gzip encoding | |
RewriteCond %{HTTP:Accept-Encoding} \b(x-)?gzip\b | |
RewriteCond %{REQUEST_FILENAME}.gz -s | |
RewriteRule ^(.+) $1.gz [L] | |
# ensure correct Content-Type and add encoding header | |
<FilesMatch \.css\.gz$> |
########################################## | |
# | |
# 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) |