Pages

Monday, February 27, 2012

The LightScribe - without labels and handwriting.

LightScribe is an innovative technology that uses a special disc drive, special media, and label-making software to burn labels directly onto CDs and DVDs.
Download the packages from here.
Use the root account and install this packages :
# rpm -ivh lightscribe-1.18.24.1-linux-2.6-intel.rpm 
Preparing...                ########################################### [100%]
   1:lightscribe            ########################################### [100%]
# rpm -ivh lightscribeApplications-1.18.15.1-linux-2.6-intel.rpm 
Preparing...                ########################################### [100%]
   1:lightscribeApplicationswarning: group admin does not exist - using root%)
warning: group admin does not exist - using root
########################################### [100%]
The path application is /opt/SimpleLabeler/
See the files:
$ ll
total 332
drwxr-xr-x. 4 root wheel   4096 Feb 27 14:10 content
-rwxr-xr-x. 1 root wheel   2980 May 19  2010 launchBrowser.sh
drwxr-xr-x. 3 root wheel   4096 Feb 27 14:10 plugins
-rwxr-xr-x. 1 root wheel     43 May 19  2010 qt.conf
-rw-r--r--. 1 root root      16 May 19  2010 qttr.qm
-rwsr-xr-x. 1 root wheel 314088 May 19  2010 SimpleLabeler
-rw-r--r--. 1 root root      16 May 19  2010 simplelabelertr.qm
Run the SimpleLabeler, and you see this :

Insert the special media in the special disc drive with the face down.
This is a way to not use labels and handwriting.

Saturday, February 18, 2012

G'MIC plug-in for GIMP.

GIMP is an acronym for GNU Image Manipulation Program and it has many capabilities.
One best feature is the plugins system. Plugins may be stored in different locations depending upon your distribution.
The author of G'MIC plug-in tell us: The G'MIC plug-in for GIMP proposes a set of various filters to apply on your images, including artistic effects, image denoising, and enhancement algorithms, 3D renderers, etc.. It is a quite large plug-in, integrating a lot of different effects.
You can download the G'MIC plug-in from here.
Unzip the file and go to the folder where is the gmic_gimp file.
Use this command to copy the file in the plug-ins folder.

$ cp  gmic_gimp ~/.gimp-2.6/plug-ins/
Once you have installed the plugin just restart the GIMP.
The G'MIC will work just if you have opened an image.
You can find it on menu: Filters-> G'MIC... Also, the G'MIC plug-in has available 284 filters.

Saturday, November 26, 2011

Protect your root account.

I will present a solution to protect the root account, quite funny but still elegant.
You can read about the command trap using: man trap.
What is this command?
when the specified event will occur will execute the command specified.
In this case, it will receive signal respectively will execute one command - exit
The source code.
 protect()
 {
 echo "What is the secret ?"
 trap protect 2 20
 read -s resp
 if [ "$resp" != "asd" ]; then
 echo "Error!"
exit
fi
 }
 protect
The result will be leaving the root account if you do not answer the question correctly.
Now protect the file against unauthorized changes:
# chmod 700 /root/.bashrc
You can create using the example above, different ways to execute various commands.

Monday, September 26, 2011

Android ARM Assembly by Vikram Aggarwal

Today I read an interesting article about Android.
The article is written by the developers Vikram Aggarwal, a software engineer at Google.
This article - tutorial consists of a series on learning ARM assembly on Android.
Its subject is "...calling Assembly code from Android applications".
The tutorial contains the necessary source code and details for the reader to understand how it works.
For those who have never used Gas (GNU Assembler), this article is of interest much.
I wonder if there is anyone interested in the Fedora community to write Android applications.
This article can be read here.