Rust Language – Hello World

Posted January 25th, 2012 in Kindle, Mozilla, Open Technologies, Uncategorized by Bogo

What is RUST?

Rust is an experimental, concurrent, multi-paradigm, compiled programming language developed by Mozilla Labs. It is designed to be practical, supporting pure-functional, concurrent-actor, imperative-procedural, and object-oriented styles. /wikipedia/

How to install it on your Gnu/Linux box?
Pre-requirements:

  • g++ 4.4 or clang++ 3.x
  • python 2.6 or later
  • perl 5.0 or later
  • gnu make 3.81 or later
  • curl

Continue Reading »

Get number of likes of your/any Facebook page via PHP

Posted January 24th, 2012 in Closed Technologies by Bogo

If you want to use somewhere the number of people who likes your fan page, here’s the way to do that:

Create
Create a new basic application from here. Just enter some data and you will receive AppID and Secret keys.

Download
Download the PHP library to work with Facebook API.

git clone https://github.com/facebook/php-sdk.git

Write

require('php-sdk/src/facebook.php');
$facebook = new Facebook(array(
	'appId' => '000000000', // put appID here - see Create section
	'secret' => '0000c000c000c000c', //put your secret key here - see Create section
	));
$zt = $facebook->api('/ZeroTurnaround'); // my Facebook page is http://www.facebook.com/ZeroTurnaround
echo $zt['likes'];

Done

Mozilla Developer Room schedule at Fosdem

Posted January 23rd, 2012 in Community Management, Mozilla by Bogo

We will have more than 28 talks this year’s Mozilla Developer room at FOSDEM.

Take a look at the schedule and plan your visit now. It will be a great time, like every year.

P.S Let’s say “Merci” to Benoît to taking care about Mozilla’s presence at Fosdem.

Fosdem protocol for Mozilla Firefox (fosdem:about)

Posted January 20th, 2012 in FLOSS Events, Mozilla, Open Technologies, Uncategorized by Bogo

I just uploaded for approval an Add-on that defines FOSDEM protocol.

What is FOSDEM?

FOSDEM is a two-day event organized by volunteers to promote the widespread use of Free and Open Source software.

Protocol?

This Add-on:

  • defines FOSDEM protocol  (see bellow)
  • it’s showcase how to create your own protocol for Mozilla Firefox

Supported commands:

fosdem:about – learn more about the event
fosdem:venue – learn more about the venue and transportation
fosdem:schedule – see the latest schedule
fosdem:2003 to fosdem:2011 – see the archive
fosdem:2012 – see the info about the 2012 event

Notice

If you are fan of Fosdem and Firefox – please install it (click on the link) to have fun and to help me develop it more.

A special “Thank you” goes to Mike Kaply and Wladimir Palant

See you at Fosdem in 2 weeks.

Page 1 of 4312345»...Last »