Archive for the ‘Mac’ Category

How to combine multiple videos


Vlc has a command line interface that enables all sorts of video editing actions. One of those is to stitch together multiple videos. This is how it works on a mac:

/Applications/ -I ncurses 1.ts 2.ts 3.ts --sout "#gather:std{access=file,dst=full.mp4}" --sout-keep

Switching to Mac


I’ve recently switched from windows and linux to mac. Pretty much everything is different. Here are the shortcuts I can’t live without:

On Windows, I used to… On my Mac…
Home Cmd+Left
End Cmd+Right
Delete fn+Backspace
Ctrl+Left Alt+Left
Ctrl+Right Alt+Right
Cut Ctrl+X Cmd+X
Copy Ctrl+C Cmd+C
Paste Ctrl+V Cmd+V
PrintScreen Cmd+Shift+3: print full screen to file on desktop
Cmd+Shift+4: print selected region to file on desktop
Cmd+Shift+4 Space Click: print selected window, including shadow, to file on desktop
Cmd+Ctrl+Shift+3: print full screen to clipboard
Cmd+Ctrl+Shift+4: print selected region to clipboard
Cmd+Ctrl+Shift+4 Space Click: print selected window, including shadow, to clipboard
Cmd+Space grab Cmd+Shift+W Click Click Cmd+S: print selected window, without shadow, to file
pipe | Alt+Shift+L
tilde ~ Alt+N Space
Ctrl+Alt+Del Force quit unresponsive application Cmd+Alt+Esc Click
Cmd+Alt+Shift+Esc (hold for three seconds)
Ctrl+Shift+Esc Task Manager Cmd+Space Activity Monitor
F2 rename file Enter
Windows+Left install ShifIt and then Cmd+Alt+Ctrl+Left
Windows+Right install ShifIt and then Cmd+Alt+Ctrl+Right
Del to delete a file Cmd+Backspace
Windows+D to show desktop fn+F11
Insert to select a file in midnight commander Ctrl+T

See also Apple Support: Switching PC Habits.

Safari 3 Beta for Windows


Apple just released Safari 3 Beta for Windows.

It looks nice and even passes the acid 2 browser test

Acid2 Browser Test - Safari for Windows

This beta will probably be used as a web development tool more than as a default browser. Thats where the Safari Developer FAQ comes in handy and don’t forget to enable the debug menu! Add the following to %APPDATA%\Apple Computer\Safari\Preferences.plist.


This is a beta so some bugs were to be expected. Bookmarks don’t work at all on my machine and typing in text inputs crashes the browser. I couldn’t believe that last one at first so I created a testcase.

Update: An exploit has been found in the beta. Don’t use this for casual surfing!

Update 2: An updated version is released that fixes three security "issues".