Verbose Logging

software development with some really amazing hair

13 Jan 10

08:00 AM MDT

Posted in Programming

sinatra-bundles: Easy asset bundling for sinatra

sinatra-bundles is an easy way to bundle CSS and Javascript assets in your sinatra application. Yes! It has tests! They are on runcoderun Usage sinatra-bundles combines Javascript and CSS into one file. Meaning, you can bundle 2 or more Javascript files into one, similar with CSS stylesheets. Any bundled files are expected to be in the public directory, under ‘javascripts’ and ‘stylesheets’ Assuming you have the following files in public: ./st...


Read the full article

Comments

31 Dec 09

04:46 PM MDT

Posted in Meta

Tweet link rollover

I don’t like visiting sites for something really simple. Reading a single tweet is one of them. If I link to a tweet, you shouldn’t have to go to Twitter to view it. It’s just 140 characters. So what did I do? I added some codes to my blog to pull those tweets in. If I link to a tweet, I can go off to Twitter, pull in the tweet and set the ‘title’ attribute on the anchor tag so when you hover over the link, it shows the tweet text. Yay! From t...


Read the full article

Comments

14 Dec 09

10:50 PM MDT

Posted in Meta

FeedBurner is awesome, Github is breaking, and this is a test

FeedBurner has a new feature out, since Google announced their URL shortener. I originally had logic to shorten the permalinks with tr.im, then post to Twitter, but since FeedBurner can do this now, I’m not going to do it. I like to outsource that kind of stuff, which I’ll talk about in a later post. Also in the news today, Github is having some problems, but they’ll be back soon, so don’t you worry. All in all, this is more of a test to see h...


Read the full article

Comments

12 Oct 09

08:00 AM MDT

Posted in Editorial

Why the Github's really are better than the cvsdude's

There are a lot of hosted source control providers out there. Github, bitbucket, cvsdude, ProjectLocker, Codaset, SourceForge, Codeplex, Google Code, Beanstalk, and I could probably keep going until all 5 of you stopped reading my blog. Personally, I’m a Github kind of guy. From the looks of things, I would also enjoy Codaset or bitbucket. We use cvsdude at CodeBaby, and while it gets the job done, it’s not something I’d use otherwise. First, ...


Read the full article

Comments

11 Jul 09

08:00 AM MDT

Posted in Programming

apt-runner: Just install it for me, please!

Picture this: You are reading some tutorial or whatever, and you need to install some things. So you run ‘aptitude install prog1 prog2’. Then you realize you need prog3 and 4 too, so you CTRL+C that, and run ‘aptitude install prog1 prog2 prog3 prog4’. Then you see you need something else. Rinse and repeat. This is really annoying. The worst part is you can’t run multiple aptitude instances, because they’ll whine about file locks or something. ...


Read the full article

Comments