Thursday, May 5, 2011
Wednesday, May 4, 2011
MapGuide Open Source 2.2 released | MapGuide Open Source
Finally the MAPGUIDE OPEN SOURCE 2.2 OFFICIAL RELEASE IS OUT!!! Such a long wait!!! Tunggu lama weeeeeeeeeeeh~~~
Release notes: http://trac.osgeo.org/mapguide/wiki/Release/2.2/Notes
Downloads: http://trac.osgeo.org/mapguide/wiki/Release/2.2/Notes#Installation
Documentation: Please continue to use the 2.0 documentation for now. The release notes contain information on API changes between MapGuide 2.1 and MapGuide 2.2.
If you find a defect, please report it to the mapguide-users mailing list.
Thanks to the ever growing team of developers who are contributing to make the MapGuide Open Source project a more self-sustaining project.
Wednesday, April 27, 2011
Zend Server Community Edition - Zend.com
For those looking for another super duper alternative to connect easily from PHP to Oracle Database via OCI8... well look no further...
~Zend Server Community Edition~
Zend Server Community Edition is a fast and reliable PHP application stack. It is completely free, and you can use it in development, testing and production. Windows, Linux, Mac OS X and IBM i are supported.
DOWNLOAD NOW
Boost Performance of your PHP ApplicationsZend Server Community Edition provides multiple capabilities for improving application response times and minimizing resource utilization:
|
Use a Reliable PHP Stack in Development and ProductionZend Server Community Edition is a pre-integrated PHP application stack that’s been tested by Zend to ensure the highest levels of reliability. You can use it to run your application in production, during development and testing, ensuring a consistent environment throughout the application lifecycle.If at any point you require technical support, software updates, security patches, application monitoring or extra performance, you can simply upgrade to Zend Server, the commercial version of Zend Server Community Edition. See the differences between Zend Server Community Edition and Zend Server >> |
Get Up and Running with a Full PHP Stack in MinutesEliminate wasted time spent on putting together your PHP stack piece by piece. Zend Server Community Edition includes everything you need, whether you’re using Windows, Linux or Mac OS X. The simple, native installers will set you up in minutes with:
|
DOWNLOAD NOW
Sunday, April 24, 2011
Ubuntu 10.04 LTS with OCI8
Finally, Akhirnyaaaaaaaaaaaaaaaaa!!! Alhamdulillah berjaya configurekan Ubuntu LAMP Server untuk work together with OCI8 (Oracle Call Interface)... yang membolehkan connection ke database Oracle possible!!! Thanks to the author of this tutorial... here it is.... \(^o^)/
To be able to access Oracle databases from PHP, you will need to have PHP compiled / linked with the Oracle OCI (oci8) library.
You could use the pre-built PHP 5 from Zend or there are two other ways to get PHP working with OCI8:
- Install the Oracle Database [Oracle10g] [Oracle9i]
- Install Oracle Instant Client
If your Oracle database is in another machine, the Oracle Instant Client is a smaller install.
PHP using Oracle Database Server
TODO
PHP using Oracle Instant Client
Tested Environment:
Ubuntu Server 10.04 LTS Oracle Instant Client 11.2
Prerequisites:
sudo apt-get install build-essential
sudo apt-get install php5-dev php-pear libaio1
Instant Client installation requires some environment variables to be able to see the library folder. Edit /etc/environment and add at the end:
# Oracle Instant Client
LD_LIBRARY_PATH="/usr/local/lib/instantclient_11_2"
TNS_ADMIN="/usr/local/lib/instantclient_11_2"
ORACLE_BASE="/usr/local/lib/instantclient_11_2"
ORACLE_HOME=$ORACLE_BASE
Then download the Oracle Instant Client from Oracle.com another (you will need to create an account)
You will need the Basic (48MB) and SDK (600K). The Basic Lite version does not work.
cd /usr/local/lib
sudo unzip
sudo unzip
cd instantclient_11_2
sudo ln -s libclntsh.so.11.1 libclntsh.so
The symbolic link is needed by during the compilation step later.
sudo pecl install oci8
You will be prompted for the location of the library:
instantclient,/usr/local/lib/instantclient_11_2
You will be prompted also for the ORACLE_HOME location, type 'all', accept and then insert:
instantclient,/usr/local/lib/instantclient_11_2
If successful, you may now add the following line at the bottom of php.ini
extension=oci8.so
The php.ini is found in 2 places: /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini
sudo /etc/init.d/apache2 reloadCheck to verify if the OCI8 module is available.
Monday, April 18, 2011
PHP Built-in Web Server
Apa lagik geng PHP??? Download and tryler... :D
https://gist.github.com/835698
Friday, April 15, 2011
5 Powerful Fat-Fighting Spices - Jon Benson
Parsley: Improves digestion so you can use
the foods you eat. The more food you "use"
the less you store as bodyfat.
Basil: Known to us pros as the "secret"
appetite-suppressing herb. Yep... it makes
you feel more full. Fantastic for killing those
late-night carbohydrate cravings.
Oregano: Reduces bloating! I love that.
When you are cutting body fat, you often get
tricked into believing belly bloat is belly
"fat"... but it's not. It's water pulled in from
cells during fat loss processes. Oregano
helps reduce it.
Rosemary: Helps keep you calm and lowers
the bellyfat-storing hormone "cortisol". It's
nature's best cortisol-lowering spice.
Black Pepper: Known fatburner, and it just
tastes really good. Plus a really powerful anti-
oxidant!
-Jon Benson, author - The Every Other Day Diet===========
Tuesday, April 12, 2011
CakePHP - Model Without Creating Table
Coding untuk create model without table dalam CakePHP.class ModelNoTableAttached extends AppModel { var $useTable = false; }
13 Healthy Fat-Burning Snack Ideas | Quick healthy mid-meals
13 Healthy (and Delicious) FAT-BURNING Mid-Meal Ideas for Between Breakfast, Lunch, and Dinner
by Mike Geary, Certified Nutrition Specialist, Certified Personal Trainer
Author - The Truth About Six Pack Abs
I receive a lot of questions from my readers where they have been doing much better at choosing healthy breakfasts, lunches, and dinners, but they are still struggling to find good ideas for healthy and quick "mid-meals"... especially a quick small meal or snack that can be brought to the office or on road trips (so you can avoid the fast food junk!).
Some people may call these "healthy snacks", but I prefer to consider them meals because they should be similar in size to your breakfasts, lunches, and dinners, if you want to spread your calorie intake out over the full day to "graze" so to speak.
After all, I'm sure it's no secret by now that eating 5-6 small meals per day is a much better strategy for getting lean compared to the traditional "3 squares" a day (which for most people, turns into only 2 big meals/day as many skip breakfast).
The problem that I see most people having is being prepared enough to bring healthy mid-meals with them to work for the day. If you don't plan ahead, and bring something healthy and balanced with you when you're out and about for the day, or at work, you're going to end up choosing the junk food at the vending machine or corner store.
So here are some of my favorite natural foods based mid-meals that I've used for years with great success and that lots of my clients love too. I want to keep things simple here, so I'm just gonna give a couple of my easiest, quickest, and healthiest...
Quick, healthy mid-meal ideas to keep you lean:
- Apple or other fruit with almond butter
- Hummus with carrot sticks or sliced red/yellow/orange peppers
- Guacamole with carrot sticks or sliced red/yellow/orange peppers
- Ricotta cheese (grass-fed if possible) mixed with cocoa powder, stevia, and vanilla extract (delicious high protein, low carb snack!)
- Cottage cheese mixed with yogurt, berries, and walnuts or pecans
- A couple hard boiled eggs with carrot and celery sticks and hummus (roasted red pepper hummus is my favorite)
- Celery sticks with organic peanut butter or almond butter (a classic quick snack)
- My famous healthy chocolate FUDGE recipe
Avocado slices wrapped in deli turkey breast (one of my favorite quick snacks)
- A piece of sprouted grain toast (sprouted grain preferred nutritionally over "whole grain") with nut butter and berries
- Fresh sliced pineapple with a handful of macadamia nuts
- a bowl of blueberries mixed with raw almonds
- my quick and healthy fat-burning chocolate pudding recipe
- Cottage cheese with cinnamon, apple slices, and walnuts (mmm, mmm good)
That should give you some ideas to start working with. Now you have ZERO EXCUSES for resorting to junk food snacks on the road or at the office, when you have all of the delicious and healthy fat-burning snack ideas right here!
Friday, April 8, 2011
What is MSG? Pebenda MSG Sebenarnyer???
What Exactly is MSG and Why Should I Avoid It?
(By Brian St. Pierre, CSCS, CISSN From GetProGrade.com)
MSG stands for monosodium glutamate and it is used to enhance the flavor of food. MSG adds the savory flavor known as umami, and can make even the blandest and cheapest foods taste good.
While there is a lot of anecdotal evidence linking MSG intake with many problems, these symptoms are rather common and unspecific. They include: burning sensations, numbness, tingling, facial pressure or tightness, chest pain, headache, nausea, rapid heartbeat, bronchospasm in asthmatics, drowsiness and weakness.
Unfortunately, well controlled studies have not found these side effects, even in people who claim to be sensitive to MSG. These studies were placebo-controlled and double-blinded, meaning it was gold-standard research.
In one of these studies, 71 participants were given 5 grams of MSG or placebo and then given a standard breakfast. Only one person had a reaction, and it was someone who thought they were sensitive to MSG – unfortunately they got the placebo. Other well-controlled studies have had similar results.
Though to be fair, there are some people that argue that this data is flawed and the researchers were biased, including one Dr. Adrienne Samuels.
According to Dr. Samuels’ article, The Toxicity/Safety of Processed Free Glutamic Acid (MSG): A Study in Suppression of Information, in the peer-reviewed journal Accountability in Research, she proclaims, “How easily truth can be hidden and how seemingly isolated incidents actually can be badly flawed research, direct suppression of information, and dissemination of biased information orchestrated by one group or industry.”
While some seemingly well-controlled quality studies have found little incidence with MSG consumption, there are clearly researchers in the field who disagree with that notion, and feel that the research and data is flawed and biased. In situations like this, it is hard to know fact from fiction, but the data that is available certainly does not seem to link MSG with all of those side effects.
However, this doesn’t mean that you should just go ahead and down MSG without concern. MSG is used in low-quality foods such as Chinese food, canned vegetables, soups, and processed meats to improve the flavor profile, so people will actually want to purchase these items. This alone should tell you if MSG is in a product. It is in there because the item itself needs to have its flavor enhanced, and probably isn’t so great for you.
You should seek to avoid MSG because in the process you will also be avoiding low-quality processed foods and other unhealthy items that will not contribute to your health, body composition, or performance goals. In addition, it is probably just a good idea to avoid or minimize a food that has so much anecdotal evidence weighing against it.
This scenario seems to be similar to aspartame. Many people have been claiming for decades to suffer side effects from aspartame, and they too were told that the data did not support their claims. Well new information is coming out linking aspartame with many problems, including potentially increased risk of cancers and pre-term births.
So when many, many people continue to claim that MSG causes a lot of side effects, it might be worth minimizing in your diet. At the very least, you will also be minimizing low-quality, nutrient-empty, and calorie-dense processed foods, which is never a bad thing.
