Sunday, 20 August 2017

Moving cursor on iPad

  • when you are editing the text, touch the screen with two fingers and wait for a bit when the screen is changed and start moving, the cursor will move according to your fingers
  • if you hold for a longer time, it will change to the selecting mode and you can select the text by moving your fingers

Monday, 6 June 2016

Excel - reset the last cell on a worksheet

  • To select all columns to the right of the last column that contains data, click the first column heading, press <ctrl><shift><right>
  • To select all rows below the last row that contains data, click the first row heading, press <ctrl><shift><down>
  • On the Home tab, in the Editing group, click the arrow next to the Clear button, and then click Clear All
  • Click the Microsoft Office Button , and then click Save
  • Click the Microsoft Office Button , and then click Close
  • When you open the workbook again, the last cell of the data should be the last cell on the worksheet

Sunday, 5 June 2016

多種事 多種説

急事,慢慢的説
大事,清楚的説
小事,幽默的説
沒把握事,謹慎的説
沒發生事,不要胡説
做不到事,別亂説
傷害人的事,不能説

討厭的事,對事不對人説
開心的事,看場合説
傷心的事,不要見人就説
別人的事,小心的説
自己的事,聽聽自己的心怎麼説
現在的事,做了再説
未來的事,未來再説





Friday, 6 May 2016

Macbook Air Enable closed-display mode

  • connect to an external monitor and using the AC power adapter or 
  • having an external mouse or keyboard attached...

more info

Friday, 1 April 2016

Print to Google Cloud Printer on Mac

Assume the Google Cloud Printers have been setup...

Download Cloud Printer for Mac from here:
http://www.macupdate.com/app/mac/40510/cloud-printer

Add the Print Plugin
https://www.youtube.com/watch?v=FuPQGD5z9IE



Monday, 28 March 2016

Export Word Doc to PDF with Word for iPad

In the Word document:
  • Click the Share (right) icon (the one with a person and a + sign)
  • Select "Send Attachment"
  • Select "PDF"
  • Select "Send a Copy"
  • Here I found a few useful options, send to Google Drive (may need to click "More" to enable it), Gmail and "Save to Dropobox", etc.

Friday, 18 March 2016

iPad connects to weak WiFi network

I found one very interesting fact... my work place has a very weak public WiFi.  My iPad normally doesn't able to see and connect to it.  But once I connect a Bluetooth device (either my MacBook Air or even just a bluetooth keyboard), I am able to connect to this WiFi network.

Thursday, 25 February 2016

Uninstall / Remove FxFactory Product

  • Start FxFactory (5.0.9)
  • Actions >> Show Products in Finder
  • It will show two windows
    • Users>'user name'>Library>Application Support>FxFactory
    • Library>Application Support>FxFactory
  • Move the product to the Trash (type in your password)
    • Normally, it will have more than one files
  • It will disappear right away in the Installed tab

Thursday, 18 February 2016

How to Use Exposure Compensation to Take Control of Your Exposure

http://digital-photography-school.com/how-to-use-exposure-compensation-to-take-control-of-your-exposure/

  • Aperture Priority Mode – In Aperture Priority mode, exposure compensation changes the shutter speed. Remember that in this mode, you set the aperture and the camera sets a corresponding shutter speed. If you change the Aperture, your camera just sets another corresponding shutter speed, and there is no change in the exposure level. Exposure compensation gives you the ability to change the shutter speed (and the overall exposure value) while staying at the same aperture you originally set.
  • Shutter Priority – In Shutter Priority mode, exposure compensation changes the size of your aperture. It is basically the reverse of Aperture Priority mode. You set a shutter speed, and the camera sets a corresponding aperture. Exposure compensation therefore changes the exposure by allowing you to change that aperture size.

Wednesday, 17 February 2016

Thursday, 11 February 2016

Intro to Unreal Engine for VR

https://channel9.msdn.com/blogs/misslivirose/Intro-to-Unreal-Engine-for-VR


Monday, 18 May 2015

Excel on Mac/Windows - linebreak in cell

On Mac - control-option-return
 
On Windows - alt-return (or alt-enter)

Saturday, 2 May 2015

Setup HP ProLiant ML310e Gen8 v2 Server - Install OS (Windows Server) with Intelligent Provisioning

I have the Windows 2012 R2 installation on USB drive.  I have installed a single 320GB HD.  I boot up the server but cannot from the USB to install the OS, some driver(s) will not be available.
  • Start the server
  • Press <F10> to Start Intelligent Provisioning (when the options are shown)
  • Click on "Configure and Install"
  • Step 1 Hardware Settings, Continue (use default)
  • Step 2 OS Selection (select the OS, Install Method and Source Media), Continue
    • the Source Media options
      • Disc
      • Network Share
      • FTP
      • USB
  •  Locate OS installation File, Continue
    • For USB, open usb-sdb1
  • OS Info
    • Enter Admin Password (optional)
  • Continue to start the installation
    • Update firmware
    • Copy OS files
  • Reboot
  • OS Installation
  • Restart a few times




Thursday, 23 April 2015

Lightroom Presets

Installing new presets

  • Start Lightroom
  • Open up the presets on the left (in Develop mode)
  • All the adobe presets start with "Lightroom ..."
  • Create new folder for the new presets (optional), otherwise, lightroom will put new presets in "User Presets" folder.  This is your way to group the presets.
  • Right click on the folder and select "Import"
  • Go to the location of your downloaded presets and import them (remember to unzip the zip file to get the preset files .lrtemplate)
  • You can move the preset from one folder to the other
  • Right click on the imported preset and select "Show in Finder"
  • You can import the new presets, create new folder from here (need to restart Lightroom to see the result)
  • You cannot create sub-folders and if you create sub-folder manually in the finder, the sub-folder will appear as a folder in lightroom

Free Presets

  • http://seimeffects.com/2011/11/04/silver-shadows-2-free-lightroom-presets/
  • http://www.presetsheaven.com/presets/28-free-lightroom-presets-from-chris/
  • http://www.deliciouspresets.com/shop/lightroom-presets/free/

Tuesday, 21 April 2015

Tips for using Oracle (for beginner)

Useful SQL statements

get all the tables

SELECT * FROM TAB ORDER BY TNAME

get all the columns 

select * from col where tname = '<table name>' ORDER BY colno

Return Top n records (Select Top 1 * in MS SQL)

SELECT column_name(s)
FROM table_name
WHERE ROWNUM <= number;

Concatenation Operator 

  • ||

IF THEN ELSE ELSIF END IF example

     IF (...) THEN
          ...;
     ELSIF (...) THEN
          ...;
     ELSE
          ...;
     END IF;

GetDate() (in MS SQL)

  •     sysdate

Table DUAL

A dummy table with a single record used for selecting when you're not actually interested in the data, but instead want the results of some system function in a select statement:

  •     select sysdate from dual;

Sequence

Open
to see the defination (Last number too)
Get next value
<sequence_name>.NEXTVAL;

INSERT INTO <table>
(<col1>, <col2>)
VALUES
(<seq_name>.NEXTVAL, 'xxx');

you can't use CURRVAL until you have used NEXTVAL at least once in your session.

Data Types

No boolean data type
varchar2 (2K, Oracle8 4K)
number(5,2) - 999.99

Terminology


TerminologyOracleSQL Server

schemadatabase

service namedatabase name

System ID (SID)database name
Storage blockpage
Extentuser-definedfixed at 8 pages
Storage management pages (SMP)dictionary or locallocal only
Metadatadata dictionarySYS database
Recursive SQLconnect by clauseHierarchyID data type
LanguagePL/SQLT-SQL

For Loop and with / as a Cursor

FOR i IN 1..10
LOOP
...
END LOOP;

--------------------------------
FOR iRec IN (SELECT * FROM <table> WHERE <field> = <value>)LOOP
...
END LOOP;

--------------------------------
CURSOR <cursor name> IS
    <sql statement>

BEGIN
    FOR <item> IN <cursor name>
        LOOP
            ...
        END LOOP;
END;

--------------------------------
can pass a parameter:

CURSOR <cursor name> (<parameter> VARCHAR2) IS
    <sql statement>
BEGIN
    FOR <item> IN <cursor name>(<parameter>)
        LOOP
            ...
        END LOOP;
END;

 

Wednesday, 21 January 2015

Challenges of Life

"Great faith is a product of great fights. Great testimonies are the outcome of great tests. Great triumphs can only come out of great trials" - Smith Wigglesworth.

Sunday, 18 January 2015

iPad Air Lightning to HTMI adaptor

If you have problem with the Apple Lightning To Hdmi Cable, try to plug it in the other way.  I found that I need to plug it upside down.


l1000.jpg

Monday, 8 December 2014

Photography - Close up

Don't cut off body parts except at the mid chest, waist or mid thigh region.

http://www.izzyvideo.com/close-up-shot/

  • medium close up (MCU) - cut at waist, show hands movement, with head room above the head
  • close up (CU) - at the chest, with head room
  • head and shoulder close up
  • head close up (big head close up)
  • choker close up - the face only
  • extreme close up - the mouth only

Sunny 16 rule

If it's a sunny day, set aperture to f/16 and shutter speed closest to the reciprocal of yout ISO.

  • ISO 50, 1/60 sec
  • ISO 100, 1/125 sec
  • ISO 200, 1/250 sec, etc.


Use f/16 for sunny settings, but go down for less bright conditions:

  • f/11 for cloudy daylight
  • f/8 for overcast
  • f/5.6 for outdoor shade
  • f/4 for dark shade


Thursday, 4 December 2014

Dos and Don’ts for Shooting the Moon