Skip to content

Instantly share code, notes, and snippets.

Avatar

Midhul Vuppalapati webglider

View GitHub Profile
@webglider
webglider / pow.py
Created Apr 22, 2016
Proof of Work based throttling
View pow.py
# Playing around with Proof of Work
import random, binascii, md5
# random byte string generator
# k byte random string is output
def rand_bytes(k):
num = random.getrandbits(8*k)
s = hex(num)[2:]
if(s[-1]=='L'):
s = s[:-1]
View bangl-coimb-options.txt
-SRS Travels (11:00 PM) AC sleeper - Rs. 900 - videhi - stay at dads place
-SRS Travels (9:10PM) Non-AC sleeper - Rs. 750 - videhi - stay at dads place
-Padmesh Travels (10:30PM) - Rs. 650 - kalasipalyam - stay at station
@webglider
webglider / vhsrec.cc
Created Dec 12, 2015
Daily programmer challenge 242 Intermediate
View vhsrec.cc
// https://www.reddit.com/r/dailyprogrammer/comments/3u6o56/20151118_challenge_242_intermediate_vhs_recording/
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
class Show {
View knn.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View xmonad.hs
import XMonad
import XMonad.Config.Gnome
import XMonad.Util.EZConfig
import XMonad.Actions.CycleWindows
import XMonad.Actions.RotSlaves
import XMonad.Actions.Submap
import XMonad.Layout.Tabbed
import XMonad.Layout.Circle
import XMonad.Layout.ThreeColumns
import XMonad.Actions.CycleWS
@webglider
webglider / template
Created Mar 18, 2015
gSoC 2014 BeagleBoard.org proposal template
View template
--About you--
What is your name?
What is your email address?
What is your eLinux wiki username?
What is your IRC nickname?
View test.txt
fuhkdfjslkfjsljfdslkfjsldjfl
You can’t perform that action at this time.