Cheers!
Pages
-
Categories
-
Archives
Cheers!
Just a basic little hack I made, might make someone elses life easier. Its a quick way to get the correct bbcode to insert a flickr image (with link).
javascript:alert('[url='+document.location+'][img]'+document.getElementsByTagName('img').item(31).getAttribute('src')+'[/img][/url]');
If you run this from a image size page on flickr, it pops up an alert with bbcode for inserting it into a post
Any improvements welcome!!
I thought I would make a note of this in case there are other people having similar issues.
After trying to do a recursive dos2unix call, as detailed in the following blog post: http://cyberzen.wordpress.com/2006/07/15/recursive-dos2unix/
I came across the ‘find: paths must precede expression’ error like mentioned in the comments. A google search and look through the help text gave no answers, so I had a play around with calling find different ways. It seems
find . -name *.*
throws a ‘find: paths must precede expression’, while simply enclosing the wildcard in single quotes makes it work! e.g.
find . -name ‘*.*’
Such a simple solution, you would think it would be a lot easier to find a mention of it…
Anyway, I hope this post helps someone out!!!
So, after 2 weeks of putting up with it I have finally delved into Firefox’s settings to find the root of the “problem”.
Now when I say problem, I really mean annoyance. The annoyance being Firefox redirecting to the first result when using the new address bar to search. The first result is generally correct which is fine when you just need an answer quickly, but when it is not there is no quick way of jumping back to a listing of other search results… well, not that I can find.
Yes, I do know there is a dedicated google search bar, but what if you turn this off any just want to search using the address bar?
The Solution
After poking around in Preferences and about:config and not finding any options relating to the first search result, I had a play with the google search url under keyword.URL, and after remove unnecessary values in the url it works like I would expect it to… displaying the entire search results for every search.
The new value I set for keyword.URL being:
http://www.google.co.nz/search?ie=UTF-8&oe=UTF-8&q=
After doing some testing it seems the GET string of sourceid=navclient&gfns=1 tells Google to redirect to the first result’s url if it looks like a likely candidate.
Life is good once more.
My first wonderful post woot woot