Skip to content

Instantly share code, notes, and snippets.

@pjaspers
Created December 2, 2009 13:09
Show Gist options
  • Save pjaspers/247185 to your computer and use it in GitHub Desktop.
Save pjaspers/247185 to your computer and use it in GitHub Desktop.
Bookmarklet to get a random post from one of Steve yegge's blogs
// javascript:var%20yegge_posts%20=%20new%20Array(%22http://steve-yegge.blogspot.com/2009/05/programmers-view-of-universe-part-3.html%22,%20%22http://steve-yegge.blogspot.com/2009/04/have-you-ever-legalized-marijuana.html%22,%20%22http://steve-yegge.blogspot.com/2009/03/story-time.html%22,%20%22http://steve-yegge.blogspot.com/2008/12/programmers-view-of-universe-part-2.html%22,%20%22http://steve-yegge.blogspot.com/2008/12/fable-ii-arguably-better-than-getting.html%22,%20%22http://steve-yegge.blogspot.com/2008/11/ejacs-javascript-interpreter-for-emacs.html%22,%20%22http://steve-yegge.blogspot.com/2008/10/programmers-view-of-universe-part-1.html%22,%20%22http://steve-yegge.blogspot.com/2008/10/universal-design-pattern.html%22,%20%22http://steve-yegge.blogspot.com/2008/09/bellic-school-of-management-training.html%22,%20%22http://steve-yegge.blogspot.com/2008/09/programmings-dirtiest-little-secret.html%22,%20%22http://steve-yegge.blogspot.com/2008/08/business-requirements-are-bullshit.html%22,%20%22http://steve-yegge.blogspot.com/2008/06/done-and-gets-things-smart.html%22,%20%22http://steve-yegge.blogspot.com/2008/06/rhinos-and-tigers.html%22,%20%22http://steve-yegge.blogspot.com/2008/05/dynamic-languages-strike-back.html%22,%20%22http://steve-yegge.blogspot.com/2008/04/xemacs-is-dead-long-live-xemacs.html%22,%20%22http://steve-yegge.blogspot.com/2008/04/settling-osx-focus-follows-mouse-debate.html%22,%20%22http://steve-yegge.blogspot.com/2008/03/js2-mode-new-javascript-mode-for-emacs.html%22,%20%22http://steve-yegge.blogspot.com/2008/03/four-console-games-you-might-like.html%22,%20%22http://steve-yegge.blogspot.com/2008/03/get-that-job-at-google.html%22,%20%22http://steve-yegge.blogspot.com/2008/02/portrait-of-n00b.html%22,%20%22http://steve-yegge.blogspot.com/2008/01/emergency-elisp.html%22,%20%22http://steve-yegge.blogspot.com/2008/01/blogging-theory-201-size-does-matter.html%22,%20%22http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.html%22,%20%22http://steve-yegge.blogspot.com/2007/12/boring-stevey-status-update.html%22,%20%22http://steve-yegge.blogspot.com/2007/09/ten-tips-for-slightly-less-awful-resume.html%22,%20%22http://steve-yegge.blogspot.com/2007/09/steveys-tech-news-issue-1.html%22,%20%22http://steve-yegge.blogspot.com/2007/08/how-to-make-funny-talk-title-without.html%22,%20%22http://steve-yegge.blogspot.com/2007/06/rhino-on-rails.html%22,%20%22http://steve-yegge.blogspot.com/2007/06/rich-programmer-food.html%22,%20%22http://steve-yegge.blogspot.com/2007/06/that-old-marshmallow-maze-spell.html%22,%20%22http://steve-yegge.blogspot.com/2007/02/nooglers-view-of-google.html%22,%20%22http://steve-yegge.blogspot.com/2007/02/next-big-language.html%22,%20%22http://steve-yegge.blogspot.com/2007/02/my-save-excursion.html%22,%20%22http://steve-yegge.blogspot.com/2007/01/pinocchio-problem.html%22,%20%22http://steve-yegge.blogspot.com/2006/12/parabola.html%22,%20%22http://steve-yegge.blogspot.com/2006/12/i-take-it-all-back-send-me-your-money.html%22,%20%22http://steve-yegge.blogspot.com/2006/10/egomania-itself.html%22,%20%22http://steve-yegge.blogspot.com/2006/09/good-agile-bad-agile_27.html%22,%20%22http://steve-yegge.blogspot.com/2006/09/bloggers-block-4-ruby-and-java-and.html%22,%20%22http://steve-yegge.blogspot.com/2006/09/bloggers-block-3-dreaming-in-browser.html%22,%20%22http://steve-yegge.blogspot.com/2006/09/bloggers-block-2-anime-for-nonplussed.html%22,%20%22http://steve-yegge.blogspot.com/2006/09/bloggers-block-1-joelprah.html%22,%20%22http://steve-yegge.blogspot.com/2006/08/clothes-for-soul.html%22,%20%22http://steve-yegge.blogspot.com/2006/07/get-famous-by-not-programming.html%22,%20%22http://steve-yegge.blogspot.com/2006/07/wizard-school.html%22,%20%22http://steve-yegge.blogspot.com/2006/06/shiny-and-new-emacs-22.html%22,%20%22http://steve-yegge.blogspot.com/2006/05/not-managing-software-developers.html%22,%20%22http://steve-yegge.blogspot.com/2006/05/oblivion.html%22,%20%22http://steve-yegge.blogspot.com/2006/04/psh-whatever.html%22,%20%22http://steve-yegge.blogspot.com/2006/04/software-needs-philosophers.html%22,%20%22http://steve-yegge.blogspot.com%22,%20%22http://steve.yegge.googlepages.com/ocaml%22,%20%22http://steve.yegge.googlepages.com/more-ocaml%22,%20%22http://steve.yegge.googlepages.com/nonesuch-beast%22,%20%22http://steve.yegge.googlepages.com/when-polymorphism-fails%22,%20%22http://steve.yegge.googlepages.com/lisp-wins%22,%20%22http://steve.yegge.googlepages.com/singleton-considered-stupid%22,%20%22http://steve.yegge.googlepages.com/practical-magic%22,%20%22http://steve.yegge.googlepages.com/scripting-windows-apps%22,%20%22http://steve.yegge.googlepages.com/saving-time%22,%20%22http://steve.yegge.googlepages.com/my-dot-emacs-file%22,%20%22http://steve.yegge.googlepages.com/five-essential-phone-screen-questions%22,%20%22http://steve.yegge.googlepages.com/language-trickery-and-ejb%22,%20%22http://steve.yegge.googlepages.com/its-not-software%22,%20%22http://steve.yegge.googlepages.com/being-the-averagest%22,%20%22http://steve.yegge.googlepages.com/software-fable%22,%20%22http://steve.yegge.googlepages.com/what-you-need-to-know%22,%20%22http://steve.yegge.googlepages.com/ten-predictions%22,%20%22http://steve.yegge.googlepages.com/math-every-day%22,%20%22http://steve.yegge.googlepages.com/google-secret-weapon%22,%20%22http://steve.yegge.googlepages.com/ten-great-books%22,%20%22http://steve.yegge.googlepages.com/ancient-languages-perl%22,%20%22http://steve.yegge.googlepages.com/innovation-101%22,%20%22http://steve.yegge.googlepages.com/language-grubbing%22,%20%22http://steve.yegge.googlepages.com/godel-escher-blog%22,%20%22http://steve.yegge.googlepages.com/google-at-delphi%22,%20%22http://steve.yegge.googlepages.com/age-racecar-driver%22,%20%22http://steve.yegge.googlepages.com/why-phone-screens-matter%22,%20%22http://steve.yegge.googlepages.com/you-should-write-blogs%22,%20%22http://steve.yegge.googlepages.com/effective-emacs%22,%20%22http://steve.yegge.googlepages.com/practicing-programming%22,%20%22http://steve.yegge.googlepages.com/ten-challenges%22,%20%22http://steve.yegge.googlepages.com/scheming-is-believing%22,%20%22http://steve.yegge.googlepages.com/art-of-the-witch-hunt%22,%20%22http://steve.yegge.googlepages.com/the-emacs-problem%22,%20%22http://steve.yegge.googlepages.com/tin-foil-hats%22,%20%22http://steve.yegge.googlepages.com/miracle-interview%22,%20%22http://steve.yegge.googlepages.com/duck-season%22,%20%22http://steve.yegge.googlepages.com/decision-time%22,%20%22http://steve.yegge.googlepages.com/allocation-styles%22,%20%22http://steve.yegge.googlepages.com/next-big-thing%22,%20%22http://steve.yegge.googlepages.com/is-weak-typing-strong-enough%22,%20%22http://steve.yegge.googlepages.com/tour-de-babel%22,%20%22http://steve.yegge.googlepages.com/waste-management%22,%20%22http://steve.yegge.googlepages.com/ruby-tour%22,%20%22http://steve.yegge.googlepages.com/numbers-minilanguage%22,%20%22http://steve.yegge.googlepages.com/choosing-languages%22,%20%22http://steve.yegge.googlepages.com/really-no-big-deal%22);random_post%20=%20yegge_posts[Math.floor(Math.random()*yegge_posts.length)];document.location%20=%20random_post;
var yegge_posts = new Array("http://steve-yegge.blogspot.com/2009/05/programmers-view-of-universe-part-3.html", "http://steve-yegge.blogspot.com/2009/04/have-you-ever-legalized-marijuana.html", "http://steve-yegge.blogspot.com/2009/03/story-time.html", "http://steve-yegge.blogspot.com/2008/12/programmers-view-of-universe-part-2.html", "http://steve-yegge.blogspot.com/2008/12/fable-ii-arguably-better-than-getting.html", "http://steve-yegge.blogspot.com/2008/11/ejacs-javascript-interpreter-for-emacs.html", "http://steve-yegge.blogspot.com/2008/10/programmers-view-of-universe-part-1.html", "http://steve-yegge.blogspot.com/2008/10/universal-design-pattern.html", "http://steve-yegge.blogspot.com/2008/09/bellic-school-of-management-training.html", "http://steve-yegge.blogspot.com/2008/09/programmings-dirtiest-little-secret.html", "http://steve-yegge.blogspot.com/2008/08/business-requirements-are-bullshit.html", "http://steve-yegge.blogspot.com/2008/06/done-and-gets-things-smart.html", "http://steve-yegge.blogspot.com/2008/06/rhinos-and-tigers.html", "http://steve-yegge.blogspot.com/2008/05/dynamic-languages-strike-back.html", "http://steve-yegge.blogspot.com/2008/04/xemacs-is-dead-long-live-xemacs.html", "http://steve-yegge.blogspot.com/2008/04/settling-osx-focus-follows-mouse-debate.html", "http://steve-yegge.blogspot.com/2008/03/js2-mode-new-javascript-mode-for-emacs.html", "http://steve-yegge.blogspot.com/2008/03/four-console-games-you-might-like.html", "http://steve-yegge.blogspot.com/2008/03/get-that-job-at-google.html", "http://steve-yegge.blogspot.com/2008/02/portrait-of-n00b.html", "http://steve-yegge.blogspot.com/2008/01/emergency-elisp.html", "http://steve-yegge.blogspot.com/2008/01/blogging-theory-201-size-does-matter.html", "http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.html", "http://steve-yegge.blogspot.com/2007/12/boring-stevey-status-update.html", "http://steve-yegge.blogspot.com/2007/09/ten-tips-for-slightly-less-awful-resume.html", "http://steve-yegge.blogspot.com/2007/09/steveys-tech-news-issue-1.html", "http://steve-yegge.blogspot.com/2007/08/how-to-make-funny-talk-title-without.html", "http://steve-yegge.blogspot.com/2007/06/rhino-on-rails.html", "http://steve-yegge.blogspot.com/2007/06/rich-programmer-food.html", "http://steve-yegge.blogspot.com/2007/06/that-old-marshmallow-maze-spell.html", "http://steve-yegge.blogspot.com/2007/02/nooglers-view-of-google.html", "http://steve-yegge.blogspot.com/2007/02/next-big-language.html", "http://steve-yegge.blogspot.com/2007/02/my-save-excursion.html", "http://steve-yegge.blogspot.com/2007/01/pinocchio-problem.html", "http://steve-yegge.blogspot.com/2006/12/parabola.html", "http://steve-yegge.blogspot.com/2006/12/i-take-it-all-back-send-me-your-money.html", "http://steve-yegge.blogspot.com/2006/10/egomania-itself.html", "http://steve-yegge.blogspot.com/2006/09/good-agile-bad-agile_27.html", "http://steve-yegge.blogspot.com/2006/09/bloggers-block-4-ruby-and-java-and.html", "http://steve-yegge.blogspot.com/2006/09/bloggers-block-3-dreaming-in-browser.html", "http://steve-yegge.blogspot.com/2006/09/bloggers-block-2-anime-for-nonplussed.html", "http://steve-yegge.blogspot.com/2006/09/bloggers-block-1-joelprah.html", "http://steve-yegge.blogspot.com/2006/08/clothes-for-soul.html", "http://steve-yegge.blogspot.com/2006/07/get-famous-by-not-programming.html", "http://steve-yegge.blogspot.com/2006/07/wizard-school.html", "http://steve-yegge.blogspot.com/2006/06/shiny-and-new-emacs-22.html", "http://steve-yegge.blogspot.com/2006/05/not-managing-software-developers.html", "http://steve-yegge.blogspot.com/2006/05/oblivion.html", "http://steve-yegge.blogspot.com/2006/04/psh-whatever.html", "http://steve-yegge.blogspot.com/2006/04/software-needs-philosophers.html", "http://steve-yegge.blogspot.com", "http://steve.yegge.googlepages.com/ocaml", "http://steve.yegge.googlepages.com/more-ocaml", "http://steve.yegge.googlepages.com/nonesuch-beast", "http://steve.yegge.googlepages.com/when-polymorphism-fails", "http://steve.yegge.googlepages.com/lisp-wins", "http://steve.yegge.googlepages.com/singleton-considered-stupid", "http://steve.yegge.googlepages.com/practical-magic", "http://steve.yegge.googlepages.com/scripting-windows-apps", "http://steve.yegge.googlepages.com/saving-time", "http://steve.yegge.googlepages.com/my-dot-emacs-file", "http://steve.yegge.googlepages.com/five-essential-phone-screen-questions", "http://steve.yegge.googlepages.com/language-trickery-and-ejb", "http://steve.yegge.googlepages.com/its-not-software", "http://steve.yegge.googlepages.com/being-the-averagest", "http://steve.yegge.googlepages.com/software-fable", "http://steve.yegge.googlepages.com/what-you-need-to-know", "http://steve.yegge.googlepages.com/ten-predictions", "http://steve.yegge.googlepages.com/math-every-day", "http://steve.yegge.googlepages.com/google-secret-weapon", "http://steve.yegge.googlepages.com/ten-great-books", "http://steve.yegge.googlepages.com/ancient-languages-perl", "http://steve.yegge.googlepages.com/innovation-101", "http://steve.yegge.googlepages.com/language-grubbing", "http://steve.yegge.googlepages.com/godel-escher-blog", "http://steve.yegge.googlepages.com/google-at-delphi", "http://steve.yegge.googlepages.com/age-racecar-driver", "http://steve.yegge.googlepages.com/why-phone-screens-matter", "http://steve.yegge.googlepages.com/you-should-write-blogs", "http://steve.yegge.googlepages.com/effective-emacs", "http://steve.yegge.googlepages.com/practicing-programming", "http://steve.yegge.googlepages.com/ten-challenges", "http://steve.yegge.googlepages.com/scheming-is-believing", "http://steve.yegge.googlepages.com/art-of-the-witch-hunt", "http://steve.yegge.googlepages.com/the-emacs-problem", "http://steve.yegge.googlepages.com/tin-foil-hats", "http://steve.yegge.googlepages.com/miracle-interview", "http://steve.yegge.googlepages.com/duck-season", "http://steve.yegge.googlepages.com/decision-time", "http://steve.yegge.googlepages.com/allocation-styles", "http://steve.yegge.googlepages.com/next-big-thing", "http://steve.yegge.googlepages.com/is-weak-typing-strong-enough", "http://steve.yegge.googlepages.com/tour-de-babel", "http://steve.yegge.googlepages.com/waste-management", "http://steve.yegge.googlepages.com/ruby-tour", "http://steve.yegge.googlepages.com/numbers-minilanguage", "http://steve.yegge.googlepages.com/choosing-languages", "http://steve.yegge.googlepages.com/really-no-big-deal");
random_post = yegge_posts[Math.floor(Math.random()*yegge_posts.length)];
document.location = random_post;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment