It is often necessary to export a wiki page to PDF so managers, customers or other people who can't (or don't want to) access the wiki can read documents.
One thing that embarrasses me the most is that you don't have control over page breaks in Confluence PDF exports. There is - at least to my knowledge - no predefined macro available.
But there is a community macro which solves the problem. Take a look at the pagebreak user macro and try it.
With this macro you are in full control over page breaks in PDF exports.
Total Pageviews
Thursday, November 22, 2012
Pagebreaks in Confluence PDF Export
Making Screenshots with Greenshot under Windows
I don't think I have high requirements for a good screenshot tool but Greenshot is by far the best one I have ever used.
It even has plugins for Jira and Confluence. Moreover it is free to use even in commercial environment. Cool :-)
It even has plugins for Jira and Confluence. Moreover it is free to use even in commercial environment. Cool :-)
Thursday, November 15, 2012
Keeping root on Nexus 7 when updating Android from 4.1.2 to 4.2
Yesterday Google rolled out Android 4.2 for the Nexus 7 devices. I hesitated to do an instant update because I was not sure if OTA Rootkeeper was capable of rooting my device (using Android 4.1.2) again after the update.
Searching through the usually suspects boards (xda-developers, android-hilfe, etc ...) didn't yield a result. Seems that no one has tried it so far or no one has found the time to post his experiences :(
At least I found out that the Nexus 7 Root Toolkit was updated and therefore able to root a Nexus 7 device with Android 4.2 (afaik your device will be wiped after rooting - please check board posting on xda-developers).
That was the starting signal for me to do the update and try rooting again with rootkeeper. If rootkeeper does not work I still can reroot my device again using the toolkit.
Well it turns out my fear was baseless.
Rootkeeper was able to root my device again so I still have a rooted Nexus 7 using Android 4.2.
Great tool :-)
Searching through the usually suspects boards (xda-developers, android-hilfe, etc ...) didn't yield a result. Seems that no one has tried it so far or no one has found the time to post his experiences :(
At least I found out that the Nexus 7 Root Toolkit was updated and therefore able to root a Nexus 7 device with Android 4.2 (afaik your device will be wiped after rooting - please check board posting on xda-developers).
That was the starting signal for me to do the update and try rooting again with rootkeeper. If rootkeeper does not work I still can reroot my device again using the toolkit.
Well it turns out my fear was baseless.
Rootkeeper was able to root my device again so I still have a rooted Nexus 7 using Android 4.2.
Great tool :-)
Tuesday, November 13, 2012
Multiple Virtual Desktops in Windows 7
Most Linux desktops / window managers support it out of the box: Multiple virtual desktops. I really miss this feature on Windows 7.
A great tool for managing virtual desktops under Windows is Dexpot.
It's a great alternative to VirtuaWin and free of charge for private use.
Tuesday, October 23, 2012
Samsung Galaxy Nexus OTA Update from Android 4.1.1 to 4.1.2 and keeping root
A few days ago my carrier rolled out the OTA Android Update 4.1.2.
I didn't want to lose root on my Samsung Galaxy Nexus after updating from 4.1.1 to the new 4.1.2 release and I installed OTA RootKeeper from Google Play.
The important step is to install and run RootKeeper before you do the update. Instructions on how to use RootKeeper can be found here.
This should work at least for the Samsung Galaxy Nexus running Android 4.1.2 without a custom recovery image.
After updating to the new Android version and rebooting your phone you have to start RootKeeper again to reactivate root. All you have to do is to select Restore Root and your phone is rooted again.
I didn't want to lose root on my Samsung Galaxy Nexus after updating from 4.1.1 to the new 4.1.2 release and I installed OTA RootKeeper from Google Play.
The important step is to install and run RootKeeper before you do the update. Instructions on how to use RootKeeper can be found here.
This should work at least for the Samsung Galaxy Nexus running Android 4.1.2 without a custom recovery image.
After updating to the new Android version and rebooting your phone you have to start RootKeeper again to reactivate root. All you have to do is to select Restore Root and your phone is rooted again.
Tuesday, October 09, 2012
Grub error 17 and a possible solution
Give this a try if you are getting grub rescue:
- At grub>. enter these commands
find /boot/grub/stage1This will return a location. If you have more than one, select the installation that you want to provide the grub files. - This is important: what was returned for the find command use it in the next line for the "?" -
root (hd?,?)Again use the value from the find command i.e. if find returned(hd0,1)then you would enterroot (hd0,1) - Next enter the command to install grub to the mbr
setup (hd0) - Finally exit the grub shell
quit
Now you are done. Reboot the machine.
Another option is to run this command:
grub-install /dev/hda
If you don't have grub rescue:
- Try booting from a live CD
- In case Live CD doesn't have package "grub" install it first (eg. sudo apt-get install grub)
- Take a look at your partition table: sudo fdisk -l
/dev/sda5 1276 1397 979902 82 Linux swap / Solaris
/dev/sda6 1398 2550 9261441 83 Linux - In this case grub should be installed on /dev/sda6 (in grub this is hd0,5).
NOTE: Every device in grub starts with "hd", even if it's a SATA device. - Type in the following in a shell:
- More infos can be found in this article.
sudo grub
grub > root (hd0,5)
grub > setup (hd0)
grub > quit
In Virtualbox einen bootbaren USB Stick starten
Virtualbox unterstützt das Booten von Gastsystemen von einem USB Stick nicht out-of-the-box.
Mit dem hier beschriebenen Trick geht es aber doch.
Zusammengefasst:
Im Bild ist das Laufwerk I.
Laufwerk I hat die laufende Nummer 3 (Datenträger 3 im obigen Bild)
Entscheidend ist hier der letzte Parameter "rawdisk". Hier wird das physikalische Laufwerk mit der Nummer angegeben, die in der Datenträgerverwaltung (siehe Schritt 1) identifiziert wurde.
In diesem Beispiel ist das die Nummer 3.
Der Parameter "filename" gibt an, wo die vmdk Datei auf dem Dateisystem abgelegt werden soll.
Idealerweise als erstes Gerät damit auch direkt davon gebootet wird.
Mit dem hier beschriebenen Trick geht es aber doch.
Zusammengefasst:
Schritt 1:
In Windows die Datenträgerverwaltung starten und den USB Stick identifizieren:Im Bild ist das Laufwerk I.
Laufwerk I hat die laufende Nummer 3 (Datenträger 3 im obigen Bild)
Schritt 2:
Jetzt in einer Kommandozeile in das Installationsverzeichnis von VirtualBox wechseln und folgenden Befehl eingeben: VBoxManage.exe internalcommands createrawvmdk -filename "G:\VirtualBox\usb-stick.vmdk" -rawdisk \\.\PhysicalDrive3
Entscheidend ist hier der letzte Parameter "rawdisk". Hier wird das physikalische Laufwerk mit der Nummer angegeben, die in der Datenträgerverwaltung (siehe Schritt 1) identifiziert wurde.
In diesem Beispiel ist das die Nummer 3.
Der Parameter "filename" gibt an, wo die vmdk Datei auf dem Dateisystem abgelegt werden soll.
Schritt 3:
Jetzt kann VirtualBox als Admin gestartet werden und in der Konfiguratoin der Massenspeicher die gerade erzeugte Datei usb-stick.vmdk hinzugefügt werden.Idealerweise als erstes Gerät damit auch direkt davon gebootet wird.
Tuesday, September 25, 2012
Root your Galaxy Nexus without unlocking bootloader
Since I bought a Samsung Galaxy Nexus a few weeks ago I was looking for the possibility to root it without unlocking the bootloader or wiping anything.
I don't want to use a custom ROM nor a custom recovery. I just want to get rid of the ads.
Finally someone has found a working solution and posted the instructions in the XDA forum.
I have tried it and now my Nexus is rooted :-)
I don't want to use a custom ROM nor a custom recovery. I just want to get rid of the ads.
Finally someone has found a working solution and posted the instructions in the XDA forum.
I have tried it and now my Nexus is rooted :-)
Thursday, September 20, 2012
m2e and generating classes using jaxws-maven-plugin solved
Since m2e 1.0 (Maven integration for Eclipse) developers are complaining about issues with the jaxws-maven-plugin.
See here and here.
The m2e wiki offers documentation describing the issue and proposing solutions. For me, none of those suggestions worked.
The classes were not generated and I had to generate the classes using Maven from the command line and refresh the Eclipse workspace. Since upgrading m2e in my Eclipse 3.7 even that doesn't work anymore.
Googling around I found this project hosted on github solving all problems. After downloading and extracting the projects zip file to my computer I installed the connector plugin in Eclipse using the local directory on my computer as update site.
After restarting Eclipse, updating the Maven project configuration and doing a clean rebuild of the project all sources from the WSDL were generated and the project compiled without errors.
See here and here.
The m2e wiki offers documentation describing the issue and proposing solutions. For me, none of those suggestions worked.
The classes were not generated and I had to generate the classes using Maven from the command line and refresh the Eclipse workspace. Since upgrading m2e in my Eclipse 3.7 even that doesn't work anymore.
Googling around I found this project hosted on github solving all problems. After downloading and extracting the projects zip file to my computer I installed the connector plugin in Eclipse using the local directory on my computer as update site.
After restarting Eclipse, updating the Maven project configuration and doing a clean rebuild of the project all sources from the WSDL were generated and the project compiled without errors.
Thursday, September 06, 2012
Import von Excel Trainingsaufzeichnungen nach Trainingstagebuch.org
Falls jemand gerätselt haben sollte, wie er seine in Excel (oder OpenOffice) dokumentierten Trainingseinheiten halbwegs automatisiert nach http://trainingstagebuch.org importiert bekommt, sollte sich mal diesen Eintrag in der FAQ von Trainingstagebuch.org durchlesen und das dort hinterlegte Excel Dokument ausprobieren.
Mit OpenOffice oder LibreOffice funktionieren die Makros nicht. Ich hab es dann mit einer bei mir noch vorhandenen Office 2007 Installation geschafft meine alten Daten zu importieren.
Mit ein wenig Handarbeit waren dann in ungefähr 90 Minuten über 400 Einheiten importiert.
Und ich wollte mir schon ein eigenes Import Tool schreiben ...
Subscribe to:
Posts (Atom)
