Give a damn, dammit.
So, I wanted to learn a little bit about HTML5 and how the canvas element worked. I ended up making googly eyes! Check them out. They are all the rage. So far, there is already one page on the internet using them. Tomorrow, there may still be one…but they will still be all of the rage. If you want to help make them better, I posted the code here:
http://github.com/hitsvilleusa/googlies
They likely won’t work in Windows, because, well … my goal was to learn to draw on the canvas, not make googly eyes.
What do you think?
I am happy to clean up the code if people will actually use them on their web pages.
I have been trying to figure out how to get at the metadata for a PDF file from the command line. I just want the basic information that is present when you run “Get Info” on the file. It seems to be accessible via applescript and automater, but that wasn’t what I wanted. Alas, our friend mdls to the rescue:
@Desktop $ mdls ViewControllerPGforiPhoneOS.pdf
kMDItemAuthors = (
"Apple Inc."
)
kMDItemContentCreationDate = 2010-08-13 17:10:55 -0700
kMDItemContentModificationDate = 2010-08-13 17:10:55 -0700
kMDItemContentType = "com.adobe.pdf"
kMDItemContentTypeTree = (
"com.adobe.pdf",
"public.data",
"public.item",
"public.composite-content",
"public.content"
)
kMDItemCreator = "Unknown"
kMDItemDisplayName = "ViewControllerPGforiPhoneOS.pdf"
kMDItemEncodingApplications = (
"XEP 4.9 build 20070115"
)
...
Along the way, I was reminded about some ls and xattr fun. Use ‘ls -l@’ to see the extended attributes. If you want info on the attributes, use ‘xattr’
@Desktop $ ls -l@ total 17304 -rw-r--r--@ 1 chris staff 8856417 Aug 13 17:10 ViewControllerPGforiPhoneOS.pdf com.apple.metadata:kMDItemWhereFroms 165 @Desktop $ xattr -l ViewControllerPGforiPhoneOS.pdf com.apple.metadata:kMDItemWhereFroms: 00000000 62 70 6C 69 73 74 30 30 A1 01 5F 10 76 68 74 74 |bplist00.._.vhtt| 00000010 70 3A 2F 2F 64 65 76 65 6C 6F 70 65 72 2E 61 70 |p://developer.ap| 00000020 70 6C 65 2E 63 6F 6D 2F 69 70 68 6F 6E 65 2F 6C |ple.com/iphone/l| 00000030 69 62 72 61 72 79 2F 66 65 61 74 75 72 65 64 61 |ibrary/featureda| 00000040 72 74 69 63 6C 65 73 2F 56 69 65 77 43 6F 6E 74 |rticles/ViewCont| 00000050 72 6F 6C 6C 65 72 50 47 66 6F 72 69 50 68 6F 6E |rollerPGforiPhon| 00000060 65 4F 53 2F 56 69 65 77 43 6F 6E 74 72 6F 6C 6C |eOS/ViewControll| 00000070 65 72 50 47 66 6F 72 69 50 68 6F 6E 65 4F 53 2E |erPGforiPhoneOS.| 00000080 70 64 66 08 0A 00 00 00 00 00 00 01 01 00 00 00 |pdf.............| 00000090 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 |................| 000000A0 00 00 00 00 83 |.....| 000000a5
If anyone knows of a great opportunity for which you think I may be a good match, I would love to know. I am not looking for just a job, but for a great fit. I am not sure exactly what this looks like, but I know it will present some combination of the following:
- a consistent challenge
- a top notch team
- an opportunity to mentor
- an opportunity to be mentored
- a focus on sound design
- a team that appreciates the details
- a product or service that I can believe in
I love what I do, and I care about every line of code that I write—not only in what it does, but how it looks.
Spose - I’m Awesome (via SposeVEVO)
Awesome!
COTM - Dad Life (via Slickus26)
Way too funny!