As we know Kotlin plugin is bundled with Android Studio above version 3.0, we can build android application using Kotlin language instead of Java. Below are the steps to create a new project in Kotlin programming Language.
[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...]Perl | STDIN in Scalar and List Context
STDIN in Perl is used to take input from the keyboard unless its work has been redefined by the user.
In order to take input from the keyboard or operator is used in Perl. This operator reads a line entered through the keyboard along with the newline character corresponding to the ENTER we press after input.
[mai mult...]How to set the Alignment of the Text in the Label in C#?
In Windows Forms, Label control is used to display text on the form and it does not take part in user input or in mouse or keyboard events. You are allowed to set the alignment of the text present in the Label control using the TextAlign Property in the windows form. You can set this property using two different methods:
1. Design-Time
2. Run-Time
[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...]Puzzle Game in which numbers are spread randomly & player
This program is a game in which numbers are spread randomly & player is supposed to arrange them.
[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: