Skip to content

Instantly share code, notes, and snippets.

View yoursvivek's full-sized avatar
:electron:
is focusing his chi.

Vivek Kushwaha yoursvivek

:electron:
is focusing his chi.
View GitHub Profile
@yoursvivek
yoursvivek / keybase.md
Created November 8, 2019 17:51
Keybase proof

Keybase proof

I hereby claim:

  • I am yoursvivek on github.
  • I am yoursvivek (https://keybase.io/yoursvivek) on keybase.
  • I have a public key ASBERhCFtDnZaATXaT2FfyLCBuc7VSid9QWwrjrFpl1yWgo

To claim this, I am signing this object:

extern crate structopt;
extern crate hyper;
extern crate futures;
use std::net::IpAddr;
use structopt::StructOpt;
use hyper::{Request, Response, Server, Body};
use hyper::service::Service;
use hyper::Error as HyperError;
use futures::future::*;
@yoursvivek
yoursvivek / index.html
Created April 18, 2019 14:16
2019 Lok Sabha Election: Polling Schedule
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://unpkg.com/topojson-client@3"></script>
<style>
html, body {
font-weight: bold;
font-family: "sans-sarif";
font-size: 12px;
@yoursvivek
yoursvivek / README.md
Last active August 29, 2015 14:04
uwsgi nginx configuration
  1. Install nginx from ppa

    sudo add-apt-repository ppa:nginx/stable
    sudo apt-get update 
    sudo apt-get install nginx

    Install uwsgi

"""
For dumb stupid media player set the release date ID3(TDRC)
to original date ID3(TDOR) as well.
"""
PLUGIN_NAME = 'fix dates'
PLUGIN_AUTHOR = 'Vyvyan Frye'
PLUGIN_DESCRIPTION = '''For dumb stupid media player set the release date ID3(TDRC)
to original date ID3(TDOR) as well.'''
PLUGIN_VERSION = '0.1'
PLUGIN_API_VERSIONS = ['0.12']
--- trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2010/03/20 08:58:06 8202
+++ trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py 2010/03/20 22:49:25 8203
@@ -17,6 +17,8 @@
% (gtk.pygtk_version + pygtk_version_required))
del pygtk_version_required
+_new_tooltip_api = (gtk.pygtk_version[1] >= 12)
+
import matplotlib
from matplotlib import verbose
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.33-gentoo-athena i686)
=================================================================
System uname: Linux-2.6.33-gentoo-athena-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 15 Apr 2010 21:30:01 +0000
app-shells/bash: 4.0_p37
dev-lang/python: 2.6.5-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2