t l s r
_

Random bits from Berlin

Berlin Stuff

Read more

Solution: Flat UI Fonts looking ugly in Chrome (Win8-64bit)

As with many other websites which are using webfonts, the font used in the Flat UI template (Lato from Google Fonts) looks particularly bad in Chrome on Windows 8 64bit. Compare the display of Flat UI webfont in Chrome on the left side (font rendering being jagged and ugly) and Firefox on …

Read more

xml2js.js / sax.js: Non-whitespace before first tag

Just in case this helps someone by coming up in google: Node.js scenario: Parsing an utf-8 encoded XML-file with xml2js.js (which in turn relies on sax.js) results in Error: Non-whitespace before first tag. Line: 0 Column: 1 Char: 'error parsing xml: Error: Non-whitespace before first tag.\nLine: 0\nColumn: 1\nChar: ' When …

Read more

Postback Redmine Ticket Titles to SVN/GIT Comments

  Abstract: the following article shows how to write the title of a Redmine ticket back into the Subversion (or GIT possibly) comment the ticket was referenced from. Many ticket-management systems allow you to reference ticket id's by specifying them in the SVN commit comment. This results in the revision …

Read more

Access RedmineCRM Contacts from IPhone/IPad/Android

A few weeks ago we decided to integrate our CRM efforts tighter into our existing project management / ticketing system. Seeing we are using a heavily customized Redmine installation for the later, SugarCRM unfortunately had to go and make room for RedmineCRM. Thought not perfect it fit our needs well for …

Read more

Syncing SugarCRM (Community Edition) and Outlook 2007/2010

The Pro version of SugarCRM offers a custom Outlook connector. When using the Community (free) version of SugarCRM though, you may want to consider alternative routes to sync emails, contacts, meetings etc from SugarCRM to Outlook and vice versa. Meet KINAMU Outlook Connector http://www.sugarforge.org/projects/outlookconnect For this to work you need to …

Read more

Where have you gone, MySQL

When importing a larger MySQL database dump on a local WAMP installation the following error message showed up in phpmyadmin: MySQL said: Documentation #2006 - MySQL server has gone away In my case the solution was to edit the my.ini MySQL config file (not the php.ini) which can be found …

Read more

HTTP Error Codes as PHP Array

Just in case someone has any use for this and Google turns up this page. Texts taken from http://www.w3schools.com/TAGS/ref_httpmessages.asp $httpErrorCodes = array(); $httpErrorCodes = 'Continue - Only a part of the request has been received by the server, but as long as it has not been rejected, the client should …

Read more

ModX – TinyMCE problem with url paths

Problem: TinyMCE adds /assets/components/tinymce/ to every link when using the TinyMCS "add link" function. When changing the tiny.path_options setting the path changes but still contains the above fragment - e.g.   http://www.mydomain.com/assets/components/tinymce/PATH-I-WANT   This (wrong) replacing occurs before saving the page using modx. I.e. after adding a link ~17? and …

Read more

XNA: The specified Module could not be found

During development of the ConSense Cockpit solution I experienced a problem when deploying a Windows Presentation Foundation (WPF) solution on a target client with no XNA (btw - an extremely lame acronym from Microsoft) installed which resulted in: The specified module could not be found.  (Exception from HRESULT: 0x8007007E) For …

Read more