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 urllib import request | |
print("Input Url to Manga on MangaReader") | |
x=input() | |
u=request.urlopen(x) | |
line=str(u.read(),encoding='utf8') | |
no=line.index("document['pu']") | |
no2=line.find(";",no) | |
print(no2-no) | |
url=line[no+17:no2] | |
url2=line[no+18:no2-12] |
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
def f(nr,dr): | |
return (nr-dr*(nr/dr)) |
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
def f(n): | |
for i in xrange(1,n): | |
if i%3==0 and i%5==0: | |
print 'Whazaa' | |
elif i%3==0: | |
print 'Hip' | |
elif i%5==0: | |
print 'Hop' | |
else: | |
print i |
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
.model small | |
.stack 1024 | |
.data | |
.code | |
start: | |
mov ax,@data | |
mov ds,ax | |
extrn writesint:proc | |
mov ah,2ch | |
int 21h |
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
<?php | |
$dump_path = ""; //input location for the backup to be saved | |
$host = ""; //db host e.g.- localhost | |
$user = ""; //user e.g.-root | |
$pass = ""; //password | |
$command=$dump_path.'mysqldump -h '.$host.' -u '.$user.' bank > bank.sql'; | |
system($command); | |
?> |
NewerOlder