May 27, 2010

How to remove/install/reconfigure xorg without reinstalling ubuntu

  • Open terminal
  • Remove existing xorg using the following command

    sudo apt-get remove --purge xserver-xorg
  • Install xorg using the following command

    sudo apt-get install xserver-xorg
  • Reconfigure xorg using the following command

    sudo dpkg-reconfigure xserver-xorg
source: title link

May 26, 2010

Tenés Empanadas Graciela (short TEG)

is a turn-based strategy game running under Linux. The idea for this free and open source software (GNU GPL) program came from the board game TEG (based on the popular Risk game but differs in many aspects of the rules).
In 1996 the Argentine Ricardo riq Quesada started working at the game, discontinued it for a few years and brought life back into the project in early 2000. Some developers, graphic artists and translators joined the project located at SourceForge's servers and made it a success.
Using a Server several players can fight each other for world domination and of course also chat together. Various maps are used as battle field and also several languages like Spanish, German, French and Polish are available.
Also there exists an Argentine web based version of this game called WebTeg that allows to play online with any browser of any operating system.

Distributions

The game is widely distributed by several GNU/Linux distributions and ported to other Operating Systems:
  • Ubuntu
  • Debian
  • Gentoo
  • Port to Mac
  • All BSD Platforms (FreeBSD/NetBSD/OpenBSD/Apple Mac OS X)
  • All POSIX (Linux/BSD/UNIX-like OSes)

User Interface

  • Gnome

Programming Language

  • C and Python

Source


description and details from wikipedia and sourceforge

May 17, 2010

Cracking a Pdf Password

PDFCrack is a GNU/Linux (other POSIX-compatible systems should work too) tool for recovering passwords and content from PDF-files. It is small, command line driven without external dependencies. The application is Open Source (GPL).

pdfcrack Features:
  • Supports the standard security handler (revision 2 and 3) on all known PDF-versions
  • Supports cracking both owner and userpasswords
  • Both wordlists and bruteforcing the password is supported
  • Simple permutations (currently only trying first character as Upper Case)
  • Save/Load a running job
  • Simple benchmarking
  • Optimised search for owner-password when user-password is known
Install pdfcrack in Ubuntu
sudo aptitude install pdfcrack

pdfcrack Syntax
pdfcrack -f filename [options]
pdfcrack Options
-b, - -bench - Perform benchmark and exit.
-c, - -charset=STRING - Use the characters in STRING as charset.
-m, - -maxpw=INTEGER - Stop when reaching INTEGER as password length.
-n, - -minpw=INTEGER - Skip trying passwords shorter than INTEGER.
-l, - -loadState=FILE - Continue from the state saved in FILENAME.
-o, - -owner - Work with the ownerpassword.
-p, --password=STRING - Uses STRING as userpassword to speed up breaking ownerpassword (implies -o).
-q, - -quiet - Run quietly.
-s, - -permutate - Try permutating the passwords (currently only supports switching first character to uppercase).
-u, - -user - Work with the userpassword (default).
-v, - -version - Print version and exit.
-w, - -wordlist=FILE - Use FILE as source of passwords to try.

pdfcrack Examples
pdfcrack test.pdf

source:title link

May 12, 2010

The 30 players

Thirty players, one ilussion...

Sergio Romero (AZ Alkmaar)
Nicolás Otamendi (Vélez)
Martín Demichelis (Bayern Munich)
Walter Samuel (Inter)
Gabriel Heinze (Olympique)
Jonás Gutiérrez (Newcastle)
Javier Mascherano (Liverpool)
Juan Sebastián Verón (Estudiantes
Angel Di María (Benfica)
Lionel Messi (Barcelona)
Gonzalo Higuaín (Real Madrid)
Mariano Andújar (Catania)
Diego Pozo (Colón)
Nicolás Burdisso (Inter)
Clemente Rodríguez (Estudiantes)
Fabricio Coloccini (Newcastle)
Mario Bolatti (Fiorentina)l
Jesús Dátolo (Olympiakos)
Javier Pastore (Palermo)
José Sosa (Estudiantes)
Maxi Rodríguez (Liverpool)
Sergio Agüero (Atlético Madrid)
Diego Milito (Inter)
Carlos Tevez (Manchester City)
Martín Palermo (Boca)
Ezequiel Lavezzi (Nápoli)
Sebastián Blanco (Lanús)
Insaurralde (Newell's)
Juan Mercier (Argentinos)
Ariel Garcé (Colón)

May 6, 2010

Pino Twitter Client

Pino is Twitter and Identi.ca client for Linux desktop (actualy, for any OS, that has X11). It's simple, fast and also fancy :). Pino is written in Vala language and compiled to the native binary code.
or you can download an archive with source code or get the latest revision from mercurial repository:
hg clone https://pino-twitter.googlecode.com/hg/ pino-twitter

Packages

Ubuntu

sudo add-apt-repository ppa:vala-team/ppa
sudo add-apt-repository ppa:troorl/pino

Arch Linux

You can download PKGBUILD at AUR. Thanks to pizzapunk

Fedora

su -c 'yum install pino'
Also you can download RPM package for Fedora 12 in the download section. Thanks to Joel Barrios.

Debian

Unofficial Debian packages from Kirya.net http://packages.kirya.net/

FreeBSD

FreeBSD users are now able to install it via ports:
cd /usr/ports/net-im/pino
make install clean
... or as a binary package:
pkg_add -r pino

Installation from sources

Pino uses Waf build system. To build and install Pino use this commands:
./waf configure --prefix=/usr
./waf build
sudo ./waf install
For uninstalling type this:
sudo ./waf uninstall
Do not try to run Pino without installation, it would not work.

Requirements

To build Pino use next libraries and utilities:
  • valac (>=0.7.10)
  • gcc (>=4.2)
  • intltool
  • gettext
  • gtk+-2.0
  • libgee (>=0.5.0)
  • gio-2.0
  • libnotify
  • libsoup-2.4
  • libxml-2.0
  • webkit-1.0
  • libunique-1.0
  • libgtkspell
  • libindicate (optional)
You must install dev-packages for this libraries to build Pino. Compiled binary has only one dependency, wich Ubuntu doesn't has in standart supply - gee-1.0.