Monday, May 20, 2013

Send money with Gmail .

Google Wallet is now integrated into Gmail.

You can securely send money to friends and family in the U.S. using your Gmail inbox.

This is just for U.S. only.

Google introduce something like that to Gmail to push Google Wallet to a larger audience.

You can pay with your credit and debit cards for a low fee of 2.9% per transaction and receiving money is always free.

Friday, May 17, 2013

Working with GLFW library under Fedora.

This is another tutorial about OpenGL.

The main goal it's : using GLFW library.

It's very simple to use this library.

If you want to read more the go to this website.

Thursday, May 16, 2013

Using nethogs like top command .

NetHogs is a net tool like command top but show us bandwidth by process.

Now supported:

Shows TCP download- and upload-speed per process

Supports both IPv4 and IPv6

Supports both Ethernet and PPP

You can read and get archive from here.

Unarchive then use make and make install.

# ls
Changelog       decpcap.h         INSTALL      process.h
connection.cpp  decpcap_test      Makefile     README
connection.h    decpcap_test.cpp  nethogs.8    README.decpcap.txt
conninode.cpp   DESIGN            nethogs.cpp  refresh.cpp
conninode.h     devices.cpp       nethogs.h    refresh.h
cui.cpp         devices.h         packet.cpp
cui.h           inode2prog.cpp    packet.h
decpcap.c       inode2prog.h      process.cpp
# make
# make install 
install -d -m 755 /usr/local/sbin
install -m 755 nethogs /usr/local/sbin
install -d -m 755 /usr/local/share/man/man8/
install -m 644 nethogs.8 /usr/local/share/man/man8/

After that you have this files:

# ls
Changelog       decpcap.c         inode2prog.h  packet.o
connection.cpp  decpcap.h         inode2prog.o  process.cpp
connection.h    decpcap.o         INSTALL       process.h
connection.o    decpcap_test      Makefile      process.o
conninode.cpp   decpcap_test.cpp  nethogs       README
conninode.h     DESIGN            nethogs.8     README.decpcap.txt
conninode.o     devices.cpp       nethogs.cpp   refresh.cpp
cui.cpp         devices.h         nethogs.h     refresh.h
cui.h           devices.o         packet.cpp    refresh.o
cui.o           inode2prog.cpp    packet.h

Can you use now binary nethogs to run it.

The binary # ./decpcap_test not working on my system.

I don't know what is the reason.

Wednesday, May 15, 2013

Linux cool gadget checking spelling and gramar .

This gadget that vibrates when you make mistakes in legibility, spelling and gramar uses Linux to run the programs on its chip.

The gadget recognizes all writing movements and lets you know with an unmistakable vibration when you’ve made a mistake.

You can pre-order and once the first pens are available then you will purchase your Lernstift gadget.

Read more here.

Tuesday, May 14, 2013

News: NASA migrates from Windows to Linux

According to the article written by Lawrence Latif, N.A.S.A. will replace the Windows XP with Linux :
THE INTERNATIONAL SPACE STATION (ISS) will remove Microsoft Windows from its onboard laptops and run Linux exclusively.
The main reason can be :
...NASA has been using Linux on its missions for some time, including on its Mars Curosity rover, suggesting that the delay in shifting over to Linux on ISS was more to do with porting legacy applications from Windows.
Read more about this here.

Thursday, May 2, 2013

Testing upload images on google account.

When you upload many images under your google account the time is longer and refresing of upload gui is slow.

You can test your user interface to see how MiB is uploading to google server.

See the next linux command.

$ watch -d 'ifconfig | grep MiB | grep "TX bytes"'

And result is something like this:

Every 2.0s: ifconfig | grep MiB | grep "TX bytes" Thu May  2 22:44:09 2013

          RX bytes:15625675 (14.9 MiB)  TX bytes:184506104 (175.9 MiB)