Linux: Install Apache with Yum

August 16th, 2010 by jeremychone | No Comments »
yum install httpd
yum install mod_ssl

Source: Installing Apache, PHP, and MySQL on Fedora Core

jQuery: Mobile Design (Phone, Tablet, & Desktop)

August 16th, 2010 by jeremychone | No Comments »

http://jquerymobile.com/designs/

Linux: MySQL Install (with yum) & Run

August 15th, 2010 by jeremychone | No Comments »

Install via Yum

yum install mysql
yum install mysql-server

Run

service mysqld start

Set Root Password

mysqladmin -u root password MYPASSWORD

Change root Password

mysqladmin -u root -p'oldpassword' password newpass

OSX: TermHere to open terminal from finder

August 14th, 2010 by jeremychone | No Comments »

TermHere

OSX: Screen capture tips on MAC

August 13th, 2010 by jeremychone | No Comments »

Command-Shift-3: Desktop screenshot, png on desktop.

Command-Shift-Control-3: Desktop screenshot, png on clipboard.

Command-Shift-4: Area screenshot, png on desktop.

Command-Shift-Control-4: Area screenshot, png on clipboard.

Command-Shift-[Control]-4 + Space: Window screenshot, png on desktop.

For more control use Grab in Utilities

Source: How To Capture a Screen Shot with Mac OS X

OSX: NTFS-3G Free Version for Mac

August 13th, 2010 by jeremychone | No Comments »

NTFS-3G
http://www.apple.com/downloads/macosx/system_disk_utilities/ntfs3g.html

HTML: 25 HTML5 Tips

August 9th, 2010 by jeremychone | No Comments »

http://net.tutsplus.com/tutorials/html-css-techniques/25-html5-features-tips-and-techniques-you-must-know/

MySQL: Yahoo MySQL HA

August 5th, 2010 by jeremychone | No Comments »

http://mysqlguy.net/blog/2010/08/03/mysql-master-ha-yahoo

Tomcat: Session Timeout

August 5th, 2010 by jeremychone | No Comments »

In the Web.xml

 <web-app>
  <session-config>
    <session-timeout>60</session-timeout>
  </session-config>
...
 </web-app>

ant: delete, copy, jar, mkdir tasks

July 27th, 2010 by jeremychone | No Comments »

Ant Task Overview

Delete

<delete>
   <fileset dir="WEB-INF/lib" includes="**/some*.jar" excludes="**/some-other*.jar" />
</delete>

Ant Delete Doc

Copy

<copy todir="../new/dir">
    <fileset dir="src_dir"/>
</copy>

<copy todir="../dest/dir">
    <fileset dir="src_dir">
      <exclude name="**/*.java"/>
    </fileset>
</copy>

<copy todir="../dest/dir">
    <fileset dir="src_dir" excludes="**/*.java"/>
</copy>

Ant Copy Doc