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

Afla daca un utilizator este in unul sau mai multe grupuri in ActiveDirectory folosind POWERSHELL

Afla daca un utilizator este in unul sau mai multe grupuri in ActiveDirectory
 folosind POWERSHELL:



$Groups = "Group1","Group2"


$GroupHash = @{}
ForEach ($Group in $Groups)
{   $GroupHash.Add((Get-ADGroup $Group).distinguishedName,(New-Object PSObject -Property @{ GroupName = $Group;Count = 0 }))
}

$Results = ForEach ($User in (Get-ADUser -Filter * -Properties MemberOf))
{   $NotFound = $true
    ForEach ($Group in $User.MemberOf)
    {   If ($GroupHash.ContainsKey($Group))
        {   $NotFound = $false
            Break
        }
    }
    If ($NotFound)
    {   $User
    }
}
$Results | Select SamAccountName,Name,distinguishedName | Sort Name
[mai mult...]

HTML | Design Form

What is HTML Form :
HTML Form is a document which stores information of a user on a web server using interactive controls. An HTML form contains different kind of information such as username, password, contact number, email id etc.
The elements used in an HTML form are check box, input box, radio buttons, submit buttons etc. Using these elements the information of an user is submitted on a web server.

The form tag is used to create an HTML form.

[mai mult...]

Afisarea parolei de la retelele Wi-Fi in Linux

Pentru a functiona aceasta metoda, trebuie sa fi fost conectat inainte cu parola. Sunt insa situatii in care nu o mai aveti notata sau nu o mai retineti si doriti sa dati parola cuiva sau sa conectati alt dispozitiv la acea retea.
   Deschideti terminalul prin combinatia de taste (apasa Ctrl+Alt+T) sau deschide-l din iconita aflata in meniu.
Odata deschis terminalul trebuie sa introduceti una dinte cele doua comenzi:

[mai mult...]