User loginRecent blog postsNavigation |
remove files by finding them firstfind ./ -name '*.tpl' -exec rm {} +
how to replace string in files recursivelyhttp://linux.derkeiler.com/Newsgroups/comp.os.linux.misc/2008-11/msg0004... uber fast. find ./ -name '*.tpl' -exec sed -i 's/stringfound/relacewith/' {} + use -i[extension] to save a backup file also. @see man sed
Jquery check boxesThanks to Jerad Bitner Toggle Checkboxes with javascript.
REGEXuse with preg_replace remove everything within html comments. /]*)-->/ remove everything within curls /{([^}]*)}/ remove comments /]*)-->/ // clean up all tags... // clean up all html...
Firefox Search BarYou want your own firefox search settings create an xml document... (view the source - right click "View Source")
Firefox quick search from address bar....Open you manage bookmarks. Now in the Address Bar type...
non www to www (only if not already sub domain).htaccess RewriteCond %{HTTP_HOST} !^(.+)\.([^.]+)\.(.+) [NC]
Ben's Brother - Excellent band.Just saw Ben's Brother on BBC and they are excellent. Was looking on their website and it looks like Dallas would be as close as they tour to me. Oh, well. Still an excellent band.
|