Kategorie: Programmieren

Check code signing of applications on OSX

The last days I was busy signing my Delphi applications on my Mac. One version was signed with my Developer ID, the other one with the third party developer ID for the Mac App Store. Maybe its all very easy if you use XCode for that, but I had my issues with Delphi, where I …

weiterlesen »

Code signing problems with Delphi XE4 Mavericks

Some days ago I wrote a blog post about signing a Firemonkey application manually with the developer ID. For app store applications Delphi automatically runs the code signing procedure for you and creates a PKG file. Handy! Since Apples new Mavericks release the code signing has changed a little bit and the command now needs …

weiterlesen »

Signing Firemonkey Applications on OSX

Some time ago I started porting my application DA-FormMaker for the Mac. After finishing the development, the app needs to be signed with the Developer ID. Otherwise your users will end up with some message like: OK its german, but it means: I don’t know that developer and I will not start that application. So …

weiterlesen »

Branding of Eclipse/RCP Applications

Introduction In this document I want to describe some ideas how branding of an Eclipse RCP application can be implemenented. Since I never done this before, there might be better ways to do that, so feel free to contact me. Its not a walk through how to do these things step by step, its more …

weiterlesen »

Checkout GIT repository into existing folder

I usually create my project first, tinker around and then at some point I want to use version control, like GIT. So I create the repository and want to check it out and merge it with my existing project folder. This can be done with the following commands: git init git remote add origin PATH_TO_REPOSITORY …

weiterlesen »

Virtual Machine to debug and develop PHP

I used PHP a lot in the past for our websites. I think its not the best programming language, but its simple enough to get things done very quickly. And it runs on the most servers of web hosters. Today most likely I would choose another language, but I still have to maintain and debug …

weiterlesen »

Git – The remote end hung up unexpectedly

Recently I tried to push a bigger repository to Github. At some stage of the upload process failed: fatal: The remote end hung up unexpectedly Everything up-to-date Some research on the internet indicated that the https buffer was not big enough. The simplest fix to that was to increase the buffer size: git config http.postBuffer …

weiterlesen »

Delphi XE4/Firemonkey – Taborder not working + Workaround

Firemonkey, the framework for cross plattform development, still seems to have some problems and bugs. 🙁 One of the problems I came across was that the TabOrder property was not working: The problem starts with the inability to set the TabOrder correctly in the designer. They are reset all the time to their defaults. When …

weiterlesen »

Java: Get IP and Mac address

A small code snippet that reads the computers IP and MAC address: try { InetAddress ip = InetAddress.getLocalHost(); NetworkInterface network; network = NetworkInterface.getByInetAddress(ip); byte[] macaddr = network.getHardwareAddress(); String mac = ""; for (int i = 0; i < macaddr.length; i++) { mac += String.format("%02X%s", macaddr[i], (i < macaddr.length – 1) ? "-" : ""); } …

weiterlesen »