Skip to content

Instantly share code, notes, and snippets.

Roman romanmah

Block or report user

Report or block romanmah

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
romanmah /
Created Feb 1, 2015
Convert kernel time to utc
#!/bin/env bash
ut=`cut -d' ' -f1 </proc/uptime`
ts=`date +%s`
date -d"70-1-1 + $ts sec - $ut sec + $1 sec" +"%F %T"
View sql test
// Your GitHub API token
// see:
"token": "c1d400e8fa22a571f280a22ca0db0001fe625aa3",
// Show the authors of Gists
"show_authors": false,
romanmah /
Created Mar 20, 2014
A small utility for redis db migration
import redis
import pickle
import argparse
class RedisMigrate():
def __init__(self, host, port, db):
You can’t perform that action at this time.