Saturday, December 8, 2012

How to hack Facebook user ID's using the API

How to obtain a user's ID from their username

There are many ways to do this such as simply get the URL of the user's photo. Here is how to do it with curl and the Facebook API:

Example Facebook Page:
https://www.facebook.com/burrowsapps

Username:
burrowsapps

Use the Facebook API:
https://graph.facebook.com/

Open Terminal:
curl "https://graph.facebook.com/burrowsapps"

It should return a JSON string:
{"about":"Burrows Apps - https:\/\/play.google.com\/store\/apps\/developer?id=Burrows+Apps - Applications - http:\/\/www.burrowsapps.com","awards":"http:\/\/www.youtube.com\/watch?v=bpOY-sa1sCI","description":"Programming and Mobile Applications\nSecurity Fixes and Exploits\nCourses Notes and Solutions","is_published":true,"mission":"To provide top of the line mobile applications and support for all users.","products":"Applications: \ncrypTo: https:\/\/play.google.com\/store\/apps\/details?id=burrows.apps.crypto\nRoot Checker: https:\/\/play.google.com\/store\/apps\/details?id=burrows.apps.rootchecker\nApp Manager:\nhttps:\/\/play.google.com\/store\/apps\/details?id=burrows.apps.appmanager\nProjects:\nCourse Notes:\nhttp:\/\/blog.burrowsapps.com\/p\/notes.html","talking_about_count":3,"username":"burrowsapps","website":"http:\/\/www.burrowsapps.com\/","were_here_count":0,"category":"Computers\/technology","id":"140257159405760","name":"BurrowsApps","link":"http:\/\/www.facebook.com\/burrowsapps","likes":56,"cover":{"cover_id":341087719322702,"source":"http:\/\/sphotos-b.xx.fbcdn.net\/hphotos-snc7\/s720x720\/598549_341087719322702_28686629_n.jpg","offset_y":0}}

Look for the "id" object:
"id":"140257159405760"

Check for yourself:
https://www.facebook.com/burrowsapps = https://www.facebook.com/140257159405760

Tuesday, November 6, 2012

How to purge memory on Google Chrome

How to purge memory on Google Chrome

Click:

Shift + Esc

From here, you can easily end the process that is using the most ram and then reload the page.


Sunday, October 21, 2012

How to compile inline Assembly in C

How to compile Assembly inline with C

Make sure you have 32-bit libraries, install them:
apt-get install gcc-multilib

#include <stdio.h>

char Format[] = "Hello world, %d\n"; 

int main (void) { 
 asm ( "subl $8, %esp\n" 
 "movl $3, 4(%esp)\n" 
 "movl $Format, (%esp)\n" 
 "call printf\n" "addl $8, %esp\n" ); 
 return 0; 
}

gcc -m32 test.c -o test.o; ./test.o

http://stackoverflow.com/questions/11378181/use-printf-function-in-inline-asm-on-gcc

Friday, October 5, 2012

How to install Sublime Text 2 on Ubuntu

How to install Sublime Text 2 for Ubuntu

To install them:

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

Note: "sublime-text" is the latest Sublime Text 2


Saturday, September 22, 2012

How to install Gnome 3 on Ubuntu

How to install Gnome 3 on Ubuntu:

To install them:

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell
sudo apt-get install gnome-tweak-tool *optional*

This is less glitchy and much smoother than Unity!

How to completely remove Unity from Ubuntu

How to completely remove Unity from Ubuntu:

Make sure to have another Desktop installed!

Remove the packages for Unity:

sudo apt-get remove unity unity-2d-places unity-2d unity-2d-panel unity-2d-spread unity-asset-pool unity-services unity-lens-files unity-lens-music unity-lens-applications gir1.2-unity-4.0 unity-common indicator-sound indicator-power indicator-appmenu libindicator6 indicator-application evolution-indicator indicator-datetime indicator-messages libnux-1.0-0 nuxtools

Monday, September 17, 2012

How to install Subversion in Ubuntu

How to install subversion

To install the packages:

sudo apt-get install subversion

Then you can download copies of svns:

svn checkout SVN_LINK

Monday, September 10, 2012

How to install the WX Python package in Ubuntu

How to install Python WX for creating Python GUIs

WX is a cross-platform GUI kit for Python.

To install the packages:

sudo apt-get install python-wxgtk2.8