Skip to main content

gialloporpora 's Library tagged programming   View Popular

21 Sep 09

Coming At You Like A Pydermonkey at Toolness

Since learning JavaScript over a year ago, it’s become one of my favorite dynamic programming languages alongside Python. And as I’ve mentioned before, I think the two languages actually complement each other pretty well.

www.toolness.com/wp - Preview

python javascript programming moduli

01 Sep 09

Creating and Parsing JSON data with PHP

Yesterday, I was in a party and a guy came near to me and asked me what is JSON and how can handle it via PHP. Today, I’m going to tell you something about JSON data and how we can handle them via PHP. Although, JSON stands JavaScript Object Notation, it is used by many other technologies like PHP and Java for data interchange format over the Internet.

roshanbh.com.np/...ing-parsing-json-data-php.html - Preview

json php programming

26 May 09

How to: add features to Firefox with Mozilla's new Jetpack - Ars Technica

Mozilla's new Jetpack project makes it easy to enhance the Firefox web browser by using conventional HTML and JavaScript. In this hands-on tutorial, we introduce you to Jetpack and use it to add a Digg counter to the browser's statusbar.

arstechnica.com/...-with-mozillas-new-jetpack.ars - Preview

jetpack tutorial firefox programming

06 Apr 09

Performance:Leak Tools - MozillaWiki

Strumenti per il debug di estensioni e leak in Firefox.

When trying to make a particular testcase not leak, I recommend focusing first on the largest object graphs (since these entrain many smaller objects), then on smaller reference-counted object graphs, and then on any remaining individual objects or small object graphs that don't entrain other objects.

wiki.mozilla.org/Performance:Leak_Tools - Preview

firefox debug programming

05 Apr 09

perfection kills » Blog Archive » Detecting event support without browser sniffing

One of the pain points of feature testing in client-side scripting is that for event support. DOM doesn’t really specify any means to detect exactly which events browser understands and can work with. If you’d like to know if a browser supports, say, “dblclick” event, you’re pretty much out of luck. This is probably the reason why so many scripts on the web employ unreliable browser sniffing in such cases. One of the most common events that people sniff for are IE’s proprietary mouseenter/mouseleave, Opera’s impotent contextmenu, and input-related onbeforepaste, onbeforecut, etc. which are present in IE and WebKit, but not in Mozilla-based browsers.

thinkweb2.com/...pport-without-browser-sniffing - Preview

javascript wedeveloper programming browser

28 Mar 09

php etc...: jQuery - Select element cheat sheet

jQuery Cheat Sheet for selecting elements.

Cheat Sheet per selezionare gli oggetti con jQuery

myphpetc.blogspot.com/...elect-element-cheat-sheet.html - Preview

jquery javascript programming cheatsheet

14 Feb 09

Ubiquity Script to Download File Patterns on Your Page

I wrote a ubiquity script that lets you download just about anything on the page you’re visiting, for example images and javascript files. It’s called “save-all” “download-files” and it’s available as a gist on github. One of my classes at university has a “resource page” where they provide all of the datasets for our statistics homework; however, you have to click on each one of them (stored in “.dat” format) to get them all! What a waste of time. So instead of clicking on each one, I wrote the following script. Here’s how you would use it:

blog.inquirylabs.com/...oad-file-patterns-on-your-page - Preview

ubiquity download javascript programming savetime command

11 Feb 09

Ubiquity’s Python Feed Plugin at Toolness

A few weeks ago I wrote about Ubiquity Feed Plugins, which are basically just a way of separating the user interface of subscribing to a new feature from the implementation of the feature itself.

As I’ve written about before, one of the things I’ve missed about the Mozilla development environment is its support for the Python programming language. Aside from being humane and having a great community, it has functionality that could complement the Mozilla platform quite nicely. So we’ve whipped up a quick proof-of-concept Python Feed Plugin for Ubiquity to explore this possibility.

www.toolness.com/wp - Preview

ubiquity python mozilla programming

06 Feb 09

Labs/Ubiquity/Parser Documentation - MozillaWiki

Documento che spiega il funzionamento del parser di Ubiquity.
This document explain how to the Ubiquity parser works.

wiki.mozilla.org/...Parser_Documentation - Preview

ubiquity programming

02 Feb 09

Labs/Weave/ClientAPI - MozillaWiki

This page describes how to the client-side Weave API for sync engines (and their helper classes). The focus is on using this API to create a new sync engine to synchronize a new data type. The data type can be anything that extension JS code has access to through any Mozilla API; this means this page must of necessity be pretty vague about reading and writing the underlying data. You'll have to fill in those blanks yourself. Try browsing the [link] xpcom documentation to find out how to get at the many types of useful data that Mozilla stores.

wiki.mozilla.org/...ClientAPI - Preview

weave mozilla programming

29 Jan 09

Guide to Python introspection

Introspection reveals useful information about your program's objects. Python, a dynamic, object-oriented programming language, provides tremendous introspection support. This article showcases many of its capabilities, from the most basic forms of help to the more advanced forms of inquisition.

www.ibm.com/...l-pyint.html - Preview

python programming

20 Dec 08

Mutagen - quodlibet - Google Code - Mutagen tagging library

Mutagen is a Python module to handle audio metadata. It supports ASF, FLAC, M4A, Monkey's Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg streams on an individual packet/page level.

code.google.com/...Mutagen - Preview

python mp3 aduio programming module

07 Oct 08

pyjamas

Like GWT, pyjamas involves the translation of the application and libraries (including UI widgets and DOM classes) to Javascript and the packaging up of that Javascript code.
There are two core developer tools included with pyjamas. pyjs[1] translates Python code to Javascript by walking the Python abstract syntax tree and generating Javascript.

In many cases, built-in Python types require a custom Javascript implementation. For example, even though Python lists are similar to Javascript arrays, Python lists are converted to custom objects that implement methods such as append. These custom objects, required for translation by pyjs, are defined in a library called pyjslib.[2]

Like GWT, pyjamas comes with a set of UI widgets as well as a library for DOM manipulation.[3] These libraries are written in Python but are, like everything else, translated to Javascript for deployment.

The overall translation of individual components is managed by build[4] which also creates the necessary boilerplate code. The result is a set of .html and .js files that can be served up by a Web server.

There are other components planned which have not been covered here such as server-side code for communication in client-server applications. The examples do however contain JSONRPC server-side source code (in cgi python, and php) which give an idea of what's involved

pyjamas.sourceforge.net - Preview

programming python javascript

30 Sep 08

Google Code Blog: Simple Graphics Calculator Using the Visualization API and the Scatterchart

Steve Aitken, a developer contributing to the Visualization Developer Group, created a simple graphics calculator for Javascript-supported math functions that plots functions using the Google Visualization Scatter Chart. Here is a screenshot of a simple calculation of -sin(2x):

google-code-updates.blogspot.com/...graphics-calculator-using.html - Preview

math javascript programming

19 Sep 08

Access Keys - Open Source - Adaptavist.com Wiki

This plugin allows you to quickly list the access keys on the current web page, filter the list by entering a key or it's description and then trigger the access key.

www.adaptavist.com/...Access+Keys - Preview

firefox ubiquity programming javascript jquery accessibility

24 Aug 08

Digg - iNetHouse - Your daily internet guide Programming Firefox

inethouse.info — This is your guide to building Internet applications and user interfaces with the Mozilla component framework, which is best known for the Firefox web browser and Thunderbird email client. Programming Firefox demonstrates how to use the XML User Interface Language (XUL) with open source tools in the framework's Cross-Platform Component (XPCOM) libr

digg.com/...rnet_guide_Programming_Firefox - Preview

mozilla xul programming book

15 Aug 08

python-spidermonkey - Google Code

This Python module allows for the implementation of Javascript? classes, objects and functions in Python, as well as the evaluation and calling of Javascript scripts and functions. It borrows heavily from Claes Jacobssen's Javascript Perl module, which in turn is based on Mozilla's PerlConnect Perl binding.

code.google.com/...python-spidermonkey - Preview

javascript python programming

08 Aug 08

Labs/Ubiquity/Ubiquity 0.1 Author Tutorial - MozillaWiki

The great power of Ubiquity—from a developer standpoint—is how easy it is to create commands. With only a couple of lines of Javascript, Ubiquity enables even casual web developers to drastically enhance the features of the browser. From an 8-line command to insert a contact's email address in any text field, to a 50-line Twitter integration, this tutorial walks you through the process of being generative with Ubiquity.

wiki.mozilla.org/...Ubiquity_0.1_Author_Tutorial - Preview

ubiquity tutorial javascript programming

1 - 20 of 48 Next › Last »
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo