JensDiemer

Mein Blog...

Tag Cloud 3dsmax | 64bit | addons | Aptana | ASUS | AVI | backup | BeOS | bilder | blog | browser | CPU | creole | django | django-dbpreferences | django-dbtemplates | django-tagging | django-tools | django-weave | dokumentation | Eclipse | fernsehen | firefox | forms | formset | foto | git | Haiku | handy | hardware | i18n | javascript | jquery | Kino | lame | links | linux | locales | Loveparade | mac | markup | mencoder | merkwürdig | modul | mp3 | netzwerk | nokia | online | opensource | ovi | Petition | pip | plugin | plugins | podcast | pydev | pylucid | pys60 | python | release | router | settings | software | sqlite | standalone | svn | thunderbird | Tip | ubuntu | ubuntuusers | unittest | video | virtualbox | virtualenv | vista | web | webspace | win7 | windows | xfce | xp | xvid

↑ Loveparade 2010 in Duisburg... Meine Bilder/Videos...  #

Vor 5 Tage, 16 Stunden veröffentlicht, durch jens.

↑ Videos  #

↑ Fotos  #

Und einige Ausgewählte Fotos gibt's bei flickr.com:
http://www.flickr.com/photos/jensdiemer/show/

tags Loveparade
0 comments...

↑ Symbian S60 Software...  #

Vor 3 Wochen, 1 Tag veröffentlicht, durch jens.

(Last update: 13. Juli 2010, 15:14 by jens.)

tags handy
0 comments...

↑ PyLucid v0.9.0.RC5.git-87dd033 Release  #

Vor 3 Wochen, 2 Tage veröffentlicht, durch jens.

Es gibt eine aktualisierte Version von PyLucid v0.9.0.RC5.git-87dd033

download unter: sourceforge.net/projects/pylucid/files/

Die normale Source Distribution is auch auf PiPy: http://pypi.python.org/pypi/PyLucid/0.9.0.RC5.git-87dd033

(Last update: 8. Juli 2010, 16:36 by jens.)

tags pylucid | release
0 comments...

↑ 3dsmax 2011 hotfix 2010.06.07  #

Vor 1 Monat, 1 Woche veröffentlicht, durch jens.

Lang hat es gedauert, aber nun ist der erste Hotfix für 3dsmax 2011 raus:
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=15302592&linkID=9241178

Wie immer kann man hier die letzten updates sehen:
http://usa.autodesk.com/adsk/servlet/ps/dl/index?siteID=123112&id=2334435&linkID=9241178

(Last update: 8. Juli 2010, 12:55 by jens.)

tags 3dsmax
0 comments...

↑ Nokia Ovi Maps updaten  #

Vor 1 Monat, 1 Woche veröffentlicht, durch jens.

Hab ein neues Handy. Ein Nokia 5800 mit kostenloser Navigation, siehe: http://maps.nokia.de

Die Karten kann man normalerweise mit der "Nokia Ovi Suite" Software aktualisieren. Das gibt es leider nur für Windows :( Auch wenn es Leute gibt die es auch gern unter Linux einsetzten würden.
Allerdings funktioniert es unter Windows auch nicht besonders toll. Die Karten können sehr groß sein, z.B. ganz Europa ist knapp 2GB. Die "Nokia Ovi Suite" bekommt es nicht hin, diese richtig runter zu laden.

Im Hintergrund werden die Maps als ZIP Dateien normal über http gezogen. Kann man z.B. mit WebScarab proxy nach vollziehen.

Ein wenig googlen z.B. nach "http://static.s2g.gate5.de/map5/maploaderzip-00.01.24.114/" befördert Seite mit "deeplinks" zutage, wie z.B.: http://discussions.europe.nokia.com/t5/Maps-Navigation-and-GPS/New-Ovi-Maps-version-0-1-24-114-are-out/td-p/686081

Und hier ist das wichtigste:

Europe map
-------------------

http://static.s2g.gate5.de/map5/maploaderzip-00.01.24.114/242.zip
Extract contents of file to cities\diskcache (overwrite / replace files if prompted)


Index Europe (for searching addresses & Points Of Interest offline)
http://static.s2g.gate5.de/map5/maploaderzip-00.01.24.114/Europe.zip

Extract contents of file to cities\diskcache\ClientIndex (create ClientIndex folder if necessary. Overwrite/ replace files if prompted)

(Last update: 8. Juli 2010, 12:55 by jens.)

tags nokia | ovi
0 comments...

↑ Python für Symbian S60  #

Vor 1 Monat, 1 Woche veröffentlicht, durch jens.

Da es nicht ganz so leicht auffindbar war, hier zwei gute Einstiegslinks zum Thema "Python auf Symbian S60" Handy:

(Last update: 22. Juni 2010, 14:19 by jens.)

tags handy | pys60 | python
0 comments...

↑ XP: System partition aufräumen...  #

Vor 1 Monat, 2 Wochen veröffentlicht, durch jens.

↑ Windows update uninstall informationen  #

Löschbar sind:

  • %SystemRoot%\$NtUninstallKB*

aber nicht löschen:

  • %SystemRoot%\$hf_mig$

↑ Windows update cache  #

Das Verzeichnis %SystemRoot%\SoftwareDistribution kann man löschen, wenn man den 'automatischen Updates' Dienst vorübergehend beendet.

bsp:

Batchfile
1
2
3
4
net stop wuauserv
rmdir /s %SystemRoot%\SoftwareDistribution
net start wuauserv
@pause

↑ mehr info  #

(Last update: 15. Juni 2010, 19:59 by jens.)

tags windows | xp
0 comments...

↑ PyLucid Plugins aufteilen...  #

Vor 2 Monate veröffentlicht, durch jens.

In Anlehnung an dem vorherigen Blog Post git repository aufzuteilen hab ich mir ein bash Skript geschrieben, um ein Plugin aus http://github.com/jedie/PyLucid-Plugins in ein seperates Repository zu clonen:

Bash
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash

PLUGIN=DecodeUnicode

function verbose_eval {
    echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    echo $*
    echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    eval $*
    echo ---------------------------------------------------------------------
    echo
}

DEST_DIR=PyLucid-${PLUGIN}-plugin

echo "dest dir: ${DEST_DIR}"

if [ -e ${DEST_DIR} ]; then
    echo "Destination directory exist, abort."
    exit 1
fi

verbose_eval git clone git@github.com:jedie/PyLucid-Plugins.git ${DEST_DIR}
#~ verbose_eval git clone --no-hardlinks ~/workspace/PyLucid-Plugins ${DEST_DIR}


cd ${DEST_DIR}

OTHERS=""
for I in * ; do
    if [ "$I" != "${PLUGIN}" ] ; then
        OTHERS+=" $I"
    fi
done

echo "Remove all other directories from git history"
verbose_eval git filter-branch --index-filter \"git rm -r -f --cached --ignore-unmatch ${OTHERS}\" --prune-empty HEAD

verbose_eval git reset --hard
verbose_eval git remote rm origin
verbose_eval rm -r .git/refs/original/
verbose_eval git reflog expire --expire=now --all
verbose_eval git gc --aggressive
verbose_eval git prune
verbose_eval git remote add origin git@github.com:jedie/${DEST_DIR}.git
verbose_eval git config --list

echo "If everything is ok, do this:"
echo "git push origin master"

Das Prinzip:

  1. Es wird ein clone vom original Repository erzeugt (Zeile 23 bzw. 24)
  2. Alles, außer ein Unterverzeichnis wird aus der git History gelöscht (Zeile 29-37)
  3. Es wird eine neue origin URL eingetragen (Zeile 39-46)
tags git | plugins | pylucid
0 comments...

↑ git repository aufzuteilen  #

Vor 2 Monate veröffentlicht, durch jens.

Die wichtigesten Schritte um ein git repository aufzuteilen:

Ursprungs repository clonen:

Bash
1
~$ git clone git://github.com/Foo/bar.git

(Man erhält u.a. das Verzeichnis \bar mit dem .git Unterverzeichnis)

Lokal clonen um daraus ein Sub-Projekt zu machen:

Bash
1
~$ git clone --no-hardlinks bar neu

Ein Unterverzeichnis "raus ziehen" und alles andere Löschen. Außerdem wird eine neue "origin" url gesetzt:

Bash
1
2
3
4
5
6
7
8
9
~$ cd neu
~/neu$ git filter-branch --subdirectory-filter FooBar HEAD
~/neu$ git reset --hard
~/neu$ git remote rm origin
~/neu$ rm -r .git/refs/original/
~/neu$ git reflog expire --expire=now --all
~/neu$ git gc --aggressive
~/neu$ git prune
~/neu$ git remote add origin git://github.com/FooBar/neu.git

Einstellungen überprüfen (kann nicht schaden):

Bash
1
~/neu$ git config --list

Änderungen auf den Server übertragen:

Bash
1
~/neu$ git push origin master
tags git
0 comments...

↑ git autor email ändern...  #

Vor 2 Monate, 4 Wochen veröffentlicht, durch jens.

Man kann bei github.com recht einfach bestehende SVN Repositories importieren. Dabei kann man auch gleich die Autoren anpassen. Das Problem ist allerdings, das man entweder zu allen Autoren einen github Account angeben muß, oder überhaupt keinen.

Also muß man das ganze selber im Nachhinein erledigen. Dazu nutzte ich dieses Skript:

Bash
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

git filter-branch --env-filter '

an="$GIT_AUTHOR_NAME"
am="$GIT_AUTHOR_EMAIL"
cn="$GIT_COMMITTER_NAME"
cm="$GIT_COMMITTER_EMAIL"

if [ "$GIT_COMMITTER_EMAIL" = "alte@email-adresse.tld" ]
then
    cn="Max Mustermann"
    cm="neuer@git-account.tld"
fi
if [ "$GIT_AUTHOR_EMAIL" = "alte@email-adresse.tld" ]
then
    an="Max Mustermann"
    am="neuer@git-account.tld"
fi

export GIT_AUTHOR_NAME="$an"
export GIT_AUTHOR_EMAIL="$am"
export GIT_COMMITTER_NAME="$cn"
export GIT_COMMITTER_EMAIL="$cm"
'

Mit diesem Befehl erhält man eine Liste aller vorhandenen Autoren:

Bash
1
git log --format='%aN' | sort -u

(Last update: 4. Mai 2010, 12:14 by jens.)

tags git
0 comments...
Syndication-Feed-Format: