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
session = ~/downloads/sessions; | |
directory = ~/downloads/in_progress; | |
encryption = enable_retry; | |
upload_rate = 50; | |
download_rate = 250; | |
#use_udp_trackers = no; |
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
var youtube_width = 425; | |
var youtube_height = 345; | |
var youtubevideos = {}; | |
var youtubevideologgers = {}; | |
function onYouTubePlayerReady(playerId) { | |
youtubevideologgers[playerId] = function (state) { | |
if (0 == state) { | |
try { | |
pageTracker._trackEvent('Video', 'watched', youtubevideos[playerId].name); |
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
grep -in '_\.oO' rejectlog.1 | wc -l |
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
Index: includes/functions.php | |
=================================================================== | |
--- includes/functions.php (revision 243251) | |
+++ includes/functions.php (working copy) | |
@@ -125,6 +125,10 @@ | |
} | |
function wpcf7_json( $items ) { | |
+ | |
+ if (function_exists('json_encode')) |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-GB"> | |
<head> | |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
// <![CDATA[ | |
$(document).ready(function () { | |
if ($('#'+ Location.map_dom_id).size() && google.maps) { |
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 | |
$recent_tracks = simplexml_load_string(file_get_contents('http://ws.audioscrobbler.com/1.0/user/PRIVATE/recenttracks.rss')); | |
if ($current_track = $recent_tracks->channel->item[0]) { | |
$parts = explode('/', (string) $current_track->link); | |
$track_info_url = 'http://ws.audioscrobbler.com/2.0/?method=track.getinfo&api_key=PRIVATE&artist=%s&track=%s&autocorrect=1'; | |
if ($track_info = simplexml_load_string(file_get_contents(sprintf($track_info_url, urlencode(urldecode(urldecode($parts[4]))), urlencode(urldecode($parts[6])))))) { |
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
#!/bin/bash | |
NUM_EMAILS=`ls -1 /var/spool/exim4/input | wc -l` | |
if [ $NUM_EMAILS -lt 1000 ]; then | |
echo "status ok there are $NUM_EMAILS emails in the queue" | |
else | |
echo "status warn there are $NUM_EMAILS emails in the queue" | |
fi | |
echo "metric mailq int $NUM_EMAILS" |
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
// $Id: jquery.pod1.fade.js 1206 2011-01-14 09:00:53Z tedme $ | |
/** | |
* Pod1Fade | |
* Tom Edme & Hannah Stothard | |
* Nov 2010. | |
*/ | |
(function ($) { |
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
<div id="carousel-overflow"> | |
<div id="carousel"> | |
<div id="carousel-inner"> | |
<div id="image_wrap"> | |
<a href="/offers/item/jubilee" rel="external"><img src="/uploads/assets/1641b91ef3.jpg" width="1300" height="341" id="slideshow-image-default" alt="Hotel Offers & Deals, Short Breaks in England Scotland Wales" /></a> | |
</div> | |
<div class="scrollable-numbers"> | |
<div class="scrollable2"> | |
<div class="items2"> | |
<div> |
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
tar xf Sublime\ Text\ 2\ Build\ 2181\ x64.tar.bz2 | |
mv Sublime\ Text\ 2 sublime-text-2 | |
sudo mv sublime-text-2 /usr/local/lib/ | |
sudo ln -s /usr/local/lib/sublime-text-2 /usr/bin/sublime | |
sudo sublime /usr/share/applications/sublime.desktop | |
[Desktop Entry] | |
Version=1.0 | |
Name=Sublime Text 2 | |
GenericName=Text Editor |
OlderNewer