'blog' Category
-
mar202011
Facebook “Like” button to any site
My dirty code to quickly add functionality of Facebook button to websites that I visit.
javascript:void(location.href=’http://www.facebook.com/plugins/like.php?href=’+encodeURIComponent(location.href))
To use just move the link below to your bookmarks bar.
I likeI don’t know if it’s the correct way… just opted for that because I want share some content that aren’t integrated with Facebook API.
-
out192010
tablets
Today I was curious about one tablet commercialized at Walgreens. Probably if you are looking for a really cheap tablet running Android you’ll check DealExtreme, FocalPrice, etc (see this, this and also this) but when the largest drugstore chain in the EUA starts selling low cost tablets you just confirm the thesis that China is [...]
-
ago202010
TTMMHTW: web, qt, foss, openocd, freertos
Some things that made me happy this week.
One approach to interoperability on mobile operating systems is creating your apps with jQuery. It runs on Symbian, MeeGo, Android, iOS, Bada, Blackberry, Windows Mobile and Palm WebOS.
Following this trend an post on embedding Qt Widget into QtWebkit.
An Analog Device white-paper discussing Free and Open-Source Software—An Analog Devices [...] -
ago132010
TTMMHTW: multitouch, rtos, productivity, qml, …
Some things that made me happy this week.
Emulator for Traktor Pro, running on Töken multitouch device (video).
Microkernel Construction – this lecture focuses on current developments in the area of 2nd generation microkernels.
Recent posts from Marcelo Barros blog discussing his works on RTOS: part V part VI a finally part VII (also all parts).
Productivity hints, tips, [...] -
ago062010
TTMMHTW: meego, rtos, android, qemu, python, dojo
Some things that made me happy this week.
Video MeeGo on BeagleBoard and How-to from scratch.
NuttX RTOS that is ANSI/POSIX compliant.
ShowMeDo – screencasts to learn with the open source community.
BRTOS – My friend Marcelo Barros published his works on Real-time Operating System for MSP430 [code repository ] and explanations (portuguese) sub-divided in part II part [...] -
jul302010
TTMMHTW: math, research, network, syscalls and linux
Some things that made me happy this week.
Sage combines the power of many existing open-source packages into a common Python-based interface. http://www.sagemath.org
Useful things to know about Phd thesis research http://www.cs.caltech.edu/~weixl/research/experience/phd-thesis.txt
Just another free touch typing tutor program http://klavaro.sourceforge.net/en/
poll vs select vs event-based http://daniel.haxx.se/docs/poll-vs-select.html
Free Electrons presentation at 11th Libre Software Meeting about Linux Kernel: devices and drivers [...] -
jul222010
Shortening URL
There are many URL shortening services. I just picked one (u.nu) to use from command line interface and chose something really quick and simple. Here’s the code:
# -*- coding: utf-8 -*-
from urllib import urlencode
import httplib
import sysapi_url=”u.nu”
var = urlencode({‘url’:sys.argv[1]})
args = “/unu-api-simple?%s” % (var)
conn = httplib.HTTPConnection(api_url)
conn.request(“GET”,args)
ret = conn.getresponse()
print ret.read()
Download the script here.
Just run passing the URL, for example:
$ [...] -
jul132010
A brief on “designated initializers”
The GNU Compiler Collection (GCC) for C language doesn’t initialize variables zeroed. For simple variables types like int or float is just equal to 0 or 0.0 respectively. Now, suppose that you have a “large” struct and doesn’t want to set each member individually… you could just type “={0}” which means that the first member [...]