Skip to content

Instantly share code, notes, and snippets.

View nikhilkumar13's full-sized avatar

Nikhil Kumar nikhilkumar13

  • Indian Institute of Technology, New Delhi
  • New Delhi , India
View GitHub Profile
@nikhilkumar13
nikhilkumar13 / redis_cheatsheet.bash
Created April 19, 2020 12:51 — forked from LeCoupa/redis_cheatsheet.bash
Redis Cheatsheet - Basic Commands You Must Know --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
# Redis Cheatsheet
# All the commands you need to know
redis-server /path/redis.conf # start redis with the related configuration file
redis-cli # opens a redis prompt
# Strings.
////////////////// MSlib dependencies trace: Starts here //////////////////////////////
// This Script shows timer in any webpage. all you need do is execute this this script in Console.
var floor = Math.floor;
var int = parseInt;
function time() {
return floor(new Date().getTime()/1000);
}
#!/usr/bin/env python
# Unity indicator for evolution-less clock and date display
# author: phil ayres
# 24 Oct 2011
import gobject
import gtk
import appindicator
import os, sys
import time