Posts

How to fix Nothing 2 camera stuck on black screen?

Image
Last week my phone broke and I bought the Nothing 2 phone and just in a couple of days, came across this weird issue where the camera screen got stuck in the black screen. The app completely froze none of the buttons were working. It was the first time I had faced such an issue. This had never happened in my previous phone. It was a bit scary as I thought it was hardware issue. After searching in the web,  thankfully I found it was a software issue and not a hardware. With a sigh of relief, I thought of sharing this to you people who might have come across the same issue. To fix the issue, please follow the steps below: - close all the background apps, by swapping them from the task list. For 3 button navigation: the task list can be accessed by pressing the recent apps button ( the square button), and for gesture mode swipe up from the bottom, hold and then release - Restart the phone by clicking power + volume up button and then selecint restart This should fix your phone. Enjoy. 

How To Install and Configure Nextcloud

Image
  Original post: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-20-04 Step 1 – Installing Nextcloud We will be installing Nextcloud using the  Snap  packaging system. This packaging system, available on Ubuntu 20.04 by default, allows organizations to ship software, along with all associated dependencies and configuration, in a self-contained unit with automatic updates. This means that instead of installing and configuring a web and database server and then configuring the Nextcloud app to run on it, we can install the  snap  package which handles the underlying systems automatically. To download the Nextcloud snap package and install it on the system, type: sudo snap install nextcloud Copy The Nextcloud package will be downloaded and installed on your server. You can confirm that the installation process was successful by listing the changes associated with the snap: snap changes nextcloud Copy Output ID Status Spawn

Checking link speed in Ubuntu

 First Update the system $ sudo apt update & sudo apt upgrade Install the network tools $ sudo apt-get install ethtool net-tools Method 1 $ ip addr The other methods below require you to know the name of the interface. For example in the below cases it is enp0s3. Method 2 $ sudo ethtool enp0s3 Method 3 $ sudo cat /sys/classes/net/enp0s3/speed

How to opt-in to Android TV in Google Play Store

Image
After the update in the Google Play Store, the opt-in option for Android TV has moved into the deeper pages. For this reason when you publish your app, even if it shows the Android TV devices are compatible in the Device catalog, the app actually is not available in the Android TV's play store. To fix this issue follow the following steps: First, optimize your app for Android TV. * Declare TV activity * Declare Leanback support * Declare touch screen not required * Provide home screen banner  * Update the app to support remote navigation  * Make sure your app's UI is compatible with the TV screen * Take screenshots of the TV app Now to opt-in for Android TV * Access the Play Console and select the app. * Go to “Release” > "Setup" > "Advanced settings" * Go to the "Release types" tab. * Once the app has been optimized for Android TV you may select the "Opt-in to Android TV." Once the app has been approved the status will appear as &q

Automate file upload in Selenium IDE

Image
Selenium IDE is an integrated development environment for Selenium tests. It records your interactions with websites to help you generate and maintain site automation, tests, and remove the need to manually step through repetitive tasks. Selenium IDE can be installed in Google Chrome from  here . For Firefox visit this  link . File upload in Selenium IDE cannot be automated simply by recording from the IDE. Because when we select the file input field, the dialog that opens up is a system window which cannot be controlled by Selenium IDE. Therefore, clicking the input file field to select a file will not work. Also the selected file path is changed to C:\fakepath\filename.extension. So to fix this issue, we need to configure the browser to support file upload and then instead of clicking the input field we set the file using ‘type’ selenium command which is shown below. First, to support file upload in Selenium IDE, configure your browser to support file upload: Visit ‘chrome://

Fixing 'Operation not permitted' error in the terminal of MacOS

Today, I updated my Early 2015 MBP. When I fired up Terminal and tried running a few commands like ‘ls’, ‘pwd’, etc I was getting strange error ‘Operation not permitted.’ I looked for solutions on the internet and found a solution here. The step by step solution is as follows: Steps: 1. Close Terminal 2. Open System Preferences 3. Choose ‘Security & Privacy’ 4. Select the ‘Privacy’ Tab 5. From Left side menu select ‘Full Disk Access’ 6. Click the ‘lock’ icon on the lower left part and authenticate the user with admin privileges 7. Click the ‘+’ icon, an application chooser dialog box will open. Go to ‘Applications’->’Utitilites’ and Select Terminal 8. Open the ‘Terminal’

OWASP TOP 10 Proactive Controls in Brief

Image
Software Security is a measure concern today. We can no longer tolerate simple security problems leading to a security havoc. Here I want to list the top 10 proactive controls that should be practiced during software development to create a secure software. OWASP Top 10 Proactive controls is a list of security technique that should be considered for every software development. They top 10 controls are listed as follows in the order of their importance, first being the topmost priority. Define Security Requirements A security requirement is a statement of needed security functionality that ensures one of the many different security properties of software being satisfied. OWASP Application Security Verification Standard (ASVS) can be used to define security requirements.  OWASP ASVS  is a catalog of available security requirements and verification criteria. Leverage security frameworks and libraries A developer writing an application might not have sufficient knowledge, time or b