Category Archives: Programming

programming

Simple bash script : scan and convert the image in JPG format.

I use to Linux commands: scanimage and convert. We can see the script below:

Write the script in a text file. Named the script with this name scan.sh. Run this :

The output will be:

You can use any name for the output. As we see in this example I used firstscan.

Programming with FASM – first steps .

The FASM is a self-assembling open-source 80×86 assembler forDOS, Windows and Linux. It supports all 8086-80486/Pentium instructions with MMX, SSE, SSE2 and with more features. FASM contains many programming options and features. The source code can be written in different ways because of control directives, macros, and management of resources. FASM, by default, uses the… Read More »

Windows PowerShell – first setup.

The Windows PowerShell remoting features are supported by the WS-Management protocol and the Windows Remote Management (WinRM) service. So, Windows PowerShell is a new Windows command-line shell designed for system administrators. If you got this error is shown below that is need to make something.

First, you just need to learn a few tricks… Read More »

Working with Web Storage – part 001.

What is Web Storage? Web Storage is a specification that was a part of HTML5 and it also named DOM Storage. The developers usually only store user and/or session identifiers in cookies, and then use databases to use the rest of the user data. The limitations of cookies are: – our search and browsing history… Read More »

Linux , C and GTK

The best way to start learning a programming language is by writing a program. How to edit and compile the program? That depends on the compiler you are using. First of all, you should write a simple program using C language. This is a simple program:

Now about the compilers: gcc is the “GNU”… Read More »

Python – simple language scripting.

The official site www.python.org says: Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report substantial productivity gains and feel… Read More »