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
divert(-1)dnl | |
#----------------------------------------------------------------------------- | |
# $Sendmail: debproto.mc,v 8.14.3 2010-09-21 11:05:34 cowboy Exp $ | |
# | |
# Copyright (c) 1998-2009 Richard Nelson. All Rights Reserved. | |
# | |
# cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure. | |
# | |
# sendmail.mc prototype config file for building Sendmail 8.14.3 | |
# |
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
jQuery.expr[':'].regex = function(elem, index, match) { | |
var matchParams = match[3].split(','), | |
validLabels = /^(data|css):/, | |
attr = { | |
method: matchParams[0].match(validLabels) ? | |
matchParams[0].split(':')[0] : 'attr', | |
property: matchParams.shift().replace(validLabels,'') | |
}, | |
regexFlags = 'ig', | |
regex = new RegExp(matchParams.join('').replace(/^\s+|\s+$/g,''), regexFlags); |
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
(function() { | |
// Change `silent` to true to invoke the promptless, self-closing | |
// version of the bookmarklet. | |
var silent = false; | |
var url = location.href; | |
var title = document.title; | |
// Look for a single hAtom entry on the page, and iff one is found, extract | |
// the entry-title in place of the document title: |
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
Author: Andrea Fabrizi | |
Email: [email protected] | |
Web: http://www.andreafabrizi.it | |
Dropbox Uploader is a BASH script which can be used to upload files to Dropbox, | |
an online file sharing, synchronization and backup service. | |
It's written in BASH scripting language and only needs cURL (CLI). | |
Usage: ./dropbox_uploader.sh [OPTIONS]... |
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
/*! | |
* Copyright 2006-2011 Dynamic Site Solutions. | |
* Free use of this script is permitted for non-commercial applications, | |
* subject to the requirement that this comment block be kept and not be | |
* altered. The data and executable parts of the script may be changed | |
* as needed. Dynamic Site Solutions makes no warranty regarding fitness | |
* of use or correct function of the script. Terms for use of this script | |
* in commercial applications may be negotiated; for this, or for other | |
* questions, contact "[email protected]". | |
* |
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
/* | |
* Copyright 2008 Dynamic Site Solutions. | |
* Free use of this script is permitted for commercial and non-commercial | |
* applications, subject to the requirement that this comment block be kept | |
* and not be altered. The data and executable parts of the script may be | |
* changed as needed. Dynamic Site Solutions makes no warranty regarding | |
* fitness of use or correct function of the script. If you would like help | |
* customizing this script or if you have other questions, contact | |
* "[email protected]". | |
* |
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/sh | |
# | |
# Simple shell script to copy a file to the Dropbox | |
# public folder and get its URL. | |
# | |
# The URL of the last file copied also stays on the | |
# X clipboard. | |
# | |
# Symlink the script as dropmv to move the file to the | |
# public folder instead of copying it. |
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 python | |
# sample usage: checksites.py eriwen.com nixtutor.com yoursite.org | |
import pickle, os, sys, logging | |
from httplib import HTTPConnection, socket | |
from smtplib import SMTP | |
def email_alert(message, status): | |
fromaddr = '[email protected]' |
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
/** | |
* Animated HTML5 / CSS3 image caption - Example 6 | |
*/ | |
/* page styles */ | |
body{ | |
background: #fff; | |
min-height:100%; | |
} |
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 Benchmark | |
BENCHMARK_VERSION = "2002-04-25" #:nodoc" | |
# Invokes the block with a <tt>Benchmark::Report</tt> object, which | |
# may be used to collect and report on the results of individual | |
# benchmark tests. Reserves <i>label_width</i> leading spaces for | |
# labels on each line. Prints _caption_ at the top of the | |
# report, and uses _format_ to format each line. | |
# Returns an array of Benchmark::Tms objects. |
OlderNewer