This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "uri" | |
require "yajl/http_stream" | |
require "twitter" | |
# Campfire Setup | |
token = 'yourtoken' | |
room_id = 111111 | |
url = URI.parse("http://#{token}:[email protected]//room/#{room_id}/live.json") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install nginx and ejabberd | |
foo@bar$ sudo apt-get install ejabberd nginx curl | |
# Download strophe.js | |
foo@bar$ curl - http://code.stanziq.com/strophe/strophejs/releases/strophejs-1.0.1.tar.gz | |
# Verify you have an entry in your /etc/hosts file for | |
# localhost, it should look something like this (yes, | |
# silly, but lately for some reason I keep running into | |
# people who modify this incorrectly) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Export a query to CSV | |
mysql> create table user_video_for_brightcove engine=CSV SELECT user_id, title, description, time_created, file_name, is_private, status_mlg, parent_user_video_id FROM user_video where parent_user_video_id = 0 and status_mlg = 'active'; | |
Query OK, 112176 rows affected (1.73 sec) | |
Records: 112176 Duplicates: 0 Warnings: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="http://62.212.66.11/cmg/auditudeBanners.js"></script> | |
<script type="text/javascript" src="http://62.212.66.11/cmg/flowplayer-3.2.0.min.js"></script> | |
<a href="" style="display:block !important;width:720px !important;height:480px !important;" id="MLGPlayer"></a> | |
<script>$f("MLGPlayer", "http://62.212.66.11/cmg/player.swf", { | |
plugins: { | |
controls: { streams: "str,stb,halo,cod" }, | |
invideous: { url: 'http://62.212.66.11/cmg/invideous.swf', width: "100%", height: "100%", top: 0, left: 0, pid:3771 }, | |
TMPlugin: { url: "http://static.inplay.tubemogul.com/bootloader/TubeMogulFlowPlayer.swf", playerID: "P-W8J-51Q", trackerIDs: "TD-ASG-WXP", displayName:"Default feed" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<object id="MLGPlayer" width="720" height="480" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> | |
<param value="true" name="allowfullscreen"/> | |
<param value="always" name="allowscriptaccess"/> | |
<param value="high" name="quality"/> | |
<param value="true" name="cachebusting"/> | |
<param value="#000000" name="bgcolor"/> | |
<param name="movie" value="http://streamworksflowplayermodifcati.appspot.com/static/player/player.swf?0.23985370295122266" /> | |
<param value="config=%7B%22clip%22%3A%7B%7D%2C%22plugins%22%3A%7B%22controls%22%3A%7B%22streams%22%3A%22str%2Cstb%2Chalo%2Ccod%22%7D%2C%22invideous%22%3A%7B%22height%22%3A%22100pct%22%2C%22url%22%3A%22invideous.swf%22%2C%22left%22%3A0%2C%22top%22%3A0%2C%22width%22%3A%22100pct%22%2C%22pid%22%3A3771%7D%2C%22banner%22%3A%7B%22url%22%3A%22banner.swf%22%7D%2C%22TMPlugin%22%3A%7B%22url%22%3A%22http%3A//static.inplay.tubemogul.com/bootloader/TubeMogulFlowPlayer.swf%22%2C%22trackerIDs%22%3A%22TD-ASG-WXP%22%2C%22playerID%22%3A%22P-W8J-51Q%22%2C%22displayName%22%3A%22Default%20f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="http://streamworksflowplayermodifcati.appspot.com/static/player/auditudeBanners.js"></script> | |
<script type="text/javascript" src="http://streamworksflowplayermodifcati.appspot.com/static/player/flowplayer-3.2.0.min.js"></script> | |
<a href="" style="display:block !important;width:720px !important;height:480px !important;" id="MLGPlayer"></a> | |
<script>$f("MLGPlayer", "http://streamworksflowplayermodifcati.appspot.com/static/player/player.swf", { | |
plugins: { | |
controls: { streams: "str,stb,halo,cod", akamai:true }, | |
invideous: { url: 'http://streamworksflowplayermodifcati.appspot.com/static/player/invideous.swf', width: "100%", height: "100%", top: 0, left: 0, pid:3771 }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="http://streamworksflowplayermodifcati.appspot.com/static/player/flowplayer-3.2.0.min.js"></script> | |
<a href="" style="display:block;width:512;height:384" id="MLGPlayer"></a> | |
<script> | |
$f("MLGPlayer", "http://streamworksflowplayermodifcati.appspot.com/static/player/player.swf", { | |
plugins: { | |
controls: { streams: "str,stb,halo,cod", autoplay:false }, | |
invideous: { url: 'http://streamworksflowplayermodifcati.appspot.com/static/player/invideous.swf', width: "100%", height: "100%", top: 0, left: 0, pid:3771 }, | |
TMPlugin: { url: "http://static.inplay.tubemogul.com/bootloader/TubeMogulFlowPlayer.swf", playerID: "P-W8J-51Q", trackerIDs: "TD-ASG-WXP", displayName:"Default feed" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('zappa') -> | |
# MongoDB Setup | |
mongoose = require 'mongoose' | |
db = mongoose.connect('mongodb://localhost/my_database') | |
# Declare schema for model | |
Schema = mongoose.Schema | |
User = new Schema | |
name: String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This emacs configuration comes from: | |
;; http://www.viget.com/extend/emacs-24-rails-development-environment-from-scratch-to-productive-in-5-minu/ | |
;; It's patched to work with el-get 3.1 as noted here: | |
;; https://github.com/dimitri/el-get | |
(push "/usr/local/bin" exec-path) | |
(add-to-list 'load-path "~/.emacs.d") | |
(setq make-backup-files nil) | |
(setq auto-save-default nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Title | |
{ | |
TitleId 0x58410A65 ; Siren | |
UserData "prod" | |
} | |
Title | |
{ | |
TitleId 0x57520FA3 ; Siren (GFWL) |
OlderNewer