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
| adopt: function (obj) { | |
| if(typeof obj && obj.length != 'undefined') { | |
| for(var i = 0; i < obj.length; i++) { | |
| self.element.appendChild(obj[i]); | |
| } | |
| } else { | |
| self.element.appendChild(obj); | |
| } | |
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://events.xn--dt3an5b.com/track.js"></script> | |
| <script type="text/javascript"> | |
| AutomaticSEM.Activity('conversion', { | |
| SubmitForm: 'Contact Us' | |
| }); | |
| </script> |
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
| class Throne::MultiDocument < Hashie::Mash | |
| class NotFound < StandardError; end | |
| ## Class methods | |
| class << self | |
| # Sets the database that the class will use | |
| def database(name = nil) | |
| if name.nil? | |
| @database || :default | |
| else | |
| raise Throne::Database::NotSetup, "ensure that you've setup your database before using it in a class definition" unless Throne::Database.setup?(name) |
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
| boot = [-> {VisiMage::UserInterface.instance.start}] |
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
| $: << File.join(File.dirname(__FILE__), "/../lib") | |
| require "singleton" | |
| module VisiMage | |
| autoload :Scheduler, 'visimage/scheduler' | |
| autoload :ExternalData, 'visimage/externaldata' | |
| autoload :InternalData, 'visimage/internaldata' | |
| autoload :UserInterface, 'visimage/userinterface' | |
| end |
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
| foreach($ids as $id) { | |
| $newProduct = Mage::getModel('catalog/product')->load($id); | |
| print $newProduct->getName(); | |
| foreach ($newProduct->getGalleryImages() as $image) { | |
| print $newProduct->getGalleryUrl($image); | |
| } | |
| } |
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
| fun({Doc}) -> | |
| DocumentID = proplists:get_value(<<"_id">>, Doc, null), | |
| case DocumentID == <<"campaigns">> of | |
| true -> | |
| AdwordsCampaigns = proplists:get_value(<<"adwords">>, Doc, null), | |
| [Emit(DocumentID, Campaign) || Campaign <- AdwordsCampaigns]; | |
| false -> ignore | |
| end | |
| end. |
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
| function visiToggleFilter(link, class){ | |
| if(jQuery(link).html() == "more..."){ | |
| jQuery(class).show(); | |
| jQuery(link).html("hide..."); | |
| } | |
| else{ | |
| jQuery(class).hide(); | |
| jQuery(link).html("more..."); | |
| } | |
| } |
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
| $('#comments').innerHTML = '<fb:comments href="http://www.famouscam.com/archive/#/single/' + activeSingle + '"></fb:comments>'; | |
| FB.XFBML.parse($('#comments')); |
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
| [INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action connect | |
| [INFO] [NioProcessor-1] org.red5.server.net.rtmp.RTMPHandler - Connecting to: [WebScope@5025bd56 Depth = 1, Path = '/default', Name = 'famouscam'] | |
| App connect RTMPMinaConnection from 24.178.98.86 : 59369 to red5.famouscam.com (in: 3403 out 3073 ), [Ljava.lang.Object;@5db18235 | |
| Client Client: 0 joined | |
| [INFO] [NioProcessor-1] org.red5.server.stream.ClientBroadcastStream - Provider connect | |
| [INFO] [NioProcessor-1] org.red5.server.stream.ClientBroadcastStream - Stream start | |
| [INFO] [NioProcessor-1] org.red5.server.stream.ClientBroadcastStream - Provider connect | |
| Stream started | |
| Not saving stream yet even though stream is publishing, will wait for 70% of people now | |
| Broadcast Started - greenlight = false, tempStream = org.red5.server.stream.ClientBroadcastStream@421906df, conn = net.ser1.stomp.Client@79123c5f |
OlderNewer