Skip to content

Instantly share code, notes, and snippets.

Avatar
🏖️
Working Remotely!

Shashank Kumar realslimshanky

🏖️
Working Remotely!
View GitHub Profile
@realslimshanky
realslimshanky / check_expenditure_on_zomato.js
Last active Sep 9, 2021
Check total amount you spent on Zomato
View check_expenditure_on_zomato.js
/*
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
@realslimshanky
realslimshanky / debian.doc
Created Sep 8, 2018 — forked from Manas-kashyap/debian.doc
Debian Packaging Guide for Beginners
View debian.doc
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 Jan 1, 2020
Finding nth prime number
View nth_prime_number.py
'''
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
View keybase.md

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: