Feb 21 2011

BBicing: Bicing App for Blackberry!

Category: BlackBerry,Código,Socialguillem @ 2:33 PM

UPDATE: There is a new version available which works properly again. You’ll find the link at the end of this post :)

After becoming tired of walking through Barcelona searching for bicing stations or trying to park a bike without knowing exactly where to find free places, I decided to create a blackberry app to query the Bicing service in an easy way from my Blackberry.

Having googlemaps and the BBicing application installed should be enough. Then you just need to launch BBicing and it will open googlemaps showing all stations and bike availability using nice icons. If you stay over the icon it will also show you free slots.

This is a ‘pre-alpha’ version if it can be called so, but it works for what i need. I hope it is useful for more people.

You can download it here (it’s completely free! anyway, comments are always nice as are also links to my blog :) ):

BBicing: Bicing app for Blackberry

NOTE: This is an OTA download to open on your Blackberry directly!

Tags: , , ,

Dec 10 2010

My 15 favourite quotes for entrepreneurs

Category: Curiosidades,Emprendedores,Socialguillem @ 3:11 PM

There have always been inspiring and teaching quotes.

Entrepreneurship world is not an exception, and has many related quotes.

These are my fifteen favourite ones.

¿Have you got any which is not in here?

I’ve missed more than 9000 shots in my career. I’ve lost almost 300 games. Twenty six times, I’ve been trusted to take the game-winning shot and missed. I’ve failed over and over and over again in my life. And that is why I succeed.
- Michael Jordan

Failure defeats losers, failure inspires winners.
- Robert T. Kiyosaki

Entrepreneurs average 3.8 failures before final success. What sets the successful ones apart is their amazing persistence.
- Lisa Amos

Some people dream of great accomplishments, while others stay awake and do them.
- Anónimo

The critical ingredient is getting off your butt and doing something. It’s as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer, not a dreamer.
- Nolan Bushnell

Failure is the only opportunity to begin again more intelligently.
- Henry Ford

It is hard to fail, but it is worse never to have tried to succeed.
- Franklin D. Roosevelt

The most valuable thing you can make is a mistake – you can’t learn anything from being perfect.
- Adam Osborne

Innovation distinguishes between a leader and a follower.
- Steve Jobs

Whether you think you can or you can’t, you are right.
- Henry ford

Insanity: doing the same thing over and over again and expecting different results.
- Albert Einstein

A man must be big enough to admit his mistakes, smart enough to profit from them, and strong enough to correct them.
- John C. Maxwell

What would you do if you knew you could not fail?
- Robert H. Schuller

Wanting something is not enough. You must hunger for it. Your motivation must be absolutely compelling in order to overcome the obstacles that will invariably come your way.
- Les Brown

Think P.I.G. – that’s my motto. P stands for Persistence, I stands for Integrity, and G stands for Guts. These are the ingredients for a successful business and a successful life.
- Linda Chandler

Tags: , ,

Nov 16 2010

Is ‘limiting’ one of the keys to success?

Category: Emprendedores,Socialguillem @ 1:21 PM

Tags: , , ,

Nov 06 2010

Facebook ‘hacking’

Category: Linux,PHP,pseudo-hacks,Socialguillem @ 4:05 AM

The ‘hacking’ on the title is in quotation marks because this isn’t something amazing. What i want to show you is a little script in PHP i did a while ago which allows to gather a facebook album addresses from a specified profile. Obviously that person shouldn’t have the album restricted because in such case, you won’t be able to see anything. But in the case the album is not restricted you can see complete albums that you would not  be able to access directly from facebook.  So you should take this only as a script for ‘deofuscation’ more than a ‘hack’.

You should modify 3 parameters in the script itself:

– $uid: corresponds to the facebook user identifier of the person owning the album you want to look for.

– $from y $to: those represents the album identifier margins where script should search between. Those are the most difficult parameters to approach. From what i’ve been able to see, the album identifiers get assigned sequentially to every new album. The best way to approach its value is to search some of your friends profile with an ID similar to the previous uid and look at one of his/her albums and try to use values of from and to around the album id you just got (500 down and up at least). This is not a very cientific approach, but it works and i can’t provide a better one at the moment. Maybe some day i will try to automatize the script to estimate also ‘from’ and ‘to’ but that will be in the future…

//Set User ID here
$uid = 4;
//Album ID to start from. 'Guessing' required...
$from = 1;
//Album ID to finish at. 'Guessing' required...
$to = 500;

$server = gethostbyname( 'www.facebook.com' );

for ( $ii = $from; $ii < $to; $ii++ )
sockAccess( $ii );

function sockAccess($ii)
global $uid;
$page = "album.php?aid=$ii&id=$uid";
global $server;
$errno = '';
$errstr = '';
$fp = 0;
$fp = fsockopen( $server, 80, $errno, $errstr, 30 );
if( $fp === 0 )
die( "Error $errstr ($errno)" );

$out = "GET /$page HTTP/1.1\r\n";
$out .= "Host: $server\r\n";
$out .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1";
$out .= " en-US; rv: Gecko/20060308 Firefox/\n";
$out .= "Connection: Close\r\n\r\n";
f write( $fp, $out );
$content = fgets( $fp );
$code = trim( substr( $content, 9, 4 ) );
f close( $fp );
if( $code != 200 )
echo "Album found!: http://www.facebook.com/album.php?aid=$ii&id=$uid\n";
if( !($ii%10) )
echo "Trying around: $ii\n";
return true;

Tags: , , ,