Posts

Showing posts from September, 2022

Enable WIFI ADAPTER Monitor Mode in Kali Linux

Connect the WIFI adapter and add it in VirtualBox USB Settings TP-Link TL-WN725N 150Mbps Wireless N Nano USB Adapter https://www.amazon.in/gp/product/B008IFXQFU Check the Adapter Chippet lsusb Bus 001 Device 002 : ID 2357 : 0109 TP-Link TL-WN823N v2 / v3 [Realtek RTL8192EU] Bus 001 Device 001 : ID 1 d6b: 0002 Linux Foundation 2 . 0 root hub Bus 002 Device 002 : ID 80 ee: 0021 VirtualBox USB Tablet Bus 002 Device 001 : ID 1 d6b: 0001 Linux Foundation 1 . 1 root hub Find Appropriate Driver for Realtek RTL8192EU from GitHub https://github.com/clnhub/rtl8192eu-linux Install the dependencies sudo apt install linux-headers-generic build-essential dkms git Clone the Driver git clone https://github.com/clnhub/rtl8192eu-linux.git Configure the Architecture and Monitor Mode Open MakeFile in Text Editor or Nano If you're using a different architecture than x86, the set (MakeFile) CONFIG_PLATFORM_I386_PC = n set your architecture CONFIG_PLATFORM_ARM_AARCH64

How to Setup and Configure VSCode with GitHub

Image
Install VS Code Download and Install VSCode from the Official Website https://code.visualstudio.com/ Install Extension Pack for Java using Extension Icon in VSCode Create a GitHub Account https://github.com/signup Install GIT Download and Install Git Software For Windows: https://git-scm.com/download/win For Mac: Open terminal and type brew install git Configure Git username and email Open git bash command window and type the following commands one by one. git config --global user.name "your GitHub username" git config --global user.email "your GitHub Email" Sign In VSCode with GitHub Select SignIn Option Choose SignIn with GitHub (This will open a new browser window with GitHub Login) Type your GitHub username and password Choose Always Allow... and Open Visual Studio Code Creating Repository Create a Java Project (Ctrl+Shift+P) in VSCode Publish to GitHub Create .gitignore by unselecting .vscode, \lib, \bin.

Understanding Common Compile Time Errors in Java

What is an Error in Program? Errors are mistakes in a program that prevents it from working condition. Three types of error Compile Time Error Logical Error Runtime Error This document discusses the compile time and logical errors. Unresolved compilation problem Exception in thread "main" java.lang.Error: Unresolved compilation problem This happens when the public class keyword used other than Java File Name Example: Java File Name: Employee.java but public class is EmployeeTest Solution: File must be renamed as EmployeeTest.java class Employee { private String name; public Employee ( String name ) { this .name = name; } public String toString ( ) { return "Employee [name=" + name + "]" ; } } public class EmployeeTest { public static void main ( String[] args ) { System. out .println( new Employee( "Kumar" ).toString()); } } The method is undefined Reason-1: