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
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> | |
<link href="rotate.css" rel="stylesheet" type="text/css" /> | |
<script type="text/javascript" src="rotate.js"></script> | |
<script type="text/javascript"> | |
$(window).load(function() { | |
startRotator("#rotator"); | |
}) | |
</script> |
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
; SRV | |
_jabber._tcp.@ 1 IN SRV 5 0 5269 xmpp-server.l.google.com | |
_jabber._tcp.@ 1 IN SRV 20 0 5269 xmpp-server4.l.google.com | |
_jabber._tcp.@ 1 IN SRV 20 0 5269 xmpp-server2.l.google.com | |
_jabber._tcp.@ 1 IN SRV 20 0 5269 xmpp-server1.l.google.com | |
_jabber._tcp.@ 1 IN SRV 20 0 5269 xmpp-server3.l.google.com | |
_xmpp-client._tcp.@ 1 IN SRV 5 0 5222 talk.l.google.com | |
_xmpp-client._tcp.@ 1 IN SRV 50 0 5222 talk4.l.google.com | |
_xmpp-client._tcp.@ 1 IN SRV 5 0 5222 talk1.l.google.com | |
_xmpp-client._tcp.@ 1 IN SRV 20 0 5222 talk3.l.google.com |
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
<?php | |
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* |
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
<? foreach(range(1, 10) as $i) echo $i * 2 . " "; |
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
backend app1 { | |
.host = "127.0.0.1"; | |
.port = "8000"; | |
} | |
acl purge { | |
"127.0.0.1"; | |
"::1"; | |
} |
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
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-08-25 | |
# | |
# _______________| httpstatus : get HTTP status code | |
# | |
# Usage: httpstatus URL [timeout] [--code or --status] [see 4.] | |
# ^message with code (default) | |
# ^code (numeric only) | |
# ^in secs (default: 3) | |
# ^URL without "http://" prefix works fine. |
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
<?php defined('SYSPATH') or die('No direct script access.'); | |
// -- Environment setup -------------------------------------------------------- | |
// Load the core Kohana class | |
require SYSPATH.'classes/kohana/core'.EXT; | |
if (is_file(APPPATH.'classes/kohana'.EXT)) | |
{ | |
// Application extends the core |
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
# webm | |
ffmpeg -i IN -f webm -vcodec libvpx -acodec libvorbis -ab 128000 -crf 22 -s 640x360 OUT.webm | |
# mp4 | |
ffmpeg -i IN -acodec aac -strict experimental -ac 2 -ab 128k -vcodec libx264 -vpre slow -f mp4 -crf 22 -s 640x360 OUT.mp4 | |
# ogg (if you want to support older Firefox) | |
ffmpeg2theora IN -o OUT.ogv -x 640 -y 360 --videoquality 5 --audioquality 0 --frontend |
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
-------------------------------------------------------------------------------- | |
AMIBIOS Information Report | |
-------------------------------------------------------------------------------- | |
BIOS Name: Pineview | |
ROM File: LG-N~BD6.ROM | |
Thu, Feb 02, 2012 09:21:29 | |
BIOS MODULES | |
------------ |
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
<?php | |
/* This snippet removes the action that inserts thumbnails to products in teh loop | |
* and re-adds the function customized with our wrapper in it. | |
* It applies to all archives with products. | |
* | |
* @original plugin: WooCommerce | |
* @author of snippet: Brian Krogsard | |
*/ | |
remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10); |
OlderNewer