Recent Updates Page 4 RSS Toggle Comment Threads | Keyboard Shortcuts

  • Mohammad Jangda 1:54 pm on December 15, 2010 Permalink | Reply
    Tags: css, graphics, images, photoshop, scripts, sprites   

    Link: CSS sprite generator 

    Sweet, sweet CSS

    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)

     
  • Mohammad Jangda 1:01 pm on December 10, 2010 Permalink | Reply
    Tags: , js, prototype   

    [[Prototype]] vs prototype (Peter van der Zee on JSMentors) 

    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.

     
  • Mohammad Jangda 6:20 pm on December 9, 2010 Permalink | Reply
    Tags: , hackdays, , hackmtl   

    Link: HackMTL was a blast! Montreal represented! « HackMTL 

    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!

     
  • Mohammad Jangda 1:05 am on December 7, 2010 Permalink | Reply
    Tags: , logs, mamp, os x, tips   

    Link: Use console.app to view MAMP logs in OSX 

    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.

     
  • Mohammad Jangda 6:38 pm on November 16, 2010 Permalink | Reply
    Tags: cron, cronjob, dogfooding, git, remote repos, svn   

    Dogfooding Edit Flow 

    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.

    (More …)

     
  • Mohammad Jangda 1:01 pm on October 22, 2010 Permalink | Reply
    Tags: plugin notes   

    Plugin Update: Plugin Notes v1.1 

    I pushed out an update to Plugin Notes last week bumping up the version number to 1.1. Only three changes in this update:

    Paradoxical HTML Notes

    • Ability to add select HTML tags to notes, so you can now do cool stuff like the image above. Full list of allowed tags available here. (Thanks to Dave A. for the suggestion)
    • Fixed a bunch of PHP Error Notices that were popping up across the plugin (thanks to WP_DEBUG)
    • A small styling fix

    Enjoy.

     
  • Mohammad Jangda 4:02 pm on October 19, 2010 Permalink | Reply
    Tags: a list apart, survey, websites   

    The Survey For People Who Make Websites, 2010 

    The Survey For People Who Make Websites, 2010

     
  • Mohammad Jangda 3:00 pm on October 15, 2010 Permalink | Reply
    Tags: , , update,   

    Plugin Update: Zen v1.1 

    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:

    Zen Sea & Sky

    Zen Sea & Sky

    Zen Sunset

    Zen Sunset

    Zen Foiled Again

    Zen Foiled Again (My new favourite)

    Enjoy!

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel