Posted by: rydow | October 27, 2009

Multiple google calendars on an iphone

I found this link on how to use shared calenders from google on the iphone. The description is in Swedish so for people not fluent in this beatiful language here is a short summary:

Make sure you have the calendars you want in google. Take one calendar at a time and do the following:
In google calendar click on settings->Calendars->The Calender you want to add->Calendar Address->ICAL
You will see an address that looks something like:”http://www.google.com/calendar/ical/tester%40gmail.com/public/basic.ics”

In the iPhone’s Settings -> Mail, contacts, Calendars > Add account … > Other > Add CalDAV-account > and write the following in the fields:

Server = http://www.google.com
User name = tester@gmail.com
Password = xxxxxxxx
Description = (E.g. Name of calendar)

Click next -> “Advanced settings” and paste the address you got from google above between dav/ -and- /user, i.e. dav/swedish__sv%40holiday.calendar.google.com/user. Let the text before “dav/” be unchanged.

Save and enter the calendar app to see that you have your first google calendar there. Repeat for the rest of your, your wifes, kids etc. calendars.

The above also saves the Exchange ActiveSync account for use with an exchange server.

Posted by: rydow | October 27, 2009

Iphone issues

I got an iphone 3GS and broke it. It is a 3.0 and i recently got the icons messed up. I found a solution here! In short the solution is to move the cached icon list from springboard. The phone needs to be jail broken in order for the following to work. Login over ssh on the iphone and run the command below

mv /private/var/mobile/Library/Caches/com.apple.springboard-imagecache-icons.plist /private/var/mobile/Library/Caches/com.apple.springboard-imagecache-icons.plist.bak; killall  SpringBoard

If all went well remove the backup with

rm /private/var/mobile/Library/Caches/com.apple.springboard-imagecache-icons.plist.bak

 

Posted by: rydow | June 11, 2009

Emacs history between sessions

I saw this somewhere and it works like charm. Add the below code to your .emacs to make it remember some things between sessions.

;; save history between sessions
(setq savehist-additional-variables    ;; also save...
  '(search-ring regexp-search-ring compile-history)    ;; search and history
  savehist-file "~/.emacs.d/savehist") ;; where to save
(savehist-mode t)                      ;; do customization before activate
Posted by: rydow | January 18, 2009

Bokföringsprogram för linux

Jag gjorde en sökning på nätet och såg att bokföringsprogrammet jag använder inte dök upp, det heter elicon och är ett program med webinterface. Det dök heller inte upp i datormagazins test för en tid sedan, synd för det är ett bra program.

Det finns som både windows och linux server, fördelen med det är att det förstår sig på svenska skatter och svensk moms / arbetsgivaravgifter etc. En annan sak som är trevlig är att det genererar skatte och momsdeklarationer med skatteverkets “rutnummer”.

Jag har kört det i två år nu och jag är nöjd, det enda som är lite knöligt är att f-skatten hänger ihop med momsbetalningen och det gör att jag får bokföra den manuelt två månader av tre då jag har tremånadersmoms.

Posted by: rydow | December 30, 2008

Hur man laddar från svt play.

This one is in Swedish since it deals with downloading from Swedish television…

Ta hem mplayer. Ta reda på länken mms: nånting.
Kör detta för att ta hem del 20 av skägget i brevlådan:

mplayer -dumpstream -dumpfile julkalendern20.wmv mms://wm0.c90805.cdn.qbrick.com/90805/kluster/20081216/081220JULKALLE_02ND8KS.wmv

Om du vill kan du göra om det till avi med (förutsatt att mencoder är installerad):

mencoder "julkalendern20.wmv" -ovc copy -oac copy -o "julkalendern20.avi" 2>/dev/null

Och vidare till MP4 för psp med (förutsatt att ffplay är installerad):

ffmpeg -i julkalendern20.avi -title "Julkalendern 20" -f psp -r 29.97 -b 512k -ar 24000 -ab 64k -s 368x208 M4V00020.MP4

Snick, snack, snut så var sagan all.

Posted by: rydow | December 29, 2008

Convert movies to psp format on linux

You need ffmpeg installed. Run the following command:

ffmpeg -i <inputfile> -title "<Title to show on psp>" -f psp -r 29.97 -b 512k -ar 24000 -ab 64k -s 368x208 M4V00001.MP4

for 16:9 format and use

-s 320x240

for 3:4 format.
Copy the created file to the correct place on the psp.

cp M4V00001.MP4 /media/disk/MP_ROOT/100MNV01/

If you want you can create a thumbnail file named M4V00001.THM (same filename THM extension). It should be a jpg, 160×120 @ 72 dpi

Posted by: rydow | July 31, 2008

nfs a piece of cake?

With the help of this tutorial I got the fit-pc to run nfs share in 2 minutes! This was also helpful.

Bedtime, good night!

Posted by: rydow | July 30, 2008

My fit pc now runs debian!

When installing debian on a fit-pc I ran across a ssh and X tutorial. When I could not get the fit-pc to boot from a usb stick I finally decided to do a real netinstall by following the guide on the debian site with full info on tftp and dhcp.

Posted by: rydow | July 2, 2008

const correctness

Here is a good place to start when thinking in tearms of: ” should that const go before or after or maybe both?”

Posted by: rydow | April 30, 2008

Some Latex resources

Symbols, online test for expressions, another online tester

Older Posts »

Categories

Follow

Get every new post delivered to your Inbox.