Categories
Coding

How to Disable Persistence in Redis

To disable persistence in Redis you need to modify its configuration. Find the Redis Configuration File Found at /etc/redis/redis.conf or /usr/local/etc/redis.conf Edit the Configuration…Continue readingHow to Disable Persistence in Redis

Categories
Coding Software

glibc_2.34 not found Error in Ubuntu

Check Your glibc Version Use the command ldd –version because it shows your current glibc version. For example, Ubuntu 20.04 LTS uses glibc 2.31…Continue readingglibc_2.34 not found Error in Ubuntu

Categories
Coding

cannot load such file – sassc Error in Ruby

This error shows up when you’re trying to use the Sass CSS preprocessor in a Ruby environment. Make Sure the sassc gem is Installed…Continue readingcannot load such file – sassc Error in Ruby

Categories
Coding

What is X [:1] in Python?

Slicing Syntax In Python the general form of slicing is X[start:end:step] X[:1] Specifically X is a sequence like a string, list or tuple The…Continue readingWhat is X [:1] in Python?

Categories
Coding

How to Get Timestamp in C

To get a timestamp in C you can use functions from the <time.h> library. Using time() This gives you the number of seconds since…Continue readingHow to Get Timestamp in C

Categories
Coding

How to Install npm With Yarn

Yarn is an alternative package manager to npm but it doesn’t replace npm entirely. Instead Yarn uses the npm registry. Install Yarn First you…Continue readingHow to Install npm With Yarn

Categories
Coding

How to Update With Case in SQL

To update records with a CASE statement in SQL, you can use this syntax: UPDATE table_name SET column_name = CASE WHEN condition1 THEN result1…Continue readingHow to Update With Case in SQL

Categories
Coding

How to Reset an EC2 Instance in AWS

Access the AWS Management Console Log in to your AWS account Go to the EC2 dashboard 1. Find the Instance In the EC2 dashboard,…Continue readingHow to Reset an EC2 Instance in AWS

Categories
Coding

Visual Studio Code VS. Visual Studio

Visual Studio Code VS Code is a lightweight and cross platform code editor that has gained massive popularity ever since its release in 2015.…Continue readingVisual Studio Code VS. Visual Studio

Categories
Coding

How to Ignore in Java

1. Ignoring Files in Version Control If you’re using Git you can create a .gitignore file in your project’s root directory. This file specifies…Continue readingHow to Ignore in Java