Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Wednesday, February 27, 2013
use multiple database in one cakephp project
›
http://bakery.cakephp.org/articles/mithesh/2008/09/02/talking-to-multiple-databases-from-single-cakephp-application Your app/Config/da...
Tuesday, February 26, 2013
online code beautifier
›
http://hilite.me/ http://beta.phpformatter.com/
simple class for calling a url using either curl or fopen
›
<?php class EmailManager { var $_server ; var $_account ; const client_login_url = 'https://www.google.com/ac...
Monday, February 25, 2013
restarting and reloading name server zone files
›
Restart zone files: service named restart Reload changed zone files: rndc reload tail -f ./var/log/messages
Sunday, February 24, 2013
validating fqdn url email hostname using java regular expression
›
Using java Pattern class to validate the FQDN, URL, E-Mail address hostname import java.io.*; import java.util.regex.Matcher; ...
shell script echo new line to file
›
var1="Hello" var2="World!" logwrite="$var1\n$var2" echo -e "$logwrite" >> /Users/username/...
How to tell if a string is not defined in a bash shell script
›
#!/bin/bash if [ -z $1 ]; then echo 'Enter something please.'; exit 1; fi;
‹
›
Home
View web version