This file contains 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
$('#mouseover-top').bind('mouseenter', function(e) { | |
var tab = that.tabs[that.settings.tab]; | |
var elem = $('#' + that.settings.tab + '-box'); | |
var $this = $(this); | |
$('#mouseover-bottom').show(); | |
elem.stop().animate({top: 0}, 3000, function() { | |
$this.hide(); | |
tab.top = 0; | |
}); | |
}).bind('mouseleave', function(e) { |
This file contains 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
$('#mouseover-top').bind('mouseenter', function(e) { | |
var tab = that.tabs[that.settings.tab]; | |
var elem = $('#' + that.settings.tab + '-box'); | |
var $this = $(this); | |
$('#mouseover-bottom').show(); | |
var speed = Math.abs(tab.top) / (tab.height - that.settings.height); | |
elem.stop().animate({top: 0}, Math.round(that.settings.maxSpeed * speed), function() { | |
$this.hide(); | |
tab.top = 0; | |
}); |
This file contains 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
/** | |
* Module to display a lightbox with a set of images | |
* @author Moe | |
*/ | |
Site.MediaOverlay = (function($) { | |
//private variables | |
var canComment = true, | |
imageIndex = 0, | |
fullWidth = 935, | |
shortWidth = 650, |
This file contains 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
$(selector).live('keyup', function(e) { | |
}).live('focus', function(e) { | |
activeElem = $(this); | |
activeElem.trigger('keyup'); | |
}).live('blur', function(e) { | |
hideDropDown(); | |
}); |
This file contains 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
{ | |
* | |
- | |
result: [ | |
o | |
- | |
{ | |
+ id: "589303468" | |
+ server: "620" |
This file contains 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
$.when(Utils.post({ message: text, services: services, media: uploadedImages} )) | |
.then(function(r) { | |
Site.resetUploadArea(message_id); | |
if(services.length == 0) | |
Utils.triggerGlobalInformer(inform, Uploader.informerDelay); | |
}) | |
.fail(function(r) { | |
Utils.triggerGlobalInformer("Well, something went wrong. Embarrassing, isn't it?", 5); | |
}); |
This file contains 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"> | |
GA_googleAddSlot("ca-pub-7137941865592088", "yfrog2_landing"); | |
GA_googleAddSlot("ca-pub-7137941865592088", "yfrog_Seacrest_LandingPage"); | |
{if $screen_name} | |
GA_googleAddAttr("passback", "loggeduser"); | |
GA_googleAddAttr("twitterid", "{$screen_name}"); | |
{/if} | |
</script> | |
{assign var='modded' value=false} | |
{foreach from=$targeting item=m} |
This file contains 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 is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
This file contains 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
[root@moe apache]# iptables -L | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
RH-Firewall-1-INPUT all -- anywhere anywhere | |
Chain FORWARD (policy ACCEPT) | |
target prot opt source destination | |
RH-Firewall-1-INPUT all -- anywhere anywhere | |
Chain OUTPUT (policy ACCEPT) |
This file contains 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
[root@moe apache]# iptables -L | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
RH-Firewall-1-INPUT all -- anywhere anywhere | |
ACCEPT tcp -- anywhere anywhere tcp dpt:http | |
ACCEPT tcp -- anywhere anywhere tcp dpt:https | |
Chain FORWARD (policy ACCEPT) | |
target prot opt source destination | |
RH-Firewall-1-INPUT all -- anywhere anywhere |
OlderNewer