Skip to content

Instantly share code, notes, and snippets.

View zachbrowne's full-sized avatar

Zach Browne zachbrowne

View GitHub Profile
@zachbrowne
zachbrowne / googletrends.php
Created October 31, 2011 06:53
Generate Google Trends keywords with PHP
<?php
/*
This code is used for get the keywords from the
Google HotTrens.U can use the grabtrends() to get
the curerent trends words. it return an array of keywords
u can change the $url to get coountry specific keywords
ex: $url = "<a class="linkclass" href="http://www.google.co.in/trends/hottrends">http://www.google.co.in/trends/hottrends</a>";
gives the INDIAN keywords
*/
@zachbrowne
zachbrowne / proxyscraper.php
Created October 31, 2011 06:54
Use proxy to scrape with PHP
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, '<a class="linkclass" href="http://www.example.com">http://www.example.com</a>');
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($ch, CURLOPT_PROXY, 'fakeproxy.com:1080');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'user:password');
$data = curl_exec();
curl_close($ch);
@zachbrowne
zachbrowne / consulting.html
Created November 7, 2011 22:17
My Consulting Page
Because of recent large-scale, industry-shifting trends in <strong>Search Engine Optimization</strong> that have all but redefined the classic model of SEO, I've redefined my role from a <strong>SEO Consultant</strong> to a <strong>Web Strategy Consultant</strong>. I now provide organizations with a <strong>Web Strategy Blueprint</strong> that includes an array of <em>metrics</em> and specific <em>tasks</em> that are customized to meet the <em>unique</em> goals of your organization.
<strong>Some of the factors that helped me make the shift to a Web Strategy Consultant include:</strong>
<ul>
<li>The <a href="http://www.seobook.com/google-branding">Vince algorithm update</a> by Google that gives better known brands higher rankings than smaller, lesser known sites.</li>
<li>The <a href="http://www.mattcutts.com/blog/algorithm-change-launched/">Panda algorithm update</a> by Google and its focus on a user's behavior as well as the trust and authority of websites based look/feel/content/style/etc.</li>
<li>The
@zachbrowne
zachbrowne / meta.html
Created November 7, 2011 22:27
My title tag and description for zachbrowne.com
Web Strategy Consulting - Marketing Strategy | Zach Browne
Zach Browne has been a professional Web Strategy Consultant for over a decade and is very knowledgeable about emerging web technologies, marketing trends, search engine optimization, social media marketing, online reputation management, web development and page speed optimization. He helps organizations develop organic web stratagies that encompass all aspects of online opportunities to increase traffic, convert more visitors and improve customer retention.
@zachbrowne
zachbrowne / get-a-quote.html
Created November 7, 2011 22:36
My get a quote page
I have been a professional Web Strategy Consultant in some form for over a decade and I'm knowledgeable about emerging web technologies, marketing trends, search engine optimization, social media marketing, online reputation management, web development and page speed optimization. I help organizations develop organic web stratagies that encompass all aspects of online opportunities to increase traffic, convert more visitors and improve customer retention. 
If you would like to work with me please be aware:
<h3>1. My consulting fees are a <em>minimum</em> of a one time charge of $1000 or $500 per month, for 6 months.</h3>
My one time evaluations start at $1000, and developing a long-term web strategy is about building a workflow of promotional processes unique to your industry with a variety of mediums, not one single action. In order to see the full benefits of my services you must be ready to be patient. From scratch, a new domain needs to build TrustRank&#8482; and age while you regularly put out and prom
@zachbrowne
zachbrowne / custom.css
Created November 9, 2011 22:05
Sticky Footers for Thesis Theme on WordPress
html, .custom {
height: 100%;
}
.custom .wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -100px; /* the bottom margin is the negative value of the footer's height */
}
@zachbrowne
zachbrowne / functions.php
Created November 11, 2011 18:24
WordPress functions.php Additions
<?php // custom functions.php template @ digwp.com
// add feed links to header
if (function_exists('automatic_feed_links')) {
automatic_feed_links();
} else {
return;
}
@zachbrowne
zachbrowne / backpage-states-rss-feeds-jobs.opml
Created November 13, 2011 18:27
List of Backpage Job RSS Feeds as OPML for US States (Monitor all states for any keyword via RSS)
<?xml version="1.0" encoding="ISO-8859-1"?>
<opml version="1.1">
<head>
<title> wordpress </title>
</head>
<body>
<outline text="alabama" version="RSS" xmlUrl="http://alabama.backpage.com/online/exports/Rss.xml?keyword=seo&section=4373" htmlUrl="alabama.backpage.com/employment/?keyword=seo" />
<outline text="alaska" version="RSS" xmlUrl="http://alaska.backpage.com/online/exports/Rss.xml?keyword=seo&section=4373" htmlUrl="alaska.backpage.com/employment/?keyword=seo" />
<outline text="arizona" version="RSS" xmlUrl="http://arizona.backpage.com/online/exports/Rss.xml?keyword=seo&section=4373" htmlUrl="arizona.backpage.com/employment/?keyword=seo" />
<outline text="arkansas" version="RSS" xmlUrl="http://arkansas.backpage.com/online/exports/Rss.xml?keyword=seo&section=4373" htmlUrl="arkansas.backpage.com/employment/?keyword=seo" />
@zachbrowne
zachbrowne / craigslist-gigs.opml
Created November 13, 2011 18:29
Craigslist OPML file of All RSS Feeds for "keyword" in Gigs Section
<?xml version="1.0" encoding="ISO-8859-1"?>
<opml version="1.1">
<head>
<title>Craigslist Gigs for "keyword"</title>
<description>Just find and replace "keyword", import into Google Reader and start your job hunt!</description>
<body>
<outline text="AK fairbanks - wordpress" description="Search for wordpress in AK fairbanks" title="AK fairbanks - wordpress" type="rss" version="RSS" htmlUrl="http://fairbanks.craigslist.org/search/ggg?query=wordpress" xmlUrl="http://fairbanks.craigslist.org/search/ggg?query=wordpress&#38;format=rss"/>
<outline text="AK anchorage - wordpress" description="Search for wordpress in AK anchorage" title="AK anchorage - wordpress" type="rss" version="RSS" htmlUrl="http://anchorage.craigslist.org/search/ggg?query=wordpress" xmlUrl="http://anchorage.craigslist.org/search/ggg?query=wordpress&#38;format=rss"/>
<outline text="AK kenai peninsula - wordpress" description="Search for wordpress in AK kenai peninsula" title="AK kenai peninsula - wordpress" type="rss" version="RSS" htm
@zachbrowne
zachbrowne / backpage-jobs.opml
Created November 13, 2011 18:31
Backpage OPML file of All RSS Feeds for "keyword" in Gigs Section
<?xml version="1.0" encoding="ISO-8859-1"?>
<opml version="1.1">
<head>
<title>Backpage Jobs for "keyword"</title>
<description>Just find and replace "keyword", import into Google Reader and start your job hunt!</description>
</head>
<body>
<outline text="alabama" version="RSS" xmlUrl="http://alabama.backpage.com/online/exports/Rss.xml?keyword=seo&section=4373" htmlUrl="alabama.backpage.com/employment/?keyword=seo" />
<outline text="alaska" version="RSS" xmlUrl="http://alaska.backpage.com/online/exports/Rss.xml?keyword=seo&section=4373" htmlUrl="alaska.backpage.com/employment/?keyword=seo" />
<outline text="arizona" version="RSS" xmlUrl="http://arizona.backpage.com/online/exports/Rss.xml?keyword=seo&section=4373" htmlUrl="arizona.backpage.com/employment/?keyword=seo" />