Skip to content

Instantly share code, notes, and snippets.

View realslimshanky's full-sized avatar
🏖️
Working Remotely from Europe!

Shashank Kumar realslimshanky

🏖️
Working Remotely from Europe!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am realslimshanky on github.
  • I am realslimshanky (https://keybase.io/realslimshanky) on keybase.
  • I have a public key whose fingerprint is 7BE2 7584 F4C9 97DF CA70 A0D3 7742 9D3D D5BA 8D33

To claim this, I am signing this object:

@realslimshanky
realslimshanky / debian.doc
Created September 8, 2018 11:46 — forked from Manas-kashyap/debian.doc
Debian Packaging Guide for Beginners
Debian packaging (noob guide)
Disclaimer :- There is a well flourished guide on the subject already ,this is just
my version of it .
Links
• (Debian Packaging pre requisites)
https://www.loomio.org/d/LTpSdMuX/debian-packaging-pre-requisites
• (Detailed Wiki guide )
https://wiki.debian.org/Javascript/Nodejs/Npm2Deb/Tutorial
https://wiki.debian.org/Javascript/Nodejs/Npm2Deb
@realslimshanky
realslimshanky / nth_prime_number.py
Last active January 1, 2020 21:15
Finding nth prime number
'''
Description: Module to check the value of nth prime number
Author: Shashank Kumar | https://shanky.dev
'''
from math import sqrt
def is_prime(number):
'''
Primality check function
@realslimshanky
realslimshanky / check_expenditure_on_zomato.js
Last active September 9, 2021 22:24
Check total amount you spent on Zomato
/*
This is the script which can find cost spent on Zomato.com
Step 1: Visit Zomato.com, 'Profile' and click on 'Order History'
Step 2: Load all the orders by scrolling down and clicking on 'Load more' until it appears
Step 3: Run below script in Console (CTRL + SHIFT + I or CTRL + ALT + I) by copying/pasting after '>>' and press ENTER
*/
costs = $('.cost b').get()
cost_regex = /\d+.\d*/g
total_cost = 0