A tip to add svn files quickly

svn status | grep "REPLACETHIS" | awk "{print \$2}"| xargs svn add

Is a quick way to add files to svn.

Replace REPLACETHIS with things like ^? to add all unversioned files. Remember you need the "" marks.

Vim Replace All Reminder

I keep forgetting this so here it is for me to remember

Replace all occurences of foo with bar in the file:

%s/foo/bar/g

Blogtk and blog api module is not configured to support the 1 content type error message

It took me a while to figure out that it Blogtk was not looking for a number (like 1, the default) but the content type name. In this case I put blog into the blog id.

I would like to say that solved all my problems but Blogtk kept crashing. I tried Blogilo but just found it confusing so I am now back to using ScribeFire.

Svn error: .. has unexpectedly changed special status

To solve this delete the svn:special property by doing this:

svn propdel svn:special FILETOCHANGE

You can also use svn proplist FILETOLOOKAT to see the svn properties on that file.

I had just used this script: http://arctic.org/~dean/scripts/unln to unlink but keep a copy of the symlinked file.
Seems to work quite well.

Cakephp 404 not found (The requested URL .... .xsd was not found on this server)

This happened when i had a controller called Types and a file in my webroot called types.xsd. When i turned off Multiview in my site configuration file it started working.
<Directory ....>
 
Options Indexes FollowSymLinks MultiView
 
</Directory>
I just removed the MultView option for now.

Nokia going with Meego for high-end phones

Nokia are going with Meego for their high-end phones- Symbian will only be used for lower end phones. The Nokia N8 will be the last N series Symbian phone.

http://arstechnica.com/open-source/news/2010/06/nokia-to-use-meego-linux...

Also check out this rumour of the Nokia N9 Meego phone:

http://www.engadget.com/2010/06/14/nokia-n9-meego-slider-leaks-in-early-...

Lifehacker's This Week's Top Downloads [Download Roundup]

Check out the new VLC 1.1 with hardware acceleration. No more lag when playing HD content?
Also Firefox now has chrome-like crash protection (in their new 3.6.4 release).

This Week's Top Downloads [Download Roundup] -

More »

Google Chrome - Clients - WWW - Browsers - Firefox

[LifeHacker]

Ubuntu One Music not syncing (Queued)

I just bought an album from the Ubuntu One album store. It was very quick and easy to buy but as with many things, once you have handed over the money it got alot worse. Basically the music was 'in my cloud' but it wouldn't sync to my local machine...
Ubuntu has status page
Which linked to a bug report
Which said to open Applicaitons->Accessories->Terminal and run:
 touch ~/.ubuntuone/Purchased\ from\ Ubuntu\ One/placeholder; u1sdtool -q; u1sdtool -c
This will put a "placeholder" file in your ~/.ubuntuone/Purchased from Ubuntu One/ folder and then force the syncdaemon to reconnect and try to sync that folder.

5 Second Review of Sygic Mobile Maps for Maemo (N900)

The Good:

Nice interface, like the lane highlighting, nice keyboard entry, quick routing and liked the settings on speed camera and speeding warnings.

The Bad:

Volume to low (fix on the way possibly), speed camera seems abit iffy (it kept telling me that the speed camera ahead was for 30 MPH on the M25 or at least i think that's what it was saying- I was busy driving carefully to do a proper check).

Overall I am happy I bought it-not a bad price at 60 Euros. When they fix the volume bug and I work out what is going on with the speed cameras it will be even better!

http://www.sygic.com/index.php/en/features.html

Syndicate content