Posted by admin on Jul 10, 2007 in
Whatever
About a month ago, it was announced that Tiki Bar TV’s Lala (yeah, the hot girl) is going to be hosting a brand new show on canadian national tv, CBC. The show is called Exposure and will star short films, movies, animations. It is scheduled to start on Sunday July 29th. Suddenly, CBC becomes more appealing to me
Posted by admin on Jul 7, 2007 in
Apple & Mac OS X,
Techno,
Whatever
I thought I’d share some of my favorite UNIX commands (no, not the stuff for beginners), stuff I use almost everyday on OS X. Some of these commands are in POSIX, but a lot are Darwin / OS X specific (they are the other reason why I think OS X is cool, besides what Steve’s reality distortion field says).
Display ARP cache (useful to get MAC addresses of devices):
arp -a
Flush local DNS resolver cache:
lookupd -flushcache
Browse the LAN for multicast DNS (aka. Bonjour / RendezVous):
mDNS -B _daap._tcp local.
Useful alias to scan 802.11 networks with Apple Airport:
alias ap=”/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport”
Update locate database:
sudo /usr/libexec/locate.updatedb
Quick grep to search through all files under a directory hierachy:
grep -ri “super regexp” ~/Documents/ (for instance)
Spotlight live metadata find:
mdfind -live [PATTERN]
built-in image manipulation tool based on Quartz (replaces ImageMagick when you don’t have it):
sips RTFManpage
ping broadcast address is always useful to find IPs and MACs of devices on the subnet:
ping 192.168.1.255 (for instance)
Dynamically resize partitions (great to prepare Macintel for triple boot):
diskutil resizeVolume RTFManpage
Darwin substitute for sed, powerful text manipulation, format conversion etc… (handles RTF, HTML etc…):
textutil RTFManpage
Darwin’s super intelligent launch command
:
open [somefile]
Trigger interactive screen capture:
screencapture -i
Launch Apple software update:
softwareupdate -l
Interactively manage your OS X Keychain:
security -i
Use OS X text-to-speech:
say -v “Bad News” “Mac OS X Leopard is gonna come out only in October of two thousand seven!”
read magic bytes of any file:
file [somefile]
This is a work in progress. I’ll probably add more stuff in the next few days / weeks.
Posted by admin on Jul 5, 2007 in
Whatever
Je m’en suis rendu compte il n’y a qu’une semaine, mais Radio-Canada a lancé le 7 juin dernier son nouveau site Web de diffusion de contenus multimédias (audio/vidéo). Ce nouveau service vise a remplacer ZapMédia, un système vieillissant). Après un brin de rétro-ingénierie (ah! comment se passer de Firebug et Venkman) j’ai découvert qu’ils utilisent toujours Microsoft Windows Media comme codec, mais qu’ils forcent explicitement le recours à Quicktime sur Mac OS X lorsqu’il détecte Flip4Mac, ce qui explique pourquoi ça fonctionne mieux qu’auparavant… J’aurais toutefois souhaiter un passage à MPEG-4 H.264 …
Radio-Canada l’appelle Audio-Vidéo (qui se targue de l’appellation “beta”, pour aller avec la tendance…).
L’interface est vraiment pas mal dutout: combinaison judicieuse de Flash et pas mal de Javascript pour négocier proprement avec la grande majorité des navigateurs. Bravo ! J’aurais d’autant plus apprécié le service lorsque j’étais au MIT au cours des deux dernières sessions… Heureusement qu’il y avait Bazzo.tv et Christiane Charette en podcast pour me tenir au courant de l’actualité québécoise.