Thursday, December 6, 2012

Hey! .... It's been a long time since I posted something in my blog! Heheh ... Anyway, I was kind a busy for a several weeks working on the mobile app for my company.  I just paused for awhile and rethink some of my tools to update.  Everyday of work I had needs an IDE but I prefer pure text editor.

Now, working on something on Mac text editor is a bit handy but you need to be familiar with at least some shortcuts that will make your self convenient.  One text editor I've been using is "TextMate" though I've been using the terminal edit on Mac "VIM" hehe! Late I tried using "Sublime Text" quite okay but I still need to do some adjustments when coding.  (They aren't FREE, 30days is over then you have to purchase the license) .  Then I go back to "TextMate 10", but one server side scripting I've been playing around lately is CoffeeScript which I need a bundle for TextMate to run do some fancy actions like syntax highlighting, ability to compile or evaluate CoffeeScript inline, convenient symbol listing for functions and a number of expando snippets.  Then I found this article which is very helpful. (https://github.com/jashkenas/coffee-script-tmbundle)  OKaY! great :)



CoffeeScript.tmbundle

TextMate Bundle for the CoffeeScript programming language.

Installation:

cd ~/Library/Application\ Support/TextMate/Bundles (Textmate 1)
cd /Applications/TextMate.app/Contents/SharedSupport/Bundles (Textmate 1.5.10 & 2)
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScriptBundle.tmbundle
Just got to Bundles -> Bundle Editor -> Reload Bundles
This is for HAML
git clone git://github.com/textmate/ruby-haml.tmbundle.git
This is for Removing trailing white spaces
git clone git://github.com/vigetlabs/whitespace-tmbundle.git Whitespace.tmbundle

Sunday, September 16, 2012

Friday, August 31, 2012

The Clean Architecture

I surf around the web and saw this link from Uncle Bob mighty clean Architecture diagram.  Which is good to learn when you're developing software. Details in the image below let you understand how the 4 phases of Clean Architecture shows.  

1. Frameworks & Drivers
2. Interface Adapters
3. Application Business Rules
4. Enterprise Business Rules.


Thursday, July 26, 2012

Tuesday, July 17, 2012

Internet Side Business: 5 Things You Should Know

Internet Side Business: 5 Things You Should Know


1. Online Side Businesses Don’t Free Up Your Time

2. There Are Low Barriers to Entry

3. It Is Not Cheap

4. Survey BEFORE Launch

5. You Need Content

Wednesday, June 27, 2012

What your face says about your health

What your face says about your health.

A research team from King's College London found that those with over 100 moles have tougher bones and are less likely to develop osteoporosis, while research has also suggested that those with moles are likely to have healthier eyes and heart.

Monday, June 18, 2012

Thankfully, Software Is Eating The Personal Investing World

Thankfully, Software Is Eating The Personal Investing World

- Software isn’t greedy or fearful

- Software isn’t irrational

- Software always loves investing

- Software doesn’t have a vacation home to pay for

- Why only 99% of the time


Thursday, June 14, 2012

Are you a Good Programmer?

http://techiferous.com/2011/08/are-you-a-good-programmer/


If someone asks you to recommend a good programmer, who comes to mind? Do you consider yourself a good programmer? What criteria do you use to judge?
In thinking about this, I realized that there are different ways that a programmer can be good. So I present to you The Four Kinds of Good Programmers. And in celebration of Whyday, I include quirky Why-styled illustrations* for your viewing pleasure!

The Philosopher



The Inventor

The Conqueror

The Problem Solver




In Defense of Not-Invented-Here Syndrome


http://www.joelonsoftware.com/articles/fog0000000007.html

Thursday, June 7, 2012

NASA provides rare images of transit of Venus

Once in a lifetime viewing :)

NASA provides rare images of transit of Venus
http://sg.news.yahoo.com/blogs/lookout/nasa-provides-rare-images-transit-venus-144840865.html

Avoiding Common Investing Mistakes


Don't refuse to sell a bad investment.

Don't hold too many investments. 
Don't neglect rebalancing. 
Don't forget your risk tolerance.
Don't follow the herd.
Don't make changes when you're angry.


Sunday, April 8, 2012

4 Steps to Ease Your Way Into Entrepreneurship

4 Steps to Ease Your Way Into Entrepreneurship


1. Develop a Personal Mission Statement
2. Reduce Your Expenses
3. Create a Synthetic Family of Networks
4. Take an Inventory of Your Current Assets

He often speaks of the 4.0 grade that really matters:

1. Personal Capital - How well do you know yourself?

2. Intellectual Capital - What do you know?

3. Social Capital - Who do you know and who knows you?

4. Financial Capital - Who knows that you know what you know?

How to Write the Perfect Resignation Letter

How to Write the Perfect Resignation Letter


• Resignation letters should ideally only be a page in length.

• Submit a printed hardcopy of your resignation letter instead of emailing it. Besides being more professional, it gives you and your soon-to-be ex-company physical evidence in case of any possible disputes that might arise.

• Do not include any derogatory or negative comments in the resignation letter. Even if you’re dying to tell your boss what a self-righteous prick he or she is, explicitly writing it in the resignation letter will not only make you look unprofessional, it might even land you into legal trouble.

• The resignation letter should include a brief explanation of why you are leaving the company. However, keep in mind the previous guideline, especially if the main reason why you’re quitting is because your boss is a self-righteous prick.

• It is good etiquette in the letter to thank your employer and boss for the opportunities that you’ve been given in the company.

• Do take note that most companies require you to serve notice ranging from a few weeks to even two months. This is important in the event that you already have a new job offer lined up. Communicate with your new employers the amount of notice you need to give and include the exact date of when you are resigning from your current company in your resignation letter. Remember to fulfil your mandatory notice period and ensure that it does not clash with the start date of your next job.

• If you would like a testimonial from your boss, it is best to ask from it in person rather than requesting for it in the resignation letter. However, keep in mind that your boss is not obligated to give you one, so don’t hound him or her.

Tuesday, March 27, 2012

Top 7 Web Design Mistakes Small Businesses Make

http://www.forbes.com/sites/ilyapozin/2012/03/27/top-7-web-design-mistakes-small-businesses-make/

1. Putting urgency over understanding your target market.
2. Design is too busy or flashy.
3. No clear call to action.
4. Paying too little or too much.
5. Stale, out-of-date content.
6. Trying to target everyone.
7. Taking the DIY route.

Monday, March 26, 2012

Are You a Corporate Zombie? 5 tips to maintain work-life balance

http://sg.finance.yahoo.com/news/corporate-zombie-5-tips-maintain-life-balance-012209060.html

5 tips to maintain work-life balance

1: Understand your value and your priorities in life
2: Manage stress positively
3: Keep moving, stay healthy and avoid substance abuse
4: Shoot the moon with your friends
5: Plan your finances

Monday, March 5, 2012

Tuesday, February 7, 2012

10 Foods for Fabulous Abs

http://sg.news.yahoo.com/10-foods-for-fabulous-abs.html?page=10

1. Yogurt is magic for the tum. Nutritionist Rania Batayneh recommends yogurt, “The probiotic bacteria in most yogurts help keep your digestive systemhealthy, which translates into a lower incidence of gas, bloating, and constipation, which can keep your tummy looking flat." Ideally go for the plain-flavoured yogurts, that don’t contain added sugars.

2. Switch to whole grain. The body shows a decreased insulin response to whole grain as compared to refined carbohydrate like rice and white bread. So replace those meals of white rice and milk bread with whole grains like lentils, brown rice, and whole wheat bread for a trimmer waistline.

3. Stock up on cruciferous veggies like broccoli, brussels sprouts, asparagus, peppers, and yellow beans. They contain folate, beta-carotene, calcium, magnesium, and fiber, and are rich in vitamins A, C, and K.

4. Olive Oil: Mono-unsaturated fats like those found in olive oil, work to reduce belly fat and don’t increase calorie intake.

5. Apple cider vinegar: New research indicates that 2 tablespoons of apple cider vinegar (ideally mixed with a glass of water), consumed daily over a period of 12 weeks, works to lower body weight and reduce belly fat. This is attributed to vinegar's acetic acid, which is believed to pump out proteins that break down fat.

6. Green tea contains certain chemicals called polyphenols and catechins that boost metabolism and help burn fat. Including 2-3 cups of green tea in your diet will help reduce that waistline, as well as provide a host of other health benefits.

7. Apples are one of the most popular negative calorie foods. This means that an apple burns more calories that it adds to the body, while being digested, making for a great, tasty snack that does nothing to add to body fat.

8. Eggs are a great source of protein and contain essential amino acids that the body needs to build everything from muscle fibres to brain chemicals. It is the perfect breakfast food, and ensures you feel less hungry during the day and reduces that urge to snack.

9. Almonds provide the body with minerals like magnesium, and regulate blood sugar levels. A stable blood sugar level is key to prevent cravings that can lead to overeating.

10. Salmon, tuna and mackerel, in addition to being a great source of omega-3 fatty acids, also improve metabolism and help burn fat faster by improving the body’s glucose-insulin response.

Sunday, February 5, 2012

Don’t waste your time living someone else’s life

Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.