• Stars
    star
    1
  • Language
  • Created 9 months ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Install Redis on Windows

Install-Redis-on-Windows

Doenload Redis-x64-3.0.504.msi and install for redis server

How to use

Redis-cli Command Examples

Connection

  • redis-cli - Connect to the Redis server.
  • AUTH password - Authenticate to the server.
  • QUIT - Close the connection.

Key Commands

  • SET key value - Set the value of a key. Example: SET mykey "Hello"

  • GET key - Get the value of a key. Example: GET mykey

  • DEL key [key ...] - Delete one or more keys. Example: DEL mykey

  • EXISTS key - Check if a key exists. Example: EXISTS mykey

  • KEYS pattern - Find all keys matching the given pattern. Example: KEYS my*

  • TTL key - Get the time to live for a key. Example: TTL mykey

String Commands

  • APPEND key value - Append a value to a key. Example: APPEND mykey " World"

  • STRLEN key - Get the length of the value stored in a key. Example: STRLEN mykey

List Commands

  • LPUSH key value [value ...] - Prepend one or multiple values to a list. Example: LPUSH mylist "value1" "value2"

  • RPUSH key value [value ...] - Append one or multiple values to a list. Example: RPUSH mylist "value3" "value4"

  • LPOP key - Remove and get the first element in a list. Example: LPOP mylist

  • RPOP key - Remove and get the last element in a list. Example: RPOP mylist

  • LRANGE key start stop - Get a range of elements from a list. Example: LRANGE mylist 0 -1

Set Commands

  • SADD key member [member ...] - Add one or more members to a set. Example: SADD myset "member1" "member2"

  • SMEMBERS key - Get all members of a set. Example: SMEMBERS myset

  • SISMEMBER key member - Determine if a given value is a member of a set. Example: SISMEMBER myset "member1"

  • SREM key member [member ...] - Remove one or more members from a set. Example: SREM myset "member1"

Hash Commands

  • HSET key field value - Set the value of a field in a hash. Example: HSET myhash field1 "value1"

  • HGET key field - Get the value of a field from a hash. Example: HGET myhash field1

  • HGETALL key - Get all fields and values from a hash. Example: HGETALL myhash

  • HDEL key field [field ...] - Delete one or more fields from a hash. Example: HDEL myhash field1

Pub/Sub Commands

  • SUBSCRIBE channel [channel ...] - Subscribe to channels. Example: SUBSCRIBE mychannel

  • UNSUBSCRIBE [channel ...] - Unsubscribe from channels. Example: UNSUBSCRIBE mychannel

  • PUBLISH channel message - Publish a message to a channel. Example: PUBLISH mychannel "Hello subscribers!"

Server Commands

  • INFO - Get information and statistics about the server. Example: INFO

  • PING - Ping the server. Example: PING

  • FLUSHDB - Remove all keys from the current database. Example: FLUSHDB

End of Redis-cli Command Examples

More Repositories

1

zkteco

ZKTeco Package For Laravel. This package provides seamless integration with ZKTeco devices within Laravel applications, enabling communication with attendance devices such as fingerprint, face recognition, or RFID using UDP protocol.https://packagist.org/packages/jmrashed/zkteco
PHP
10
star
2

adibaicon

adibaIcon -Custome Icon Library
CSS
3
star
3

blood-donation-web-application-with-real-time-location-sharing

HTML
2
star
4

go-starter-kit

The Go Starter Kit is a foundational project for building a portfolio website using Go, structured to promote clean code and scalability. It employs the Gin web framework for routing and Viper for configuration management.
HTML
2
star
5

ecommerce

The E-commerce Toolkit for Laravel is a modular package providing essential features for building e-commerce websites. This package includes functionalities for managing product catalogs, carts, checkout systems, payment gateway integrations, and order management.
PHP
2
star
6

two-factor-auth

Laravel 2FA Authentication Package
PHP
2
star
7

phpmyadmin

phpmyadmin
PHP
2
star
8

laravel-automation-package

laravel-automation-package
PHP
1
star
9

laravel-installer

A complete web installer for Laravel applications, making the setup process simple and user-friendly.
PHP
1
star
10

rashed-games-javacript

Rashed's Game using HTML, CSS, and JavaScript
JavaScript
1
star
11

developing-restful-apis-with-python-and-flask

Developing RESTful APIs with Python and Flask
Python
1
star
12

Django-Python-Starter-Kit-for-Beginner

Django was invented by Lawrence Journal-World in 2003, Initial release to the public was in July 2005. Latest version of Django is 4.0.3 (March 2022). This repository will help you, when you will get ready.
Python
1
star
13

face-detection-using-opencv

Face Detection using OpenCV
Python
1
star
14

ResponsiveLoginForm

JavaScript
1
star
15

break-weakness-with-angular

break-weakness-with-angular
HTML
1
star
16

jmrashed

About Md Rasheduzzaman
HTML
1
star
17

Webcam-capture-using-Html5-getUserMedia

Webcam capture using Html5 getUserMedia
JavaScript
1
star
18

desktop-application-using-phpnative-for-zkteco

desktop-application-using-phpnative-for-zkteco
PHP
1
star
19

News-Flutter-UI-Kit

News Flutter UI Kit
Dart
1
star
20

dart-practice-problem-solutions

Welcome to the Dart Practice Problem Solutions repository! This is a dedicated space for daily practice to learn Dart deeply. Our goal is to solve at least one problem each day for 100 days, continuously improving our Dart skills.
Dart
1
star
21

login-ui-react-native-app

This is a React Native application for implementing a login and signup UI/UX.
JavaScript
1
star
22

geolocation

The geolocation package will provide user location
PHP
1
star
23

Email-List-Cleaning-Tool-Using-PHP

Email List Cleaning Tool Using PHP
PHP
1
star
24

hospital-management-system

The Hospital Management System is a comprehensive software solution designed to facilitate efficient management and operations within a hospital or healthcare facility.
PHP
1
star
25

google-maps-polyline-draw

Draw polyline on google map using latitude and longitude coordinates
JavaScript
1
star
26

university-management-system-php

The University Management System is a web-based application developed using PHP. It provides a comprehensive solution for managing various aspects of a university, including student management, course management, faculty management, and administrative tasks.
PHP
1
star
27

express-openapi-generator

express-openapi-generator
EJS
1
star