Skip to content

Instantly share code, notes, and snippets.

View ssiddhantsharma's full-sized avatar
🥼
Going Remote!

Siddhant Sharma ssiddhantsharma

🥼
Going Remote!
View GitHub Profile
@ssiddhantsharma
ssiddhantsharma / methods.sh
Created August 5, 2020 21:12
Various methods to generate csv from files <3
---------------------------------------------------TEAM-CURIE------------------------------------------------------------
!/bin/bash
actual_dir=$PWD
git clone https://github.com/Jairohc/team-curie.git
cd team-curie
cd submission_scripts
#BASH
bash 1_bash.sh > bash_tmp
bash 1_bash_tiffany.sh > bash_2_tmp
#ruby
@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
@pirate
pirate / carbonify.js
Last active January 22, 2020 16:52
Read a block of code from stdin, submit it to carbon.sh, and output the resulting tweet url.
#!/usr/bin/env node
/*
Submit code from stdin to carbon.now.sh and return a url to a new tweet containing a screenshot
carbon.now.sh authors: https://dawnlabs.io/
carbonify author: Nick Sweeting <git@nicksweeting.com>
MIT License 2017
*/
@nitish6174
nitish6174 / mouse_cursor_using_keyboard.md
Last active October 6, 2018 19:12
Settings to control mouse cursor using keyboard
  1. Open 'Settings' -> 'Universal Access' -> 'Pointing and clicking' -> 'Mouse keys'
  2. Turn that option ON
  3. Now you will be able to move cursor with numpad but the speed will be extremely slow.
  4. Run the following commands in terminal to set a good to do speed :
    sudo apt-get install xkbset
    xkbset ma 60 10 10 5 2