Switching WordPress Themes by Name (or Anything, Maybe)
I’m going to preface this one with this: I HATE WordPress. Kinda. From a user’s standpoint it’s not really all that bad. I’ll go out on a limb and say it’s marginally nice. From a programmer’s standpoint? I’d like to see the WordPress developers strung up by their thumbs. Ouch. To quote myself on Twitter
“Every time I work with WordPress, I reaffirm my belief that the WP devs really just are a programming troll collective.”
From time to time I’ll run into fun little things like WordPress inserting <p> and <br /> tags into my
code text (apparently it’s text now, whatever WordPress…).
Chrome Extension Library
If you’re working on a Chrome Extension inside of one of those fancy IDEs, you may just want to be able to get those nifty features such as auto-completion and error checking. Luckily, the folks working on Google’s Closure Compiler are kind enough to have a mock library, chrome_extension.js. Just add this file to your IDE of choice as a library, and you’re good to go.Read On →
“object scala not found”
Don’t ask me why, but I decided that it would be convenient to develop on my main home computer, a beast with a hex-core processor, 16 GB or RAM, and more that will just make my computer seem like overkill. Regardless, I was trying to setup a Play Framework project on Windows 7 with a fresh install of everything (meaning Java, Scala, Play Framework, etc.) but I kept getting a very cryptic error message while tying to compile my project.
Caused by: scala.tools.nsc.MissingRequirementError: object scala not found. at scala.tools.nsc.symtab.Definitions$definitions$.getModuleOrClass(Definitions.scala:655) at scala.tools.nsc.symtab.Definitions$definitions$.getModule(Definitions.scala:605) at scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackage(Definitions.scala:145) at scala.tools.nsc.symtab.Definitions$definitions$.ScalaPackageClass(Definitions.scala:146) at scala.tools.nsc.symtab.Definitions$definitions$.AnyClass(Definitions.scala:176) at scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:814) at scala.tools.nsc.Global$Run.(Global.scala:697) at scala.tools.nsc.interactive.Global$TyperRun.(Global.scala:1036) at scala.tools.nsc.interactive.Global.newTyperRun(Global.scala:1059) at scala.tools.nsc.interactive.Global.(Global.scala:191)Read On →