I have been helping a servant of Jesus Christ living in Cape Town to promote one of the books that he have written by the inspiration of the Holy Spirit. We have worked for a while to get a website up and running to promote the book called: “Be FREE of DEBT.”
If you are [...]
This is a simple barcode generator that I have written in Java. It creates a text file and populate it with the barcode numbers, if the number already exist in the text file, a new one is generated. You will then be prompted to select a printer to print to. It will print a total [...]
The following code is something great that I have learned today. You can access more than one database with the CodeIgniter php framework without editing to much lines. Consider the code below: Within the application/config/database.php config file you can add more that one set of database parameters.
//database parameter set 1 $db['01']['hostname'] = ‘localhost’; $db['01']['username'] [...]
This is some encouraging words shared with me by Evangelist Qaiser Ijaz on my Facebook wall. You can view it here: http://kobusbeets.co.za/ten-ways-to-love/
TRUE LOVE COMES FROM GOD.
The project that I’ve been working on for some time is now open for anyone to register. There are great benefits for you when using this site. Please feel free to go to the site by clicking on the logo and view some of the documentation under the help menu.
Here is a php function that can be used to get current currency values from Yahoo.
<?php function get_currency_value($from, $to) { $url = “http://finance.yahoo.com/d/quotes.csv?f=l1&s=$from$to=X”; $handle = fopen($url, ‘r’); if ($handle) { $result = fgetcsv($handle); fclose($handle); $rate = $result[0]; return $rate; } } echo ‘R’.get_currency_value(‘USD’, ‘ZAR’); ?>
The method, as I used it, will return 1 [...]
This is a pretty nice way to get the MD5 encryption of text using Java. You will need to add the following jar file to your project to accomplish this.
MD5 Library
It’s always good to use some sort of encryption on your passwords or inputs that you don’t want anybody just [...]
I have found this code snippet on some site and it’s a great way to validate an email address in your Java application.
import java.util.regex.Matcher; import java.util.regex.Pattern; public static boolean isValidEmailAddress(String strEmailAddress) { String expression = “^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Z]{2,4}$”; CharSequence inputStr = strEmailAddress; Pattern pattern = Pattern.compile(expression, Pattern.CASE_INSENSITIVE); Matcher matcher = pattern.matcher(inputStr); return matcher.matches(); }
This blog will be used basically for anything that I set my heart to. I will post development code snippets, the gospel of Jesus Christ and many other stuff. Be sure to check in regularly for any new posts or just add the RSS feed to your list.
Archives

