Category Archives: Programming

How to build a Chrome extension, Part 1: Basics

image

Building Chrome extensions is super-easy. I’ve already made two: ChromeMilk and Postponer. I wanted so share my method of building extensions, so I’m going to write a series of posts. This one will cover the basics on how to set up a good development environment and how to begin writing the extensions.

1. Install Chrome dev channel

The Chrome dev channel has the latest technologies and the best developing tools. Install it and use it to debug extensions.

2. Get a text editor to write the code in

If you’re really Spartan you can use regular Notepad. I use Notepad2 because it’s light but has syntax highlighting and other features. There are many available, so take your pick.

3. Learn HTML, CSS and JavaScript

Chrome extensions are made using the same techniques used to make web pages. HTML for content, CSS for presentation and JavaScript for behavior and interaction. I highly recommend the tutorials at W3Schools if you are just starting out. If you’ve been building web pages for a while, you can probably skip this step.

4. Follow the official Getting Started tutorial

Google has a very good tutorial for writing your first extension. This tutorial shows you how to build a simple extension and test in on your browser. After this, you should be ready to build your own extension!

5. Now what?

Now that you know how to build a basic Chrome extension, it’s time to let your imagination run wild! Read the extension documentation and see what you can build with it. Start small and don’t be afraid to be wrong. When your extension is ready, you can submit it to the Chrome Extensions Gallery so that everyone can use it!

I’ll be writing more posts on this, so stay tuned.

Do you have any tips for building Chrome extensions? Have your made an extension after following these steps? What other resources do you use to make extensions? Leave a comment and tell us all about it!

New Project: Postponer, Read It Later extensions for Google Chrome

PostponerManagerScreenI’ve published a new project on my Projects page: Postponer.

Postponer is a pair of Chrome extensions to manage your Read It Later items.

You can read more about Postponer and download it on its project page.

New Project: Metal Vs Pop!!, a platformer for Java phones

image

I’ve published a new project on my Projects page: Metal Vs Pop!!

Metal Vs Pop!! is a platformer game for Java-enabled phones.

You can read more about Metal Vs Pop!! and download it on its project page.

New Project: ChromeMilk, a Remember the Milk extension for Google Chrome

screen2

I’ve published a new project on my Projects page: ChromeMilk.

ChromeMilk is a Chrome extension to manage your Remember the Milk tasks.

You can read more about ChromeMilk and download it on its project page.

N-Body Simulations con GPGPU, CUDA y Open CL

Una presentación que hice hace poco para el grupo de cómputo paralelo del Tec de Monterrey explicando el ejemplo del SDK de Nvidia para CUDA y OpenCL.

How to Install and Configure CUDA on Windows

NVIDIA CUDA Zone

CUDA is NVIDIA’s relatively mature API for data parallel GPU computing. I already explained the benefits of CUDA and even showed a simple code example. Now, you surely want to try it out yourself. This guide will explain how to correctly install and configure CUDA on Windows.

read more »

Introduction to Data Parallel Computing with CUDA

In the latest SuperHappyDevHouse Mexico City, an event for hackers to meet and program together, I spent most of my time working on CUDA, an Nvidia API for data parallel computing on the GPU. At the end of the day, I gave a lightning talk presenting a brief introduction. Here’s my presentation:

For more info on SHDH Mexico City, follow the #shdhmc hashtag on Twitter.