Blockly is a web-based, graphical programming language. Users can drag blocks together to build an application. No typing required.

You can see more on google project.
tutorials, tips, tricks, commands, programming, linux, windows, database, sql, python, programming language, Fedora, drawing, painting, tutorial, tutorials
Today I focused on a problem you often encounter.
We have a web folder containing a series of large image files. We want to see the folder that contains but would be difficult to download all the images and then view them search to find a picture of us.
I installed Greasemonkey addon and I began to study how it works.
I don't have experience with javascript programming.
I still managed to make the script below:
// ==UserScript==
// @name show-image
// @namespace show-image
// @description show images from files
// @include http://*
// @version 0.1
// ==/UserScript==
var elements = document.getElementsByTagName("a");
for (var i=0; (anchor=elements[i]); i++) {
src = anchor.getAttribute("href");
if (src.indexOf('.gif') > -1 || src.indexOf('.jpg') > -1 || src.indexOf('.JPG') > -1 || src.indexOf('.jpeg') > -1)
{
img = document.createElement('img');
img.setAttribute('src',src);
img.style.width='10%';
anchor.appendChild(img);
}
}
You can add to show the png file by adding in the if condition in the script :
src.indexOf('.png') > -1 || src.indexOf('.PNG') > -1
I hope to help you.
# e4defrag -test -cv /home/your_user/
Total/best extents 170276/165520
Fragmentation ratio 0.03%
Fragmentation score 0.24
[0-30 no problem: 31-55 a little bit fragmented: 55- needs defrag]
# 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/$ 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 :$ cp gmic_gimp ~/.gimp-2.6/plug-ins/
Once you have installed the plugin just restart the GIMP. 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.# chmod 700 /root/.bashrc
You can create using the example above, different ways to execute various commands.