Python | Message Encode-Decode using Tkinter

Python offers multiple options for developing GUI (Graphical User Interface). Out of all the GUI methods, tkinter is most commonly used method. It is a standard Python interface to the Tk GUI toolkit shipped with Python. Python with tkinter outputs the fastest and easiest way to create the GUI applications.

Python provides the Tkinter toolkit to develop GUI applications. Now, it’s upto the imagination or necessity of developer, what he/she want to develop using this toolkit. Let’s try to implement a message encryption-decryption application according to the Vigenère cipher, which can encrypt the message using the key and can decrypt the encrypted hash using same key.

[mai mult...]

How to install Scala in Linux?

 Scala is a general-purpose, high-level, multi-paradigm programming language. It is a pure object-oriented programming language which also provides the support to the functional programming approach. There is no concept of primitive data as everything is an object in Scala. It is designed to express the general programming patterns in a refined, succinct, and type-safe way. Scala programs can convert to bytecodes and can run on the JVM(Java Virtual Machine). Scala stands for Scalable language. It also provides the Javascript runtimes. Scala is highly influenced by Java and some other programming langauges like Lisp, Haskell, Pizza etc.

[mai mult...]

jQuery | Animation

jQuery is a very powerful JavaScript framework.Using jQuery, we can add special effects to our website or web-based application.

In jQuery, we can produce various types of animation using the animate() method. This method can produce simple to complex animation in the web page. Using animation, we can change the properties of HTML elements such as background colour, changing border styles, changing navigation properties, formatting the font properties, etc.
We apply changes to the properties by providing the styles rules in the params parameter of the method.

Syntax:

$("selector").animate({params}, speed, callback);

where

  • params parameter specifies the CSS property to be changed during execution of animate() method . It is the required parameter.
  • speed parameter specifies the speed at which the effect is applied .They can accept only these values : “slow”, “fast” or milliseconds.
  • call back parameter specifies the function to be executed after the execution of animate() method.
[mai mult...]

How to install Perl on Linux?

Perl programs can be written on any plain text editor like gedit, notepad++, or anything of that sort. One can also use an online IDE for writing Perl codes or can even install one on their system to make it more feasible to write these codes. Using an IDE makes it easier to write Perl codes because IDEs provides a lot of features like intuitive code editor, debugger, compiler, etc.

[mai mult...]

Perl | File Upload in CGI

In Perl, CGI(Common Gateway Interface) is a protocol for executing scripts via web requests or in other words we can say it’s a set of rules and standards that define how information is exchanged between the custom script and Web Server.

Uploading a file on the Web Server is done with the use of a File upload Form. This File upload form is created on any text editor available and the form must be saved with .htm or .html extension. Creation of a File Upload form involves the following steps:

[mai mult...]

Image Processing In Java

Pixels are the smallest unit of an image which consists of four components Alpha (transparency measure), Red, Green, Blue and in short (ARGB). The value of all the components lie between 0 and 255 both inclusive. Zero means the component is absent and 255 means the component is fully present.

[mai mult...]