Thursday, October 29, 2015

iMovie tool to edit multiple mov clips

iMovie tools helped me to edit the multiple screen recorded mov file using quicktime player. Later to collage and add audio to mov file easily.


1. Open iMovie
2. Create New Movie
3. Select Import Movie in the left pane or in the tool bar.
4. Select file you want to edit.
5. After import you should see the video on the clip imported to left pane. You cannot edit the video to right side now.
6. Goto left pane. Double click you should see [] Yellow color clip section. You drag what you want to add below pane for (that is not required now). So, just select full clip in the left pane, add click [+] you should see in the yellow selected end brace. 
7. Now all the selected clip will be added below.
8. You should see, to the right side pane also updated with clip you selected. (our case full).
9. To the right pane (new video we selected now), you should see the mic to left side on the video.
10. Click that mic, you should see the record button.

iOS Date and Time format details


Date Format Options are as follows:
Now you want all the string formats that can be used with NSDateFormatter. Here is that
a: AM/PM
A: 0~86399999 (Millisecond of Day)
c/cc: 1~7 (Day of Week)
ccc: Sun/Mon/Tue/Wed/Thu/Fri/Sat
cccc: Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday
d: 1~31 (0 padded Day of Month)
D: 1~366 (0 padded Day of Year)
e: 1~7 (0 padded Day of Week)
E~EEE: Sun/Mon/Tue/Wed/Thu/Fri/Sat
EEEE: Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday
F: 1~5 (0 padded Week of Month, first day of week = Monday)
g: Julian Day Number (number of days since 4713 BC January 1)
G~GGG: BC/AD (Era Designator Abbreviated)
GGGG: Before Christ/Anno Domini
h: 1~12 (0 padded Hour (12hr))
H: 0~23 (0 padded Hour (24hr))
k: 1~24 (0 padded Hour (24hr)
K: 0~11 (0 padded Hour (12hr))
L/LL: 1~12 (0 padded Month)
LLL: Jan/Feb/Mar/Apr/May/Jun/Jul/Aug/Sep/Oct/Nov/Dec
LLLL: January/February/March/April/May/June/July/August/September/October/November/December
m: 0~59 (0 padded Minute)
M/MM: 1~12 (0 padded Month)
MMM: Jan/Feb/Mar/Apr/May/Jun/Jul/Aug/Sep/Oct/Nov/Dec
MMMM: January/February/March/April/May/June/July/August/September/October/November/December
q/qq: 1~4 (0 padded Quarter)
qqq: Q1/Q2/Q3/Q4
qqqq: 1st quarter/2nd quarter/3rd quarter/4th quarter
Q/QQ: 1~4 (0 padded Quarter)
QQQ: Q1/Q2/Q3/Q4
QQQQ: 1st quarter/2nd quarter/3rd quarter/4th quarter
s: 0~59 (0 padded Second)
S: (rounded Sub-Second)
u: (0 padded Year)
v~vvv: (General GMT Timezone Abbreviation)
vvvv: (General GMT Timezone Name)
w: 1~53 (0 padded Week of Year, 1st day of week = Sunday, NB: 1st week of year starts from the last Sunday of last year)
W: 1~5 (0 padded Week of Month, 1st day of week = Sunday)
y/yyyy: (Full Year)
yy/yyy: (2 Digits Year)
Y/YYYY: (Full Year, starting from the Sunday of the 1st week of year)
YY/YYY: (2 Digits Year, starting from the Sunday of the 1st week of year)
z~zzz: (Specific GMT Timezone Abbreviation)
zzzz: (Specific GMT Timezone Name)

Z: +0000 (RFC 822 Timezone)

Saturday, August 16, 2014

CD got stuck not ejecting out from my MAC

I got the CD from the Library for my kid, and tried to play in my mac machine. Boom, it is not recognized by the mac and got stuck. Tried restarting the machine, nothing works. Finally, got into the Applications > Utility > Disk Utility. CD got ejected automatically.

Credit:
http://www.mactricksandtips.com/2009/01/ejecting-dvds-cds-from-your-mac.html

Wednesday, April 2, 2014

how to find unused images from Xcode


#!/bin/sh
PROJ=`find . -name '*.xib' -o -name '*.[mh]'`

for png in `find . -name '*.png'`
do
    name=`basename $png`
    if ! grep -q $name $PROJ; then
        echo "$png is not referenced"
    fi
done


Credit:
http://mfaizanshaikh.wordpress.com/2012/12/17/how-to-remove-unused-images-from-xcode-project/

Wednesday, October 16, 2013

SVN missing in Mac OS X 10.8

After upgrading to Mountain Lion am unable to launch my SVNX tool (used to access SVN source control). Then I figured out Subverion library are not coming with by default with OS upgrade. Fix is given below:
Credit: http://blog.grapii.com/2012/08/svn-missing-in-mac-os-x-10-8-mountain-lion/

Old iOS SDKs in Xcode 5

How to build your app with sdk6.1 in Xcode 5. Because when you want to debug the iOS7 device with XCode 4 is not possible.

Credit: http://blog.spacemanlabs.com/2013/09/how-to-support-old-ios-sdks-in-xcode-5