On July 3rd, we released Globalize 1.3.0. It is a special release, because it includes some very useful feature enhancements to support advanced date, time, timezone manipulation, and other long due fixes. We wanted to share more details on these improvements. IANA/Olson Time Zone Support This change was contributed by Kandaswamy Manikandan @rajavelmani (PayPal) and… Continue reading Globalize 1.3.0 announcement
Category: Tech
TC39: Ecma-402 updates
This Tuesday (March 21), we had a TC39 meeting (the committee responsible for evolving the ECMAScript language, the browsers’ programming language) where several JavaScript topics were discussed, including Ecma-402 (the Internationalization API Specification). If you are an i18n engineer, this post might interest you… Basically we had 4 proposals. 3 about new API (Intl.ListFormat, Intl.UnitFormat,… Continue reading TC39: Ecma-402 updates
jQueryUI 1,000,000 custom downloads every quarter
I’ve been helping jQueryUI to port its DownloadBuilder into node.js. The rewrite is actually live and serving downloads since Oct/2012. Today, I wrote my very first post in the jQueryUI Blog with insights into what we’ve built, and the trends we’ve noticed so far. Good reading… (original at http://blog.jqueryui.com/2013/04/1000000-custom-downloads-in-four-months/) We surpassed the millionth download of… Continue reading jQueryUI 1,000,000 custom downloads every quarter
Quick script to fetch diff history [of a file] using svn
If you wanna see the whole history differences of some file in svn repository, you could use this: $ svndiffhist file Retrieving releases… OK (found 17 steps) ## 908:895 diffs… ## 895:890 diffs… ## 890:880 … etc Where svndiffhist is the following script: function svndiffhist { FILE=$1 echo -n “Retrieving releases…” >&2 releases=$( svn log… Continue reading Quick script to fetch diff history [of a file] using svn
A REST client interface for Python
The py-restlib: [http://code.google.com/p/py-restlib] is a GNU GPL library that implements a REST client interface for Python. Here it goes its Getting Started section: Introduction Py-restlib is supposed to be a simple REST client interface for python. But, it also claims that writing a python client to communicate with RESTful applications on the Web should be… Continue reading A REST client interface for Python
Python POST request
If you’re trying to send a python POST request with httplib, but it’s not working like example tells. Try this minor fix: Here is an example session that shows how to “POST” requests: >>> import httplib, urllib >>> params = urllib.urlencode({‘spam’: 1, ‘eggs’: 2, ‘bacon’: 0}) >>> headers = {“Content-Type”: “application/x-www-form-urlencoded”, … “Accept”: “text/plain”} >>>… Continue reading Python POST request
vim – highlight search
Para setar seu vim (vi) para destacar o que procura (to highlight the searched text), use: :set hlsearch keywords: highlight destaque destacar search procurar procurado searched text string
vim – smart command completion
Para completar os comandos (:) com TAB (^I): :set wildchar=<Tab> :set wildmode=full
Compiz Fusion – linux ao estilo Mac OSX parte2
Em 2006, surgiram as primeiras aparições de um desktop 3D tangível no linux, com o XGL. http://www.dicas-l.com.br/dicas-l/20060606.php Algum tempo se passou e muito se evoluiu… O projeto Compiz juntou-se com seu fork Beryl e, agora, chama-se: http://www.compiz-fusion.org
Criptografia em Linux, utilizando EncFS
Introdução (o que?) Este tópico descreve o procedimento para criptografia de dados no GNU/Linux, utilizando o sistema de arquivos EncFS. Público Alvo (pra quem?) Este tópico deve ser útil para usuários de laptop. Vantagens e Desvantagens de utilizar o EncFS http://arg0.net/wiki/encfs/intro2 http://xlife.zuavra.net/index.php/66/ Modos de criptografia TODO Como utilizar Instalação Instalar os pacotes: (utilizar o gerenciador… Continue reading Criptografia em Linux, utilizando EncFS