How to install Active Directory && Connect to AD using C#

How to install Active Directory && Connect to AD using C#

  using System; using System.DirectoryServices.AccountManagement; namespace AD1 { class Program { static void Main(string[] args) { ActiveDirectory ac = new ActiveDirectory(); Console.WriteLine(“Login : ” + ac.Login(“[email protected]”, “x”)); Console.WriteLine(“Search For eramax : ” + ac.Search(“eramax”)); Console.WriteLine(“Search For [email protected] : ” + ac.SearchByEmail(“[email protected]”)); Console.WriteLine(“Print All Users in AD” ); ac.GetAllUsers(); Console.ReadLine(); } } public class ActiveDirectory { private static string LDAPServerIP = “x.x.x.x”; private static string ADDomain = “domain.local”; private static string ADUsername = “[email protected]”; private static string ADPassword = “x”; public…

Read More Read More

Best Screen Recorders For Linux

Best Screen Recorders For Linux

Kazam Kazam is a minimal and nifty tool for screencasting. It includes screenshot support too. Kazam is most suitable for beginners and for getting the task done quickly without going too much into various options. Kazam Interface Main Features Simple and compact user interface Supports multiple video output format Audio recording from a suitable source (microphone or speaker) Support for recording a single window or selected screen area Delay timer support Pros Simple and minimal, easy to use. Cons Very few options for tweaking…

Read More Read More

How can I set up an A (address) record for my domain?

How can I set up an A (address) record for my domain?

It is possible to set up an A record from Namecheap’s side for domains that are using our BasicDNS, BackupDNS(a legacy option), PremiumDNS or FreeDNS. If your domain name is pointed to any of these DNS systems, perform the following actions to create an A (address) record for it: 1. Sign into your Namecheap account (The Sign In option is available in the top hat of the page). 2. Select Domain List from the left sidebar and click on the Manage button next to your domain: 3. Navigate to the Advanced DNS tab at the top of…

Read More Read More

Linux Manjaro Switching from BIOS to UEFI

Linux Manjaro Switching from BIOS to UEFI

For UEFI install the Disk partition table should be of type GPT (Guid Partition Table). If you dont want to format your hard disk to GPT, but instead want to migrate from MBR to GPT while trying to save your data, can have a look at http://www.rodsbooks.com/gdisk/mbr2gpt.html 1) You would need to create an ESP (EFI System Partition). It is a FAT32 partition which has the .efi files for booting, which you can create using Gparted or gdisk. (Size 200-512 MiB). You would…

Read More Read More

Downgrade a package from Aur

Downgrade a package from Aur

Hello, I had to downgrade a virtualbox-oracle-ext from the newer version 6.0.0 to 5.2.2 and here are the steps First Go to Aur package https://aur.archlinux.org/cgit/aur.git/?h=virtualbox-ext-oracle   Select version download the package and unzip it and CD to its directory cd aur install the package using command makepkg -si

The Unstated React Service Pattern

The Unstated React Service Pattern

This guide demonstrates a React Pattern for sharing global state, without requiring any of the following: 😒 Prop-Drilling 🔥 Redux 💲 MobX 🏀 Apollo Link State (The above emojis were auto-selected by Emoj) The Context API Recently I found myself at an Advanced React Training with Michael Jackson(no… not the King of Pop, the King of React Router 😉). We spent a good deal of the time working through Higher Order components and the new React Context API. Being so new to The React Way, (yet so familiar with…

Read More Read More