Skip to content
View shukla2112's full-sized avatar
👋
Hi!
👋
Hi!

Organizations

@hasura

Block or report shukla2112

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Postgresql operations Postgresql operations
    1
    This guide includes queries for postgreql
    2
     
    3
    ### misc/utility commands
    4
    Set pager off
    5
    ```sql
  2. counter-app counter-app Public

    redis based counter app

    Go 1

  3. redis_ops.md redis_ops.md
    1
    # delete the keys in redis with prefix
    2
     
    3
    ```lua
    4
    EVAL "local keys = redis.call('keys', ARGV[1]) \n for i=1,#keys,5000 do \n redis.call('del', unpack(keys, i, math.min(i+4999, #keys))) \n end \n return keys" 0 prefix:*
    5
    ```
  4. A simple script to print the size of... A simple script to print the size of all your Redis keys.
    1
    #!/usr/bin/env bash
    2
     
    3
    # This script prints out all of your Redis keys and their size in a human readable format
    4
    # Copyright 2013 Brent O'Connor
    5
    # License: http://www.apache.org/licenses/LICENSE-2.0
  5. env-echo env-echo Public

    print envs which starts with HASURA_

    Go 1