Wednesday, December 31, 2008

Parse code for blog entry in one click

http://www.blogcrowds.com/resources/parse_html.php

Just copy & paste your code into this.  It rewrites your brackets and parenthesis so blogs don't get so scared.  Code> tags, never again.

How to display wordpress posts outside the blog

Awesomely Easy:
http://www.corvidworks.com/articles/wordpress-content-on-other-pages

<?php
// Include Wordpress
define('WP_USE_THEMES', false);
require('./blog/wp-blog-header.php');
query_posts('showposts=1');
?>

<?php while (have_posts()): the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_excerpt(); ?>
<p><a href="<?php the_permalink(); ?>">Read more...</a></p>
<?php endwhile; ?>

Monday, November 24, 2008

miami dolphins anthem lyrics

Unknown - Miami Dolphins Fight Song LYRICS

Miami has the Dolphins
The Greatest Football Team
We take the ball from goal to goal
Like no one's ever seen
We're in the air, we're on the ground
We're always in control
And when you say Miami
You're talking Super Bowl

'Cause we're the...

Miami Dolphins,
Miami Dolphins,
Miami Dolphins Number One.
Yes we're the...
Miami Dolphins,
Miami Dolphins,
Miami Dolphins Number One

Monday, November 17, 2008

twitter rest api PHP application source

Woork: Twitter: send message from a PHP page using Twitter API

This didn't answer my question but it's cool. Throw a little "what am I doing" box on your website...

As for the parameter called "source", i'm throwing it in the header

twitter rest api PHP

Web APIs by Example, Part I: Twitter • Evan Sims

Use php to post updates to the twitter API. Super easy, super fun.

phpTinyURL for WordPress articles

Creating a “GoTo” URL For Your WordPress-Powered Site

Create a folder w/ a short name and send post ID to it:
http://www.showbizradio.net/goto/2133

For HTACCESS:

RewriteEngine On
RewriteRule ([0-9]+) /index.php?p=$1 [R=301,L]
RewriteRule (.*) / [R=301,L]


I had to do 2 redirects, one htaccess, one php header redirect to use our SEO-friendly slug url.

Friday, November 14, 2008

replace spaces with plus signs php

Use PHP to replace spaces with plus symbol in a string?


$myString = "1234 Example Street";
$newStr = str_replace( " ", "+", $myString );
echo( $newStr );

Thursday, November 13, 2008

how to force browser to download new stylesheet

Stefan Hayden » CSS Caching Hack

http://www.stefanhayden.com/style.css?version=1

"What does ?version=1 mean? This is what a URL looks like if it’s passing a GET variable from one page to the next. To the browser it means the page is dynamic and it needs to get a new version because code may have changed. The browser has no way of knowing if the CSS file is actually dynamic or not.The trick is to change the number each time you update the CSS file to make sure the browser always downloads the new code."

Tuesday, November 11, 2008

adjust aquarium pH naturally - also funny aquarium gift


Hilarious office set fishtank for a beta.

Monitoring my fishtank's pH, appears to be a little high (in the high 7's, low 8's). Found that this isn't really a serious concern for my Zebra Danios (pH 6 to 8).

Found tons of information about fish including pH levels while searching for "how to lower aquarium ph level."

Another great fish tank option, killing two birds with one stone, the "Bird Fish Tank":


And the phone fish tank:

Miami Dolphins vs New England Patriots [11/23/2008] at StubHub!

Miami Dolphins vs New England Patriots [11/23/2008] at StubHub!

which tickets are better? end zone or sideline?
football tickets what is better end zone or sideline
sideline vs endzone seats dolphin stadium

publish poll on homepage joomla

Got a hint here:
Polls not publishing

1) write your poll (Components > Polls)
2) publish it
3) go to Extensions > Module Manager
4) click on Polls in the list
5) on the right, select from the drop-down list the poll you want to display
6) apply & save

Sunday, November 9, 2008

Advanced 5k Race Training

5k Training Plan (advanced) found on About.com
I guess Monday & Friday are "rest" days. I haven't shown Monday below:

Week 1

Day 1 - 1.5 miles
Day 2 - Other
Day 3 - 1.5 miles
Day 4 - Rest
Day 5 - 2 miles
Day 6 - 30 mins EZ

Week 2
2 miles
Other
1 mile
Rest
2.5 miles
30 mins EZ

Week 3
2 miles
Other
1.5 mile
Rest
2.5 miles
30 mins EZ

Week 4
2.5 miles
Other
1.5 mile
Rest
3 miles
30-40 mins EZ

Week 5
3 miles
Other
1.5 mile
Rest
4 miles
30-40 mins EZ

Week 6
3.5 miles
Other
1.5 mile
Rest
3.5 miles
30-40 mins EZ

Week 7
3 miles
Other
1.5 mile
Rest
4 miles
40 mins EZ

Week 8
3 miles
Other
2 miles
Rest
Rest
RACE!

West Palm Beach Area 5k plus Races

Thanksgiving Day

Blue Cross & Blue Shield of Florida Turkey Trot 5K/10K presented by Miami-Dade Parks

Miami, FL 7:30AM Tropical Park (Miami, FL), 7900 SW 40 Street
Contact: PR Racing Inc., P.O. Box 56-1081, Miami, FL, USA, 33256. 1-305-278-8668 info@runmiami.com
> Yahoo! Maps

Run for the Pies
West Palm Beach, FL 7:00AM Tequesta, FL, 1700 Embassy Dr., #706 (5k on Thanksgiving Day. Top 750 finishers receive a fresh apple pie to take home)
Contact: Ian Kulin (Palm Beach Road Runners), 1700 Embassy Dr., #706, West Palm Beach, FL, USA, 33401. 1-561-420-5977 iankulin@gmail.com

December 20, 2008 (Saturday)

Classics by the Sea
West Palm Beach, FL 7:30AM Jupiter, FL (Carlin Park), 1700 Embassy Dr., #706 (5k in Jupiter, FL to benefit Toys for Tots)
Contact: Ian Kulin (Palm Beach Road Runners), 1700 Embassy Dr., #706, West Palm Beach, FL, USA, 33401. 1-561-420-5977 iankulin@gmail.com

January 24th

Blue Cross & Blue Shield of Florida Tropical 5K
Miami, FL 7:30AM Miami Childrens Museum, 980 MacArthur Causeway (Point to Point race starting on Wason Island, ending at Nikki Beach.)
Contact: PR Racing Inc., P.O. Box 56-1081, Miami, FL, USA, 33256. 1-305-278-8668 info@ingmiamimarathon.com

January 25th

Half Shell Half Marathon
Key West, FL 7:00AM historic seaport- foot of maragaret street, 3029 N. Roosevelt Blvd. Unit 47 (Half Marathon loops island of Key West)
Contact: Barbara Wright (BW Promotions), 3029 N. Roosevelt Blvd. Unit 47, Key West, FL, USA, 33040. 1-305-296-7182 bwpromo3@att.net

February 1, 2009 (Sunday)

I Care I Cure I Run 5K Run/Walk
Sunrise, FL 7:00AM Markham Park, 16001 W. State Road 84 (Awards, food, raffles, childrens activities, entertainment, fun for everyone.)
Contact: I Care I Cure, 3301 College Road, Davie, FL, USA, 33314. 1-800-807-8013 elizabethb@icareicure.org

February 8, 2009 (Sunday)

SoBe FIT 5K
Miami Beach, FL 7:30AM South Beach/Ocean Drive, 800 Ocean Drive
Contact: PR Racing Miami LLC, P.O. Box 56-1081, Miami, FL, USA, 33256. 1-305-278-8668 info@runmiami.com
> Yahoo! Maps

February 28, 2009 (Saturday)

5K For A Better Day
Fort Lauderdale, FL 7:30AM Chris Evert Childrens Hospital at Broward Medical Center, 1600 S Andrews Ave (5K Run/Walk at Chris Evert Childrens Hospital at Broward Medical Center)
Contact: Gtr. Fort Lauderdale Road Runners Club, POB 2512, Fort Lauderdale, FL, USA, 33303. 1-954-970-7752 cynthia@gflrrc.org

West Palm Beach Races found on Cool Running

Friday, November 7, 2008

Hack to Activate Microsoft Office 2007 Evaluation Trial Version » My Digital Life

Hack to Activate Microsoft Office 2007 Evaluation Trial Version » My Digital Life

Awesome & easy hack for office 07.

Stream satellite radio (sirius) on iphone

OMG is it possible? Howard on my iphone? Only problem is you need to be running orb on your pc at the same time.

Instructions on how to stream satellite radio on iphone

1) http://www.millardsoftware.com/usirius (this runs on your local PC and connects over the internet to Sirius using your Sirius account).

The setup is pretty straight forward - just enter your Sirius account info and it will do everything else. Click on URLs to get the URLs for each Sirius channel you want.

2) Sign up with http://orb.com/ and install the local client on the same PC that you installed uSirius.

3) Set up Internet Radio Favorites on mycast.orb.com (cut/paste the URLs from usirius for Howard 100, 101) for each Sirius channel you want.

4) Login to mycast.orb.com from Safari on your iphone and select the favorite that you created. Listen away!

flexportal is retarded

Read description of this newsportal software, I mean seriously, are they catering to World of Warcraft users?

On-line newspapers have revolutionized the news media. What was once market domination by print publications has now crumbled and turned into a global turf-war. Once monolithic fiefdoms, the incumbents are now battling with virtual enemies who rise up randomly around them. On-line readers become fair-weather friends who flock to the next best thing. Does your on-line publication have the stickiness required to pull in readers and keep them there?

Website Speed

Check website speed

This is the definitions page for a great firebug extension to check your website speed.

What is screen scraping

Screen scraping - Wikipedia definition

a computer program extracts data from the display output of another program

Thursday, November 6, 2008

The Aquarium Nitrogen Cycle for beginners

The Aquarium Nitrogen Cycle

Great article explaining how to get an aquarium up & running based on ammonia, nitrite, nitrate and ph levels:

"Test your aquarium water every other day and write down your readings. You will first see ammonia levels rising. A few weeks or so later you should see the nitrite levels rising and the ammonia levels dropping. Finally, after a few more weeks you should see the nitrate levels rising and the nitrite levels dropping. When you no longer detect ammonia or nitrites but you can detect nitrates you can assume that it is safe to add your tropical fish."

You can start the Nitrogen Cycle without fish:

Either
a) feed the tank by dropping fish food flakes in every 12 hours
b) drop 2x1 inch chunk of raw fish or shrimp in the tank
c) use 100% pure ammonia (5 drops per 10 gallons of water)
d) use gravel from an established tank
e) Colonize by Dr. Foster & Smith or Biospira by Marineland or SeaChem's Stability

Add one-two fish at a time & wait a few weeks before adding more.

why use css @import

why use css @import

Allows you to hide stylesheets from version 4 & older browsers by using a linking method they don't understand.

free open source php job board software

Free open source php job board software

Worried about spammers, but captcha might work.

Captcha in form (Page 1) - Feature requests - jobberBase Community

Wednesday, November 5, 2008

Automated perpetual content and traffice machines

BWMagic’s Marketing Tools » evergreen traffic system

1. Build lists and pre-load your AR system with follow-up
messages to keep visitors coming back to your site. You
can rotate these messages and ask your subscribers to
opt-in to different lists on related subject areas.
Always ask your readers to recommend your content to
others.

2. Use social bookmark software or links so that your
visitors can easily bookmark your content which brings
in both new links and new traffic. Simple programs like
the one offered by Addthis.com will get your visitors
building your backlinks for you, bringing in fresh
visitors who in turn will also bookmark your content.

3. Write viral articles, reports and ebooks that have
your backlinks in the resource boxes. Likewise, viral
software programs can help bring a constant flow of
traffic to your site. If your content is of a high
quality and your themes universal… new sites will
pick up your content and build your backlinks, creating
fresh traffic. The search engines will also index these
new links and your rankings will increase, bringing in
more traffic.

4. Use blogging and RSS feeds to get your content out
there. You can also use these RSS feeds to bring in
new fresh content to your site. Creating new content
will be your main obstacle to creating perpetual traffic…
you can get new content from feeds but will it be unique?
Comments in your blogs could bring in unique content but
if you’re not monitoring them, you must have solid
software in place to fight against spam.

5. Have “Tell a Friend” forms on all your content.
This will bring new traffic to your site, which can
be self-refreshing as new people discover your content.

6. Encourage user generated content such as articles,
comments, posts… you can even have a community
monitoring system where your site’s members monitor
this new content.

7. Form JV alliances with webmasters in your related
field. Do co-registration so that you help build each
other’s lists and traffic.

8. Likewise, if you have products to sell, create an
affiliate program to get your affiliates to build your
traffic for you. Affiliates are an excellent source of
permanent traffic.

9. Automate all aspects of the running and managing
of your website. Set up automatic payments for your
AR system, hosting, domain renewal, PPC payments…
thru PayPal or credit card. Likewise, receive affiliate
commissions thru PayPal or direct deposit. Many
advertising programs like Google Adsense offer
direct deposit.

10. PPC Traffic - While we have mainly looked at free
traffic systems, don’t forget creating a PTM is relatively
easy with Pay Per Click advertising if you know what you’re
doing. Target less competitive keywords to keep your costs
down, tie this traffic into a good squeeze page for feeding
your AR system with leads and have a good landing page that
converts. You can create a system that delivers perpetual
traffic and pays for itself from your affiliate commissions
and advertising fees.

Review of the Evergreen Traffic Machine
and then this:
1. High Profile Article Marketing - This was one of
the most informative parts of the product for me.
Since I do a lot of article marketing myself, she
was spot-on and even takes article marketing a little
further than most marketers do - including myself.
Something I will have to change in the future.

2. Keyword Focus - Tinu gives you a basic run-down
of why keywords are important and HOW to properly
use them to get traffic. Again, detailed instructions
on how to choose your keywords, how to set them
up and what you have to do in order to rank high
for all your chosen keywords. Solid advice.

3. Blogging & RSS - This is Tinu's strong card.
My own initial interaction with Tinu came from this
common RSS topic... her articles on RSS are some of
the best you will ever find on the web. RSS is one
my major study areas in online marketing but even
being familiar with the subject, many of the points
Tinu offers were new to me and which I will be putting
into my own marketing. She covers all the basics of
setting up blogs and RSS feeds; plus some more very
advanced stuff you can try.

php question mark equals,

PHP: Basic syntax - Manual, question mark equals

See Example #2, Number 3
Seems like a personal preference but we use Smarty templates. Ken argues it's more readable to use echo.

Tuesday, November 4, 2008

cpanel 10 how to zip a folder

How to zip a folder, archive a folder using cpanel 10

Not possible. I'd rather do this through SSH but newer versions of cpanel have the option to zip folders using its interface.

export photoshop file for fireworks

Importing Photoshop files into Fireworks

Not possible unfortunately. There is no easy way to do this, just don't flatten it before you export. Don't save as PNG either.

Monday, November 3, 2008

Log unused files (includes, images, classes) on a website

Unused files on a website

How does a person create a log of every unused include, class, function, image, php, html (etc) file on a website? This would be useful for webmasters starting on a website that has been around for a while but has had a bunch of different coders / designers adding random files to the server. I just took over a site that literally takes up 4 gigs of servers space. When many of the unused files were stripped away, the site now takes up only 500 megs. I'm sure it could be stripped further.

Here are a few tools I've read about:
The lynx browser for linux maps hierarchy of a website
You would call it like this: lynx -traversal -crawl -image_links -realm http://yoursite.com

Inclued traces and dumps hierarchy of inclusions and class ineritance of a website

Then there's FrontPage but I refuse to touch that.

Command Line MySQL import - PHP, Apache, MySQL, Windows : WampServer

Command Line MySQL import - PHP, Apache, MySQL, Windows : WampServer

How to import mysql source files that are too large to upload via your browser window.

1. command window: navigate to mysql bin
2. mysql -u username -p
3. password prompt
4. \. c:\some_file.sql

Accepting Credit Cards Online? Easily Reduce Fraud and Chargebacks -

Accepting Credit Cards Online? Easily Reduce Fraud and Chargebacks -

1. Match IP addresses with billing address, country at least

2. Set up CVV checking automatically

3. Verify billing zipcode automatically

4. Don't "authorize & capture", just authorize. Then manually check.

5. Require a non-free email account

Money Mules: The Hidden Side of Phishing

Money Mules: The Hidden Side of Phishing

Never knew what those "work from home" ads were all about. Guess people are enlisted in the US to receive funds into their accounts from stolen credit cards. They are then asked to wire the money (minus commission) overseas.