HTML

8 Ruby and Rails Jobs for May 2010

Need a new Ruby or Rails job? They're getting posted daily on jobs.rubynow.com but we've got 8 special ones of our own that have come in via the Ruby Inside jobs board. Jobs this month come from the United Kingdom and the US and, as is proving typical, are Rails heavy.

Practical example of need for prototypal inheritance

Alex Sexton wrote a wonderful article about how to use inheritance pattern to manage large piece of code. His code also has a pratical need for prototypal inheritance for writing modular code.
creating standard jQuery plugin
Given below is code that does exactly what Alex’s code does.

GitHub Rebase #38

Welcome to Rebase 38. Suggestions for projects to cover are always welcome, check out the criteria here. In the meantime, check out this preview of some neat visualizations using the GitHub API of how developers are connected:

Import your MacHeist serials to AppShelf

If you have purchased the latest MacHeist nano bundle, you might have noticed that there is no option this time to export as an AppShelf file. I felt a little guilty spamming my twitter followers to get my three free bonus apps (Airburst Extreme, Tracks, and Burning Monkey Solitaire), so to atone, I’m sharing a script that will translate your reciept into an AppShelf import file. Just save your receipt page from the browser, then pass the filename to this script as an argument:

GitHub Rebase #37

According to git-checkout: “You can make changes and create a new commit on top of a detached HEAD”. Git is your Friend, not a Foe explains how this is possible.

My talk about Twitter-Node at PDXJS

I was recently invited to talk about my Twitter Node project at last night’s PDX Javascript Admirers meeting. I was really nervous about giving my first talk in several years, but I did alright. My slides are up on Heroku.

The big win of the talk, however, was Scott’s showoff app for composing presentations.

Simplest jQuery slideshow code explanation

Jonathan Snook wrote a blog titled Simplest jQuery SlideShow . Checkout the demo page .

The full JavaScript code in its entirety is given below. If you understand this code then you don’t need to read rest of the article.

How jQuery selects elements using Sizzle

Introduction

jQuery’s motto is to select something and do something with it. As jQuery users, we provide the selection criteria and then we get busy with doing something with the result. This is a good thing. jQuery provides extermely simple API for selecting elements. If you are selecting ids then just prefix the name with ’#’. If you are selecting a class then prefix it with ’.’.

File upload improvements

Ever since we introduced the file upload section for repos, the two requests we’ve received the most have been for a no-flash alternative and download stats. Today we’re introducing both.

Flash-less uploads

We’ve had our reasons for using flash, mainly that it allows you to upload directly to S3 (instead of our server acting as a proxy), and flash can provide a status bar. Today we added a second means of uploading, basic HTML.

jQuery Ajax

PeepCode Meet jQuery quickly became our fastest-selling title of all time. In this screencast, we explore the Ajax features of the popular jQuery JavaScript framework.

We start simply with the transfer of HTML fragments in only one line of code. You’ll learn about the convenience methods in jQuery and then dive down into the details of the low-level Ajax method.

Syndicate content