Client doesn’t give a crap about paying you? Give back the crap.
Personally, if I worked with gigantic amounts of poop on a daily basis, I’d probably have the same reaction, and would probably do the same thing.
Surfing The Web So You Don't Have To
Client doesn’t give a crap about paying you? Give back the crap.
Personally, if I worked with gigantic amounts of poop on a daily basis, I’d probably have the same reaction, and would probably do the same thing.
Rarely does the Apple founder come out and write something like this, but his open letter against Flash is well worth a read, and he makes a lot of valid points. I’d like to see Adobe’s response to this.
Personally, I see both sides of the argument, and while I typically don’t agree much with Jobs, I kind of have to on this. Flash is a resource hog in many cases, and holes in it (along with Acrobat Reader) have been the cause of many malware infections I’ve had to deal with. I can see why Apple doesn’t want it running on their phone.
Facebook Like buttons are popping up all over the Web as a way for people to integrate a little bit of Facebook into their site. I thought it’d be a fun experiment to try on my site here, but I wanted a dynamic URL to pass. There are a ton of blogs out there for putting a Facebook “Like” button your pages using a dynamic URL with a bit of PHP trickery. Here’s the code I ended up using for this site:
<iframe src="https://www.facebook.com/plugins/like.php?href=<?php echo 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];?>&layout=button_count&show_faces=false&width=80&action=like&font=verdana&colorscheme=light" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:22px" allowTransparency="true"></iframe>
However, on another site I’m working on getting this implemented on, I don’t have access to the raw code, and can’t use server-side scripting or variables. So I came up with a JavaScript solution that I’m sharing here as I couldn’t find an equivalent version online:
<SCRIPT LANGUAGE="JavaScript">
document.write("<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href="+document.URL+"&layout=button_count&show_faces=false&width=80&action=like&font=verdana&colorscheme=light\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:80px; height:22px\" allowTransparency=\"true\"><\/iframe>");
</SCRIPT>
It’s probably not the cleanest/best code in the world (I would never consider myself a programmer) and there are probably 100 different ways of doing this, but this worked for me and hopefully that will help somebody out there on the InterWebs (and feel free to “Like” this post — the button’s on the permalinked URL — just to see if it works). You also might want to adjust the width of the frame and the code a bit. I personally just wanted a small button with just the number of likes (and am considering even getting rid of that, tightening it up a bit).
And for my future reference, these two tools were very useful in doing this — escaping the code for posting here, and creating that document.write statement.
Note: I’m now using the add-this.com service for this, as it provides me better tracking and features than my code above does, but I’m leaving this here for reference.
While this game is just a simple (but nice looking) mini-golf game, it’s intriguing because of the way they monetize it — by branding the holes.
(And apparently, looking a bit more, the initial sponsors are decided on by who sends them the most new visitors, so click away, folks.)
The oh-so-awesome DMCA strikes again.
Adobe says farewell to the iPhone. Yet another reason that my next phone will not be an iPhone, or a Windows Mobile phone (though I like the latter far better than the former) but an Android phone — ideally this one, but I can only imagine how much that’s going to cost.