How to Create Landscape Layout in Android Studio?

In Android, whenever the user switches to landscape mode an issue is encountered in which some of the widgets become invisible (as you can see in the below image) and so in this scenario, there is a need to design a separate layout for the landscape mode.

So in android, every application is designed in almost both the orientations i.e Portrait and Landscape. But by default Android Studio gives the option to design the application in Portrait mode but for Landscape mode, we need to create a Landscape Layout folder under the res folder.

[mai mult...]

How to Change the API SDK Level in Android Studio

Generally, API level means the Android Version. This determines which version the developers are targeting their application and what is going to be the minimum level of the android version in their application will run. For setting the Minimum level and Maximum level android studio provides two terminologies.

  • minSdkVersion: This means the minimum Android OS version that will support the app and
  • targetSdkVersion: This means the version for which the developers are actually developing their application.

The app will be compatible with all the versions of android which is falling between minimum level SDK and target SDK. Sometimes during development, there is a need to change the API level of the Android Studio. So to change the API level we have two methods.

[mai mult...]

Send unlimited Whatsapp messages using JavaScript

When it comes to web development, JavaScript can do wonders! Let me show you one more wonder of JavaScript.
Wouldn’t it be cool if we can send infinite WhatsApp messages at just one click? The most interesting part is that all you need is a phone with WhatsApp, a laptop/PC and a Web-Browser(Google Chrome, Edge, Mozilla etc.) with Javascript enabled in it (which is usually enabled by default). No need of installing anything else.

[mai mult...]

How to Browse From the Linux Terminal Using W3M?

W3M is an open-source text-based terminal web browser for Linux used to browse through the terminal. It is simple to use and do not require any additional interacting interface application though it interacts through the terminal. It renders the web pages in a form as their original layout.

How to Install W3M?

As W3M is not included by default on most Linux distributions, we have to install the main w3m package and the w3m-img package for inline image support using the following command:

sudo apt-get install w3m w3m-img


[mai mult...]

Kali Linux – Password Cracking Tool

Password cracking is a mechanism that is used in most of the parts of hacking. Exploitation uses it to exploit the applications by cracking their administrator or other account passwords, Information Gathering uses it when we have to get the social media or other accounts of the C.E.O. or other employees of the target organization, Wifi Hacking uses it when we have to crack the hash from the captured wifi password hash file, etc.

So to be a good Ethical hacker one must be aware of password cracking techniques. Though it is easy to crack passwords by just using guessing techniques, it is very time consuming and less efficient so in order to automate the task, we have a lot of tools. When it comes to tools Kali Linux is the Operating System that stands first, So here we have a list of tools in Kali Linux that may be used for Password Cracking.

[mai mult...]

Create a stopwatch using python

A stopwatch is a handheld timepiece designed to measure the amount of time elapsed from a particular time when it is activated to the time when the piece is deactivated. A large digital version of a stopwatch designed for viewing at a distance, as in a sports stadium, is called a stop clock. In manual timing, the clock is started and stopped by a person pressing a button. In fully automatic time, both starting and stopping are triggered automatically, by sensors.

[mai mult...]