Skip to content

Instantly share code, notes, and snippets.

@pbaisla
pbaisla / nofeedback.js
Created December 19, 2015 15:12
A script to automate the filling of feedback forms that have to be filled after each semester at MNNIT before you can see your results for the semester. I personally always fill the forms providing honest feedback. This is for those who don't want to submit any feedback.
/*
* INSTRUCTIONS:
* 1. Open the developer console in your browser (Press F12)
* 2. Copy-paste this script into the console and press Enter
* 3. Make any changes if required
* 4. Click on the submit buttom
* 5. Repeat steps 2 to 4 till done.
* NOTE: Instead of copy-pasting each time you can press the UP arrow in the console to get the last entered text.
*
* P.S. It is recommended that you submit an honest feedback :P
@pbaisla
pbaisla / proxy.sh
Last active March 14, 2017 13:29
Script to set system proxy on Linux
#
# Place this script inside /etc/profile.d/ to set proxy on log in
# AND
# Copy-paste in to your ~/.bashrc to switch between proxies easily in shells
#
#
# DEFAULTS
#
# Set default proxy details here. Eg.