2013年12月24日 星期二

The Opposite of Procrastination

The opposition of procrastination might not be concentration but confidence.

When people lack of self confidence to overcome some tasks, they start to procrastinate, in order to escape from the obstacles. Lacking of confidence hinders oneself to take the challenge and would rather choose another way out. They may be under pressure for doing certain tasks. And thus, they are tempted to work on other less important tasks, which they might not have any motives to work at the other time. They choose a lesser evil in order to alleviate the internal stress produced, which a possible reason can be from self-doubting whether the challenge can be overcome or not.

Some would suggest environmental settings like moving to more quiet place and minimizing distractions help to avoid procrastination. However, the main reason for lacking concentration may be due to something more internal rather than the external factors. If this is your case, you might consider taking a look at the following advice. 

While environment might help, start reassure your motive and enthusiasm. Encourage yourself, break down the work and give yourself minor goals to achieve. Give yourself a little rests. Then try to keep yourself concentrated by all means. Forced work will never be better than the work with your self motivation. But a little enforcement may be needed to kick start your internal engine. Once you have broken through that tiny little entrance you will be able to dive and move on more naturally. Just a few more centimeters to go and things can be done much more easier with your prepared psychological manner.

This is a battle within you. So be strong mentally and do not lose any confidence and make any more excuses. Start your work, and know that getting start will never be too late than fearing to start any.



Christmas Eve 2013 - written on bus when going home
Whimsy Dreamer

2013年12月18日 星期三

[CSS] How to fix Margin Auto when Floating-Left Elements are involved

http://stackoverflow.com/questions/18329137/how-to-fix-margin-auto-when-floating-left-elements-are-involved

http://jsfiddle.net/kBqCJ/

<code>

<div class="page">
    <div class="container">
        <div class="box"></div>
        <div class="box"></div>
        <div class="box"></div>
    </div>
</div>


<style>
.page {
  width: 100%;
}

.container {
  width: 100%;
  display: block;
  margin: 0 auto;
    text-align: center;
}

.box {
  display: inline-block;
  width: 200px;
    height: 200px;
    background: grey;
}

</style>

</code>

[Google Chrome] Chrome Keyboard Shortcuts

http://www.keyxl.com/aaa3447/416/Google-Chrome-keyboard-shortcuts.htm

[IP Info] Find Info by IP Address

http://ip-lookup.net/

2013年12月16日 星期一

[Web Design] An Interesting Website

http://www.pickledwalnutcatering.co.uk

[CakePHP] Deployment Project onto Linux - The requested URL was not found on this server.

Env. 
- Ubuntu 10.X
- CakePHP 2.0



CakePHP project name : IAmCakeProj

Steps:

> cd IAmCakeProj
> sudo chown -R www-data app/tmp
> cd /etc/apache2/sites-available
>sudo vim default

        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

> :wq
> sudo etc/init.d/apache2 restart

> cd /etc/apache2
> sudo a2enmod rewrite
> sudo service apache2 restart

Then Test  if the problem is solved ~


[Linux] Check Service Port

sudo vim /etc/services

[Linux] Check DNS *Domain Tree*

dig +trace wditshare.blogspot.com

dig +trace wdshare.blogspot.hk



How to interpret:
Refer to: http://linux.vbird.org/linux_server/0350dns.php

[DNS] What is the Mechanism behind DNS ? / How does DNS work? ( in Traditional Chinese )

http://linux.vbird.org/linux_server/0350dns.php

2013年12月4日 星期三

[CakePHP] Access Control List (Acl)

Worth-to-read Webpage

http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html

[HTML5 + CSS3] Lovely Marine Responsive Web Layout Idea

http://blogbysid.wordpress.com/2013/04/29/login-with-google-in-cakephp/

[Google API] Google Calendar - Wrong Code samples!

http://stackoverflow.com/questions/13152587/creating-google-calendar-event

[Google API] Google Calendar - Find Event ID

The Calendar ID can be found by clicking on "Calendar settings" next to the calendar you wish to display. The Calendar ID is then shown beside "Calendar Address".

https://drupal.org/node/589310

[Google API] Google Calendar - Insert Event Demo

Try it

https://developers.google.com/google-apps/calendar/v3/reference/events/insert#try-it



Other Demos
https://developers.google.com/apis-explorer/#s/calendar/v3/

[Google API] Google DateTime Formatting

DateTime Formatting with Different Languages

https://developers.google.com/gmail/actions/reference/datetime-formatting

電視美食

由這裡
http://function1122.blogspot.tw/

http://www.finebind-tech.com/
這裡
https://www.facebook.com/finebind.tv


回復天然的模樣

曾經面對過皮膚幽谷的日子。總之就是壞,以及惡性循環。發炎與含膿。就此過渡了令人憧憬的青蔥歲月。 歲月摧人,學習愛護自己。 每天出門都搽防曬。好好睡覺。不喝冷飲。少吃辛辣。 發現原來皮脂管絲是正常的皮膚狀況,不用理會。 漸漸的,發炎與紅腫的地方收歛了、縮小了、變平了。 因為少了油脂...