Soluții

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...]

Batch file pentru accesarea mult mai rapida a unui fisier criptat cu TrueCrypt

In cazul in care dorim sa folosim un batch file pentru a accesa mult mai simplu si mult
mai rapid un volum criptat cu TrueCrypt, putem folosi urmatorul script.

Pasul 1:

Copiem codul de mai jos intr-un editor de text.

@echo off
mode con:cols=15 lines=5
title
cls
F:\Pictures\TrueCrypt /q background /e /m rm /v “G:\TrueCrypt Volume”
:1
exit

Pasul 2:

Modificam path-ul programului TrueCrypt, in cazul meu F:\Pictures\TrueCrypt, si locatia volumului pe care dorim sa il accesam > G:\TrueCrypt Volume

Pasul 3:

Salvam textul punandu-i orice nume + .bat la sfarsit.

[mai mult...]

Batch file pentru accesarea mult mai rapida a unui fisier criptat cu VeraCrypt

In cazul in care dorim sa folosim un batch file pentru a accesa un volum criptat mult mai simplu si mult
mai rapid, putem folosi urmatorul script.

Pasul 1:

Copiem codul de mai jos intr-un editor de text.

@echo off
mode con:cols=15 lines=5
title
cls
VeraCrypt.exe /q background /e /m rm /v “volume”
goto 1
:1
exit

Pasul 2:

Salvam textul punandu-i orice nume + .bat la sfarsit.

Pasul 3:

Atat batch file-ul, cat si fisierul criptat, trebuie sa se afle in aceeasi locatie cu executabilul VeraCrypt. Volume este denumirea fisierului criptat in acest exemplu.

[mai mult...]