Autoren Archiv

Enable Remote Desktop Connections on a remote PC

Sometimes you need to logon to a remote PC via RDP but the PC is not configured to allow remote connections. Instead of walking over to the machine and setting the needed configuration manually, you could enable RDP connections on the remote PC using regedit as follows:

start regedit and connect to the remote PC’s registry [...]

Resize and rotate all images in a Word 2010 document

Just a little snippet to resize and rotate all images in a Word 2010 document. I needed it to create a table with multiple images per row/column from some dragged and dropped images.

Option Explicit

Sub ResizeAndRotateAllImages()

 

Const ROTATION = 90

Const HEIGHT = 7

 

Dim n As Integer

 

For n = 1 To ActiveDocument.InlineShapes.Count

    With ActiveDocument.InlineShapes(1)

        [...]

Master of Engineering (M.Eng.)

Mein Abschluss ist zwar schon etwas her, aber am 22.07. fand die offizielle Abschlussveranstaltung der Fakultät efi (Elektro-, Feinwerk- und Informationstechnik) der Georg-Simon-Ohm-Hochschule Nürnberg statt. Dort wurde ich als bester Absolvent meines Jahrgangs geehrt (und zufällig bin ich sogar in der Fotogalerie der Ohm-Hochschule zu sehen).
Zwei kleine Artikel zu meinem Abschluss gab es heute auch [...]

Zotero plugin for DokuWiki

For managing my literature sources for reference lists I use

TYPO3: How to enable links to local files in RTE

Today I needed to link to a local file on a network share from a page in TYPO3. This link did not start with the usual http:// but instead with file:///. The problem was, that the rich text editor (RTE) in the backend of TYPO3 always prepends “invalid” links with http:// and I ended up [...]

Using PHP to query Zotero’s REST API

Today I tried to query Zotero’s REST API with PHP to retrieve a list of my bibliography items for further processing. The basics are pretty easy setup using phpZotero and following this guide: Mashup Guide :: Zotero REST API: early developments.
However, I ran into some problems as the user id could be read by getUserId() [...]

PowerShell 2.0: Windows Update KB968930 cannot be installed on Windows XP

Our WSUS server provided my computer with Microsoft Windows Update KB968930 (Windows Management Framework and PowerShell 2.0) but it could not be installed (without giving any helpful error message). After searching the web for quite some time, I found this solution to be working in my case:

Deinstall PowerShell 1.0: Control Panel → Show Windows Updates [...]

How often are functions returning an array for PHP’s foreach statement called?

Today I was asked a question regarding PHP’s foreach statement: If the array through wich a script iterates is generated by a function, how often is this function called? In this example, will getArray() be called only once or three times?

$c = 0;

function getArray()

{

        global $c;

        echo (++$c) . [...]

bash: Get IP address of SSH remote user

Today I needed to find out the IP address of the currently logged on user (e.g. via SSH) on a Linux system to use it in a bash script. After searching the web for a simple tool for this task for quite some time, I finally came up with the following bash script to get [...]

NUNIT: A Unit-Test-Framework for Natural

As part of my Master’s thesis about Test Driven Development (TDD) I developed a Unit-Test-Framework for the programming language Natural. This 4GL language from Software AG is in use for over 30 years now but the notion of automated tests has not been spread throughout the developer community. Perhaps now, with a framework for tests [...]