I noticed Gwibber, my social networking app for Ubuntu, stopped updating my Twitter status after the API was updated. Basically, it was broken. And as of yet, it’s not been patched. Here’s a fix I used to get Ubuntu updating my Twitter account again. [sourcecode]pkill gwibber sudo gedit “/usr/share/gwibber/plugins/twitter/__init__.py”[/sourcecode] Then search and replace “api.twitter.com/1” to [Continue Reading]
Make a “Share on Twitter” link with URL and Hashtags
This is a little coding trick I get asked about quite a bit. The link you have to make to share something to Twitter is quite simple: http://twitter.com/share?text=text goes here But getting a URL and hastag in there is a different matter. To be honest most developers do know how to include the URL, but [Continue Reading]
Website code template
This is for my fellow developers out there. I have a small series of files I copy and paste whenever I’m about to start a new project, they have default templates for various files I use a lot. Like a header, footer, index page, blank stylesheet, and something called “top.php” that I use to open [Continue Reading]
How do you annoy a web developer?
This is the briefest of posts, because the content is entirely thanks to the wonderful xkcd comic, and it’s pretty damn nerdy. First person in the comments to exclaim that they get it, and can give some sort of rationale, gets a prize. via xkcd: Tags.
Speeding up your site
There is a slew of methods to speed your site up–which is not only the polite thing to do for your guests–but helps with Speed Engine Optimisation (SEO) too. Google in particular looks at how quickly your site loads when deciding how to rank your site in search results. Now, if you’re familiar with web [Continue Reading]
Donate monthly via Paypal, and HTML
BINGO! This is just what I needed tonight. I was starting to create a PHP solution that would enable me to set up monthly donations (rather than a subscription) to Paypal. But then I thought, “Paypal must have a more elegant solution for this, and if not more elegant, than certainly simpler”. And while they [Continue Reading]
Create custom RSS feeds in WordPress
I couldn’t quite work out how best to do create a custom RSS feed in WordPress. My task seemed simple enough, to make an RSS feed of news articles from popular news sources…but the RSS feed needed to link back to the original source, NOT the article in WordPress. Writing the PHP script to generate [Continue Reading]
New Twitter logo in pure CSS
This is why I love CSS. Now, it will only work in newer browsers, but does look awesome. Roll over it and you’ll see how they made this, with a variety of CSS circles. You can of course also view the code by right hand clicking and viewing source. This is what I love about [Continue Reading]
Double-tagging, or CSS vertical align
This is pretty geeky, but I’ve tried several ways of doing this, and wanted to post what I’ve found to be the best. And based on testing, it’s also the most cross-browser compliant solution. The issue is (seemingly) simple. How do you use the equivalent of valign=”middle” in CSS? With tables this was pretty simple. [Continue Reading]