Toggen Blog
Tech tips
Articles
Latest
Get the X Display Resolution from the Command Line
Run the following from the command line xdpyinfo | grep 'dimensions' dimensions: 1920x1080 pixels (508x285 millimeters) Version: Fedora 18
XFreeRDP – Remmina Missing RDP Protocol
Just installed xfreerdp as I found that it provided a better experience when connecting to the Oracle Virtualbox RDP server. Also installed Remmina a tsclient style app with multi-protocol support but discovered no support for RDP connections as installed. yum install...
SCRIPT5007: Unable to get value of the property ‘parentNode’: object is null or undefined
Just loaded a jQuery site into IE9 and threw the error "SCRIPT5007: Unable to get value of the property 'parentNode': object is null or undefined" Code Before (working on Google Chrome but not in IE9) $('#item-table tbody').click(function(){...
Remove the Linux NVidia Graphics Driver to get Screen Shots Back
I have an NVidia graphics card in my Fedora 18 system and I've been using the NVidia drivers but found that the print screen and alt+print screen produced badly corrupted or all black screen shots. Seeing as the problem has persisted through multiple upgrades of the...
Convert your MySQL schema to a Dia Diagram
Do this Creating DIA diagrams from mysql via XSLT The XSLT (echo "<root>"; mysql --user=root -p -A -D maps \ -e 'desc assigned_tos ; \ desc map_histories; \ desc map_types; \ desc maps' -X |\ grep -v "<?xml" ;\ echo "</root>") > /tmp/tmp.xml xsltproc...
Multi-line textarea jQuery.append
I have a textarea which I use jquery.append() to place error messages into. $('textarea').append(status_text + line_break); I have found that in Internet Explorer if I use a newline character "\n" for the line_break I get: If I use a carriage return line feed "\r\n"...
