Skip to content

Instantly share code, notes, and snippets.

View mukeshgurpude's full-sized avatar
☠️
Experimenting

Mukesh Gurpude mukeshgurpude

☠️
Experimenting
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@mukeshgurpude
mukeshgurpude / 0README.md
Last active December 28, 2021 08:34
Separate exercises - OS

OS Lab Exercises - separate

@mukeshgurpude
mukeshgurpude / message.css
Created December 10, 2021 13:20
Lightweight message notifier
@charset "UTF-8";
aside#messages {
position: fixed;
top: 10vh;
right: 5vw;
padding: 0.2em 1em;
border-radius: 5px;
background-color: rgba(0, 0, 0, 0.7);
color: #cdcdda;
z-index: 1000;
@mukeshgurpude
mukeshgurpude / bling.js
Created December 8, 2021 13:26 — forked from paulirish/bling.js
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;
@mukeshgurpude
mukeshgurpude / crc.py
Last active November 3, 2021 13:56
computer-networks
def xor(a: str, b: str) -> str:
return bin(int(a, 2) ^ int(b, 2))[2:].zfill(len(a) - 1)
def generator(data: str, divisor: str) -> str:
initial = data
for i in range(len(divisor)):
if len(data) != len(divisor): data += '0'
if data[0] == '0':
data = xor(data, '0000')
else:
@mukeshgurpude
mukeshgurpude / barber.py
Last active October 19, 2021 07:49
sleeping-barber
from threading import Thread
from time import sleep
def threaded(func):
def wrapper(*args, **kwargs):
thread = Thread(target=func, args=args, kwargs=kwargs)
thread.start()
return thread
return wrapper

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@mukeshgurpude
mukeshgurpude / .gitignore
Last active December 27, 2021 11:24
OS-Lab Exercises
a.out