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
filedesc://1346864466526_10.arc.gz 0.0.0.0 20120905170106 text/plain 73 | |
1 0 CommonCrawl | |
URL IP-address Archive-date Content-type Archive-length | |
http://www.ewi-vlaanderen.be/taxonomy/term/734/all/feed 77.241.93.135 20120209060244 application/rss+xml 811 | |
HTTP/1.1 200 OK | |
Date:Thu, 09 Feb 2012 06:05:05 GMT | |
Server:Apache/2.2.3 (Debian) PHP/5.2.0-8+etch16 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 | |
X-Powered-By:PHP/5.2.0-8+etch16 | |
Expires:Sun, 19 Nov 1978 05:00:00 GMT |
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
<?php | |
function in_list($val, $csvList) | |
{ | |
return preg_match("/^($val),|,($val)$|,($val),/", $csvList); | |
} | |
$zipcodes = array(); | |
for ($i = 10000; $i < 99999; $i++) { | |
$zipcodes []= $i; |
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'> | |
var _ss = _ss || []; | |
_ss.push(['_setDomain', 'http://app.sharpspring.com/net/']); | |
_ss.push(['_setAccount', 'KOI-XXXXX']); | |
_ss.push(['_setResponseCallback', callThisOnReturn]); | |
_ss.push(['_trackPageView']); | |
(function() { | |
var ss = document.createElement('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
#!/bin/bash | |
# Author: Remigijus Jarmalavičius <[email protected]> | |
# Author: Vytautas Povilaitis <[email protected]> | |
ROOT_DIR="$(pwd)/" | |
LIST=$(git status | grep -e '\#.*\(modified\|added\)') | |
ERRORS_BUFFER="" | |
for file in $LIST | |
do | |
if [ "$file" == '#' ]; then |
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
#!/bin/bash | |
HOST="173.230.128.9" | |
#HOST="app1.sharpspring.com" | |
COUNT=0 | |
while : | |
do | |
COUNT=$[$COUNT+1] | |
RESPONSE=$(curl -s -w '%{time_total}' -o /dev/null http://$HOST/includes/js/app/main.js) |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<body> | |
<script src="http://d3js.org/d3.v2.min.js?2.9.7"></script> | |
<script> | |
var width = 960, | |
height = 500; | |
var nodes = d3.range(200).map(function() { return {radius: Math.random() * 12 + 4}; }), |
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
; Certificate/key is needed in server mode and optional in client mode | |
; To generate a self-signed certificate run: | |
; openssl req -new -x509 -days 365 -nodes -config /usr/share/doc/stunnel4/examples/stunnel.cnf -out stunnel.pem -keyout stunnel.pem | |
cert = /etc/stunnel/ssl/stunnel.pem | |
; Protocol version (all, SSLv2, SSLv3, TLSv1) | |
sslVersion = SSLv3 | |
; Some security enhancements for UNIX systems - comment them out on Win32 | |
chroot = /var/lib/stunnel4/ |
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 convertToMilitaryTime( ampm, hours, minutes ) { | |
var militaryHours; | |
if( ampm == "am" ) { | |
militaryHours = hours; | |
// check for special case: midnight | |
if( militaryHours == "12" ) { militaryHours = "00"; } | |
} else { | |
if( ampm == "pm" || am == "p.m." ) { | |
// get the interger value of hours, then add | |
tempHours = parseInt( hours ) + 2; |
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
travis-dx4860 | |
description: Desktop Computer | |
product: DX4860 () | |
vendor: Gateway | |
serial: PTGCPP20031430042F6300 | |
width: 32 bits | |
capabilities: smbios-2.6 dmi-2.6 smp-1.4 smp | |
configuration: administrator_password=disabled boot=normal chassis=desktop cpus=2 family=Gateway Desktop power-on_password=disabled uuid=A0317918-00FB-E011-AF09-3860779F0173 | |
*-core | |
description: Motherboard |
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
UPDATE campaign, | |
(SELECT | |
c.id, IF(MAX(l.createTimestamp), | |
MAX(l.createTimestamp), | |
'0000-00-00') AS ts | |
FROM | |
campaign c | |
LEFT JOIN | |
lead l ON l.campaignID = c.id | |
GROUP BY c.id) timestamps |