Monthly Archives: October 2015

Bash shell script to add time stamp on webcam images

Here is the script I came up with. Notice I tried to use cut to get the substring but it didn’t work since it’s too slow and I got empty value. #!/bin/bash #loop thru the images yesterday=`TZ=EST+24 date +%Y%m%d` count=0 … Continue reading

Posted in Uncategorized | Leave a comment

How to install ImageMagick on mac?

Do not install it from source since it will not show jpeg delegate. Instead, if you have homebrew, use it: brew remove jpeg brew remove imagemagick brew install jpeg brew install imagemagick brew install ghostscript You may need to change … Continue reading

Posted in Uncategorized | Leave a comment

configure: error: C compiler cannot create executables

If you want to test your configuration readiness for ImageMagick on your Mac and got this error. You can try this: You can compile a small C example with the -m32 flag (the flag is probably not necessary but it’s … Continue reading

Posted in Uncategorized | Leave a comment

How to use launchd on Mac

I tried to use crontab on Mac but it didn’t work so I learned how to use launchd. Here is how: 1. Create a plist file under your ~/Library/LaunchAgents folder and make sure it named something like “test1.plish”. 2. sudo … Continue reading

Posted in Uncategorized | Leave a comment

How to download files from my nas to my mac

I use this command: scp j5423@10.0.1.116:”/mnt/HD_a2/dcs932L/20151014.tar” . To compile my images into a movie, I use: tlassemble ./`TZ=EST+24 date +%Y%m%d` `TZ=EST+24 date +%Y%m%d`.mov

Posted in Uncategorized | Leave a comment

Install ffp on your DNS 321

The first time I tried to install it on my DNS 325 it failed because my mac automatically renamed the downloaded fun-plug file to fun-plug.txt. This time when I tried it on my DNS 321 it succeeded. Down the files … Continue reading

Posted in Uncategorized | 1 Comment

Mac – how to exit full screen mode?

I always have problems exiting full screen mode on my mac. Today I found this solution: press CMD, CTRL & F simultaneously

Posted in Uncategorized | Leave a comment