Malicious enjoyment derived from observing someone else’s misfortune
 

Tag Archives: typo

New myFlog enhancement

I added some more functionality to flog. Now you can specify a ping_url. This lets the blogger do a simple get of a url when a post is done. I did this to get RubyCorner to update when I posted because Typo doesn’t seem to be doing it. :( Here’s my original post (you can get myFlog there.)

Changing up the Flogging

So, I’m experimenting with using Flog to post to Typo, but I didn’t like typing or storing my password in plaintext, and I also didn’t like setting vim’s textwidth by hand. So, I changed it up a little bit. Note that the option I added to the command is quick and dirty at the moment, and only works for vim. You can get the source like so: svn co http://modzer0.cs.uaf.edu/repos/hank/code/ruby/myflog I found a story about Ruby today: “I despise that [...]

Flog is my new Typo Interface

Well, I think I found a way to do Typo posting straight from vim. Using a small Ruby program called Flog, I can avoid using the built-in Typo thing, and just do it all at home in the terminal, where I should be. :) I hope Smilies work. Now I’m gonna try some code: #Try Try Try! (["Try"]*3).join" " Wow, self! You are Really good at Ruby. ;)

Another new blog name

Well, I got rid of Relentless Pineapple and went for something a little more code related. So I came up with this: "Score"*4 && 7.years.ago Liberty.conceive(Nation.new) if Man.create == Man.create The awesome part is you could actually run this in Ruby! :O irb(main):001:0> require ‘active_support’ => true irb(main):002:0> "Score"*4 && 7.years.ago => Thu Aug 26 21:12:10 AKDT 1999 Yes, I know the date isn’t right, but it’s the thought that counts :D. It references this great statement: “Fourscore and seven [...]

Typo is broken, but I fixed Firefox

So, I upgraded Typo a few days ago, and just noticed today that all my links are broken because my relative_url_root is busted. I wonder what caused that. Anyway, on a better note, I fixed Firefox to open all new windows in new tabs instead. So much better. Here’s the fix: browser.link.open newwindow.restriction = 0 browser.link.open newwindow = 3 Now, all the calls even from javascript will divert into the newwindow setting, which opens new tabs for everything. YAY! This [...]

Smilies for Typo

Horray! I got my new textfilter to work! Now I can do smilies in Typo! :) I implemented the Frown: :(, the Oh Face! :O, a smaller Oh Face :o, a tongue face :P, a wavy face :S, a grin :D, a straight face :|, and a winky face ;).

First Post, What to say

Well, I finally got this damn blog working thanks to bish0p. Turns out that you have to change the shebang line from #!/usr/bin/env ruby to #!/usr/local/bin/ruby Ahh typo is nice. Other crap I learned today: Problems with typo themes generating application errors can be solved by changing this line in layouts/default.rhtml <%= render_component(:controller => ‘sidebars/sidebar’, :action => ‘display_plugins’) %> To this: <%= render_sidebar %> Thanks to This dude. I generated a new GPG keypair today (Public Key). Get it like [...]