Link: CSS sprite generator
If you ever find yourself needing to manually build CSS sprites, do yourself a favour and shoot yourself in the head. Then download this Photoshop script and use it.
Arnau March – CSS sprite generator.
(via Chris Coyier)
If you ever find yourself needing to manually build CSS sprites, do yourself a favour and shoot yourself in the head. Then download this Photoshop script and use it.
Arnau March – CSS sprite generator.
(via Chris Coyier)
Here’s a great explanation (by Peter van der Zee) of the key differences between [[Prototype]] and prototype in JavaScript. It finally makes sense now!
Note: to understand this explanation it would help to know what prototype is/does and how it works.
So we have [[Prototype]] and prototype. You can see prototype as the parent object to which [[Prototype]] (so __proto__) refers to on instances of the constructor. Hah, I’m sure that’s not confusing. So let me give an example :)
var A = function(){};
var a = new A();
log(a instanceof A); // true
log(A.prototype); // object
log(a.prototype); // undefined
log(a.__proto__); // object, in browsers that support the mapping
log(a.__proto__=== A.prototype); // true.“A” has a prototype property (A.prototype). If you add new properties to that object, they will automagically be available on “a”. “a” has a [[Prototype]] internal property. It refers to A.prototype. It is an essential part of the prototypal chain because it actually determines the next part of the chain. If you change a.[[Prototype]], changes to A.prototype will no longer be reflected on “a”. In fact, all not “own” properties of a will no longer be accessible and are replaced by a new set of properties.
via [JSMentors] Object creation.
HackMTL was a blast! Montreal represented! « HackMTL
HackMTL was an awesome time. Lots of great food, code, fun, people, and more. Scoring second place didn’t hurt, either ;)
Oh, and more events HackDays events to come!
Quick Tip: Use console.app to view MAMP logs in OSX by Roger López
I live by console.app now; it’s perpetually running in the background.
Note: Most of the code here is specific to my environment on Webfaction, github and for use with WordPress plugins. You can make it work for other setups (i.e. different hosts, local gits, or even SVN) but will involve some tweaking.
Scott recently had a great idea to run the bleeding edge release of Edit Flow on our official site. I usually do this for most of my plugins before releasing, though, it’s a manual process: FTP up the latest code and give it a test run. That’s not fun.
Here’s a far better, automatized way to keep your repo up-to-date. You can either use cron or githooks. Pick your poison.
I pushed out an update to Plugin Notes last week bumping up the version number to 1.1. Only three changes in this update:
I pushed up v1.1 of Zen yesterday. Not much changed in this new version. Key improvement is that the content textarea is now a bit bigger so things don’t look really disproportionate on larger resolutions.
I’ve also added 3 new themes:
Daniel Bachhuber 10:01 pm on November 16, 2010 Permalink |
Awesome, thank you for documenting this. As an FYI, there’s an easier way to get Git on your WebFaction account.