#Installing neo4j Spatial Warning: None of this works
##Setup Linode ##Update packages $ sudo apt-get update ##Install dependencies $ sudo apt-get install git-core $ sudo apt-get install openjdk-6-jdk $ sudo apt-get install lsof
#see who else is on the network with you | |
arp -a | |
#list the network interfaces on your computer | |
ifconfig | |
#change the mac address of an interface on your computer to 00:00:00:00:00:00 | |
sudo ifconfig en1 ether 00:00:00:00:00:00 |
function formSubmissionResponseEmail(event) { | |
var form = SpreadsheetApp.getActiveSpreadsheet(); | |
var sheet = form.getActiveSheet(); | |
var formName = form.getName(); | |
var timestamp = event.values[20]; | |
var admin = "[email protected]"; // reply-to and errors email address | |
var emailContent = "Thank you. We have received your request for free $10 BART tickets. Your tickets will be sent to the mailing address you provided via U.S. Postal Service within four business days. For Questions call Corinne at 925-969-1193. This BART ticket offer is funded by the Contra Costa Transportation Authority's Half Cent Sales Tax For Transportation Improvements (Measure J) and the Bay Area Air Quality Management District's Transportation Fund for Clear Air."; | |
var recipient = event.values[20]; | |
(:use noir.request) | |
(defn get-referer [] | |
((:headers (ring-request)) "referer")) |
var eightbitOptions = { | |
getTileUrl: function(coord, zoom) { | |
return "http://mt1.google.com/vt/lyrs=8bit,m@174000000&hl=en&src=app&s=Galil&" + | |
"z=" + zoom + "&x=" + coord.x + "&y=" + coord.y; | |
}, | |
tileSize: new google.maps.Size(256, 256), | |
isPng: true | |
}; | |
var eightbitMapType = new google.maps.ImageMapType(eightbitOptions); |
#Installing neo4j Spatial Warning: None of this works
##Setup Linode ##Update packages $ sudo apt-get update ##Install dependencies $ sudo apt-get install git-core $ sudo apt-get install openjdk-6-jdk $ sudo apt-get install lsof
sudo tcpdump -vv -i en1 |
update wp_posts set post_content = replace(post_content, 'http:\/\/www.oldsite.com\/blog', 'http:\/\/newsite.com'); |
update wp_posts set post_content = replace(post_content, 'find this string', 'replace found string with this string'); |
update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, 'find this string', 'replace found string with this string'); |
RewriteEngine on | |
RewriteRule ^/?$ http://511contracosta.org [L] | |
RewriteRule ^(.*)$ http://bit.ly/$1 [R=301,NC] |