Tag: programming
-
Update Your CSS Without Refreshing the Page with Live.js!
Live.js and Middleman are both pretty cool, and you can use them together to harness the power of style injection. If you’re a Mac user, stop reading and go use CodeKit. Okay, maybe read this first. If you’re like me, and you use Linux, read on. What is style injection? It means that your stylesheets […]
-
Stop using timeouts with SWTBot: Custom Conditions
I’ve seen a lot of test code that looks like this: Fixed waits like this are pretty standard, but they can cause problems later. If this is a resource-intensive proccess, your test could break in these cases: Fixed waits can also make your code harder to read, because it isn’t always easy to see what’s […]
-
Show Beautiful Math on Your Blog With MathJax
MathJax uses JavaScript to interpret MathML and LaTeX on your website and display it in any browser. It’s wonderful, because the math looks beautiful and anyone can reuse the equations from your site as MathML or LaTeX. To begin using it, just paste the following above your </head> tag. (For wordpress, there’s a plugin). That’s it! […]