Reboot

I'm starting over. Over there.

Posted


JQuery 1.5 selector error - Stack Overflow

"You need to quote the value"

I ran into a problem upgrading some existing code to jQuery 1.5. I was lucky enough to find a simple explanation on StackOverflow.

https://gist.github.com/883873

Posted

Tags: jquery, selector


Why you should never ask permission to clean up code | That's What I Thought

“Can I take some time to clean up this code? It is horrendous.” The answer should always be yes to this question. However, often times we find ourselves up against walls in the form of budgets, time, due dates and expectation and so the typical “powers that be” at companies often veto the request. My advice to you, dear developer, is to never ask for permission for things you know are vital to your work.

You know your work environment better than I do so perhaps you can ask this question and immediately have the full support of your team. Sad to say that many aren’t so fortunate. They’ll ask their boss if they can take some time to clean up their code, make it efficient and extensible and, while the boss may recognize the need for such tasks, ultimately the boss will simply say “maybe we can do that later”.

Why is this the typical reaction? Because bosses don’t have to read, edit and support the code.

This is folly and every developer knows it. Bosses, (if you’re reading this) putting off a few hours worth of code clean-up now will only turn into many hours or days in the future. So by allowing your developers time to do this much needed code maintenance you’re actually saving your company money. But don’t worry – they’re not going to ask you for permission anymore. They’re just going to do it.

I heard my dad say recently, "sometimes it is better to ask for forgiveness than to ask for permission." I think that can be applied here pretty nicely.

Posted


Xcode 4 released with git integration - GitHub

Today Apple released Xcode 4. We're pretty excited over here because Xcode 4 is the first Xcode release to support git natively. What's even more, new projects default to git repos!

As you work on your project, you can see the git status of the files showing A and M in the sidebar:

Of course if you want to share your project with others, GitHub is an awesome place to do that now that you'll be working with git.

Objective-C projects have slowly been growing popularity here on GitHub, and it's now on the cusp of being one of our Top 10 languages.

If you're looking for some great Objective-C projects, take a look at some of my favorites:

  • JSONKit - A brand new (and insanely fast) JSON Library
  • Mogenerator - Generate classes from core data models
  • UIDickbar - In case you'd like to improve the experience of your iOS apps.
  • MyStyledView - A great base for styling views in AppKit.
  • JAListView - A UITable-inspired NSTableView replacement for AppKit.

Hopefully with the release of Xcode 4 we'll see an explosion of Cocoa on GitHub (hey, I can dream).

Posted

Tags: git, github, xcode


Example of WordPress plugin code generating URL and disk path for theme specific files

Looking through WP-LESS source to find some inspiration on how to generate customized CSS by way of a WordPress plugin that can be stored on disk and served by HTTP. Mostly interested in how to determine the theme name and the upload (on disk) and upload URL (for the CSS link). Code snippet below courtesy of Oncle Tom.

https://gist.github.com/576829

Posted

Tags: css, stylesheet, wordpress, wp


Ext Scheduler - A JavaScript scheduling component for the Ext JS framework

Ext Scheduler

Ext Scheduler

Ext Scheduler is a powerful javascript scheduling tool that can be used for task planning, staffing, project management, resource allocation and more. It is very easy to setup and customize according to your business needs.

The component is written in pure JavaScript and it is based on the superb Ext JS framework but requires nothing else to run. It has no server dependencies whatsoever, meaning it will work together with any backend such as ASP, ASP.NET, Java, PHP, Ruby etc...

Digging ext-scheduler! Fits a very well for a project I am currently working on. It seems to be very flexible and has been pretty easy to work with so far.

Posted

Tags: epg, ext, javascript


Color Trends + Palettes :: COLOURlovers

Share Your Color Ideas & Inspiration.

COLOURlovers is a creative community where people from around the world create and share colors, palettes and patterns, discuss the latest trends and explore colorful articles... All in the spirit of love.

Interesting color browsing site.

Posted

Tags: colour, layout, web design


Detecting the existence of WordPress theme files (including child themes)

One can use a combination of locate_template and load_template to determine whether or not a theme provides certain files. This can be useful for plugins that want to be able to provide templates and provide a way for a theme to override them.

Posted


The All-In-One Almost-Alphabetical No-Bullshit Guide to Detecting Everything Dive Into HTML5

The All-In-One
Almost-Alphabetical
No-Bullshit Guide to
Detecting Everything

Posted

Tags: html5


Cocoa Dev Central: Learn Objective-C

Cocoa Dev Central: Learn Objective-C

As a beginner to the world of Objective-C, this site looks pretty helpful. Will see how it works out in practice.

Also, love the style of this site.

Posted

Tags: objective-c