Categories

Our Sponsors

Overcoming the dreaded SCP/SFTP message errors

If you have ever used scp or sftp you may have encountered the dreaded ( ”Received message too long” or “Bad packet length” ”) errors.

This is typically due to something being echo’d or sent back to your login attempt.

Usually, it’s something you have in your .profile or .bashrc login files.

Just add the [...]

Share

Google Search Tricks

Looking for a song, artist, movie or software that you want to check out before purchasing?

Use the following Google search, all on one line.

“Your Key Words” inanchor:”rapidshare|megaupload” -torrent -inurl:”rapid|rapidshare|megaupload”

Key: “Your Key Words” = What you are searching for inside quotes, ie “No Doubt”. “rapidshare|megaupload” = 2 heavily used downloading sites, replace [...]

Share

Command Line Search and Replace

So you want to change some text in many unix files.

Try the following.

perl -pi -e ‘s/find/replace/g’ *.txt

or to script it out. Find the TEXT in regular files and replace with NEWTEXT

for file in `find ./ -type f -exec grep -l TEXT {} \;` do perl -pi -e ‘s/TEXT/NEWTEXT/g’ $file done

[...]

Share

Unix, Web and Development Cheat Sheets

There is a very good list of cheat sheets located at

http://www.petefreitag.com/item/455.cfm

Share

Different Search Engines

There are other ways to search the web than just Google, Yahoo and now Bing.

If you can’t find what you are looking for on google, try these other search engines.

http://www.peerbot.com (This may not find much, but it’s a very different seerch(sp) engine.

http://www.mooter.com (Can you Moot?)

http://www.ask.com/ (Formerly Ask-Jeeves)

http://www.altavista.com/ (Yeah, AltaVista Baby)

[...]

Share

Some Web Hacks

The simple things to give you more information about a system.

read http://marc.info/?l=bugtraq&m=110809126916608&w=2

just some info from javascript.

Javascript web hacks.

javascript:alert(document.lastModified) – shows the date a web pages was modified.

javascript:var%20c=0; – Not sure crashes a running javascript. This injects a value of 0 into the variable “c”.

javascript:alert(c=0) – Same set the variable [...]

Share
Get Adobe Flash playerPlugin by wpburn.com wordpress themes