Archive for the ‘Uncategorized’ Category

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

Monday, May 18th, 2015

If you have the error above, and it seems like something else is running on port 80 maybe there is.

I just finished an upgrade from 12.10 to 14.10 and apache couldn’t bind to port 80.,, well when I ran ” netstat -ltnp | grep ‘:80’ ” this is what I got.,

tcp 0 0.0.0.0:80 0.0.0.0:* LISTEN 18635/tntnet

which told me another application “TNTNET” a C++ rapid deployment service runs on port 80,. so I did killall tntnet then I uninstalled tntnet using synaptic and when I issued the apache2 restart command all was wonderful.

One Source Talent NOT A SCAM

Wednesday, May 6th, 2015

Is it a scam, in a word no.

Apparently when you contract with a talent agent most people assume they will get a call, that simply isn’t the case. However, by being a contracted talent at least your hat is in the ring.

If you were to go to One Source Talent and ask for representation of course they are going to assure you that they have plenty of auditions coming up, and tons of contracts for talent, they do, it’s true. Are you going to get one of these jobs, or even a call for an audition; hard to say.

It’s kind of like buying a lottery ticket, if you have a ticket you have a chance of winning, without one you aren’t even in the contest. So, if you want a shot at being a professional model, actor whatever, you should trust One Source Talent.

Towing Lansing, East Lansing, Bath, Dewitt, and Surrounding Area

Friday, May 1st, 2015

I hadn’t realized how competitive towing can be until I started to look in to it, however, I’ve had the chance to find a great towing company in the Lansing area.

If you need a car towed, truck or semi towed, they can take care of you at http://towinglansing.com great people, easy site, just visit and call.

Concealed Weapons Permits MI | CPL After the Change

Thursday, March 5th, 2015

Apparently the rules have changed, and I wanted to see how easy or difficult it is to get through the process.

1) It’s now up to MSP ( Michigan Department of State Police ) to run your application via the county clerk.
2) the MSP is required to perform a background check via the Law Enforcement Network and a a national background check.
3) Each county is responsible to establish a concealed pistol licensing fund for administration of the law
4) Fee for licensing is reduced from $105 to $100
5) Revise Renewal Process and fee of $115
6) Require the county to notify holder of CPL before expiration of upcoming expiration
7) CPL to have a Photo ID digitized at the Secretary of State

There are a lot of other revisions and inclusions, but for the most part it is shifting it from county boards to a controlled system that is licensed through the state police and secretary of state. It seems a useful change to streamline the process.

Using PHP to Split full names in to first name last name combo

Monday, January 26th, 2015

So often we find ourselves importing data that has first, middle and last names combined in one field,. This is annoying and can be corrected.

function splitName( $which, $what ){
$parts = explode(” “, $what);
$retStr = “”;
if( $which == ‘first’ ){
if( sizeof( $parts ) == 2 ){
$retStr .= $parts[0];
} else if( sizeof( $parts ) >= 3 ){
$retStr .= $parts[0] . ” ” . $parts[1];
} else {
$retStr .= $parts[0];
}
} else if( $which == ‘last’ ){
if( sizeof( $parts ) == 2 ){
$retStr .= $parts[1];
} else if( sizeof( $parts ) == 3 ){
$retStr .= $parts[2];
} else if( sizeof( $parts ) > 3 ){
// if more than 3 parts,. then the last name gets the final two parts only as the first got the first two parts
for( $i=(sizeof( $parts )-2 ); $i

Craigslist Search Tricks | Open in New Tab

Thursday, January 15th, 2015

Ever thought, damn it would be nice if links while you’re on craigslist opened in a new browser tab. Well, if you have google chrome, or mozilla firefox you can.

1) Open your Developer Tools (Usually “Ctrl” + “Shift” + “J” )
2) use some jquery to make it change the link targets
type: $(‘a’).attr(‘target’,’_newTab’);
and press enter
3) Click any link on the page, it will open in the new tab
4) Want to search more at once try http://clrds.comc/

So I’m ordering from reneerouleau.com

Sunday, November 9th, 2014

It’s a very professional site reneerouleau.com, however, when I ordered I accidentally selected overnight shipping, which just isn’t in my pocket book.

Needless to say, I freaked out, 41 for .5oz of face cream and 61 for shipping, whoops. So in my first order, I also got to test their customer service department, I contacted them with my order number and low-and-behold there was an e-mail sitting in my inbox this morning with a nice note about them catching my request to change the shipping to the 6.95 method from the 61.00 method.

Awesome, now I can’t wait to try out their product.

Home Values, House Values, Commercial Property Values

Friday, October 31st, 2014

Interested in your home values well, if you are near Michigan I’ve found a great source, Home Values they have you enter your address, you are given a map to confirm. This is where I was skeptical, you give them your name and email so they can send you your evaluation.

Usually when something offers me a free anything, I ignore it, but the site is nice and clean, so I went for it., Low and behold, a few hours later, I received information on my homes approx. value in todays market, and so much more.

What’s your home worth, I found a cool tool to get an evaluation free

Thursday, October 30th, 2014

I’m constantly building new tools, and searching to find new applications online, and today I found an awesome site for home values. http://www.patlotz.com/home-values.html

You enter your address in the box, it verifies it on google maps, and you get a free evaluation. Great looking site, fast, and free. Apparently they work with local real estate professionals to provide you a full evaluation with local important information and your homes estimated value in todays market.

Secure Any Form | Stop Spam Submission

Monday, October 6th, 2014

So,. a while back I had an intern, that grew in to a great webdevloepr. Along the way he came up with a great method to block spam posts on forums, contact forms and any other type of site you can think of,.

Basically it stops automated posting, and there are a couple of things you can do,

1) Create a div that is set to display: hidden; (div must be in the form you want to block spam on)
2) Add a text field to this div, with a name of “checkMore” and an id of “checkMore” value=””
3) In your form submission check’s usually performed via javascript if( checkMore != ” ) it’s spam
4) In your php/asp whatever it posts to,. check for the checkMore variable if it has a value you know it’s spam

That’s it,.