Skip to content

Instantly share code, notes, and snippets.

<!--Begin - BMP Zone-->
<script language="javascript" type="text/javascript">
<!--
var browName = navigator.appName;
var SiteID = 1;
var ZoneID = 68;
var browDateTime = (new Date()).getTime();
if (browName=='Netscape')
{
<style>
#welcome {
position: relative;
width: 220px;
margin-top: 5px;
}
#welcome .search input, #welcome .search button {
border: none;
float: left;
@gotoplanb
gotoplanb / poynter custom search
Created November 2, 2010 14:15
code for Google Custom Search form and results as iframe
@gotoplanb
gotoplanb / Lake City realtors
Created December 8, 2010 19:20
table scraper
#!/usr/bin/env python
from urllib import unquote
import csv
from mechanize import Browser
from BeautifulSoup import BeautifulSoup
mech = Browser()
url = "http://g8rweb.com/scrapers/lakecityagents.html"
page = mech.open(url)
html = page.read()
It's tough to pick out holiday gadget gifts. WCJB Gadgetologist Dave Stanton gives his picks for fun, useful and educational holiday gadgets. Visit <a href="http://blog.bosshardtrealty.com/the_bosshardt_blog/2010/12/dave-stantons-tv20-picks-for-holiday-gadgets.html" target="_blank">The Bosshardt Blog</a> for prices and links for all of the gadgets.
@gotoplanb
gotoplanb / PHP Fastcgi config
Created December 28, 2010 19:58
Used for Project 185 server
#! /bin/sh
### BEGIN INIT INFO
# Provides: php-fastcgi
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop php-cgi in external FASTCGI mode
# Description: Start and stop php-cgi in external FASTCGI mode
### END INIT INFO
START=yes
# Which user runs PHP? (default: www-data)
EXEC_AS_USER=www-data
# Host and TCP port for FASTCGI-Listener (default: localhost:9000)
FCGI_HOST=localhost
FCGI_PORT=10005
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
@gotoplanb
gotoplanb / Commercial Realty Flyer request
Created January 4, 2011 21:22
Based off suggestion of Jamie Kennedy
<iframe src="http://spreadsheets2.google.com/a/smartmediacreative.com/embeddedform?formkey=dEJnY0VvZUo5OXdFd0VnWl9rREh6aGc6MQ" width="760" height="2196" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>
@gotoplanb
gotoplanb / gist:818624
Created February 9, 2011 15:20
WCJB post copy -- app stores
<p>Apple created the concept of a device-specific app store for the iPhone. The concept is ubiquitous for smart phones and mobile devices. The next breed of app stores take the concept to your computer, Internet-streaming box and event the Web browser itself.</p>
<p>Dave Stanton of <a href="http://smartmediacreative.com">Smart Media Creative</a> tells David Snyder what different app stores are doing to help consumers find useful applications to make their devices more productive and fun. The TV segment talked primarily about mobile device apps stores. If you want to learn more about computer, streaming and browser apps stores, you can <a href="http://smartmediacreative.com/blog/apps-for-everything-a-review-of-how-different-app-stores-are-helping-consumers">read this blog post from Dave Stanton</a>.</p>