Archive

Archive for November, 2008

Ajax History

November 25th, 2008 karlosp No comments
Categories: Ajax Tags:

Linux bash history

November 8th, 2008 karlosp No comments
CODE:
  1. cd ~
  2. vim .inputrc
  3.  
  4. copy / paste
  5.  
  6. "\e[5~": history-search-backward
  7. "\e[6~": history-search-forward

http://www.electrictoolbox.com/history-search-auto-completion-bash-shell-ubuntu/

Categories: Linux Tags:

MySql date timezone

November 6th, 2008 karlosp No comments

Knowing the time offset, you can replace all your SQL statements of

SQL:
  1. SELECT NOW();

with

SQL:
  1. SELECT DATE_ADD(NOW(), INTERVAL 2 HOUR);

Categories: php_mysql Tags:
71450 pages viewed, 301 today
38422 visits, 136 today
FireStats icon Powered by FireStats