Toggen Blog
Tech tips
Articles
Latest
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"...
DATE_SUB( NOW () INTERVAL 2 WEEK) Failed in CakePHP
I had this: public function recent_history($weeks = null) { $this -> MapHistory -> recursive = 0; $this->paginate = array ( 'conditions' => array( 'OR' => array( 'MapHistory.date_returned >' => 'DATE_SUB( CURRENT_DATE(), INTERVAL 2 WEEK)',...
Budget NAS. Enter Synology, QNAP isn’t the only option.
Eventually I think my home will have laptops. They are easy to cart to where your $SIGNIFICANT_OTHER is located and you can be there instead of in the Office where you can't look up adoringly every now and again. But that means you need some sort of way of being able...
Fedora 18 Fonts
Good info here ==> http://fedorasolved.org/Members/khaytsus/improve-fonts But the path to conf.avail is /usr/share/fontconfig/conf.avail [root@mypc conf.avail]# ln -sf /usr/share/fontconfig/conf.avail/10-autohint.conf /etc/fonts/conf.d/ [root@mypc conf.avail]# ln...
Outlook Web Access 2010 – Change Time Out Values
Using Outlook Web Access and your session is timing out too soon. This may help Change the settings as below and if you select when you login to owa using forms based authentication the following options: - “This is a public or shared computer” you will have...
