no additives or preservatives

kacked.com



Shell Games

Bought a book on the z-shell: "From Bash To Z Shell". Been reading through it. So far it looks like it's a pretty good book.

Been using the z-shell for quite a while now and learning kind of as I go. All the docs I can find online take the approach of assuming that you're proficient in bash --which is only partly true. They assume you're switching to zsh from bash. Not really true in my case. I'm kind of a bash lamer, and I figured if I'm going to be using zsh why bother learning bash?

But anyway, I wrote another bash script tonight. Pretty happy with this one. I've started looking at whatever I do on the computer that is repetitive and trying to think of a way to script it. That's what computers are good at eh? Doing the boring part.

Sometimes I'll convert videos I find on the net to kvcd format, so my roommate's can watch them on the tv using the dvd player. Each time I do it though I've been needing to write a custom command line to run encode2mpeg. Tonight I wrote a wrapper script for it that determines the framerate of the file and then encodes it to kvcd. Now I can just throw a bunch of videos in the same folder, run the script, and in the morning they're all converted to kvcd format.



Nullam elementum neque a ante. Vestibulum sed urna hendrerit nibh egestas adipiscing. Ut gravida. Vivamus ut dolor. Mauris molestie elementum magna. Maecenas scelerisque feugiat erat. Sed nec risus. Phasellus eu nunc. Curabitur purus. Ut nonummy. Etiam sit amet mi quis felis suscipit tempus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque tincidunt ullamcorper massa. Duis elit.

Phasellus viverra dolor. Sed nulla dui, pharetra ut, faucibus ut, tempor sit amet, elit. Sed ut dui. Nunc quam nisl, sodales ut, molestie sit amet, tristique sit amet, pede. Donec ornare massa nec ligula. Morbi eget nunc in lectus vestibulum porttitor. Integer nec mauris mattis nibh elementum facilisis. Praesent wisi. Nullam eros sem, fringilla nec, venenatis non, ultrices nec, turpis. Curabitur et erat id mi auctor pulvinar. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus tempus, orci congue tincidunt ornare, felis libero tempor lectus, et lobortis eros lacus vitae lacus. Etiam tempus nunc quis wisi. Duis elementum blandit mauris. Etiam malesuada lorem et sem.

Nullam elementum neque a ante. Vestibulum sed urna hendrerit nibh egestas adipiscing. Ut gravida. Vivamus ut dolor. Mauris molestie elementum magna. Maecenas scelerisque feugiat erat. Sed nec risus. Phasellus eu nunc. Curabitur purus. Ut nonummy. Etiam sit amet mi quis felis suscipit tempus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque tincidunt ullamcorper massa. Duis elit.

Phasellus viverra dolor. Sed nulla dui, pharetra ut, faucibus ut, tempor sit amet, elit. Sed ut dui. Nunc quam nisl, sodales ut, molestie sit amet, tristique sit amet, pede. Donec ornare massa nec ligula. Morbi eget nunc in lectus vestibulum porttitor. Integer nec mauris mattis nibh elementum facilisis. Praesent wisi. Nullam eros sem, fringilla nec, venenatis non, ultrices nec, turpis. Curabitur et erat id mi auctor pulvinar. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus tempus, orci congue tincidunt ornare, felis libero tempor lectus, et lobortis eros lacus vitae lacus. Etiam tempus nunc quis wisi. Duis elementum blandit mauris. Etiam malesuada lorem et sem.