This file contains 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 echo '<p>Hello World</p>'; ?> |
This file contains 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
alert(100); |
This file contains 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
<!DOCTYPE html> | |
<html class="client-nojs" lang="en" dir="ltr"> | |
<head> | |
<meta charset="UTF-8"/> | |
<title>Seattle - Wikipedia</title> | |
<script>document.documentElement.className=document.documentElement.className.replace(/(^|\s)client-nojs(\s|$)/,"$1client-js$2");RLCONF={"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":!1,"wgNamespaceNumber":0,"wgPageName":"Seattle","wgTitle":"Seattle","wgCurRevisionId":907219569,"wgRevisionId":907219569,"wgArticleId":11388236,"wgIsArticle":!0,"wgIsRedirect":!1,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["CS1: Julian–Gregorian uncertainty","CS1 maint: BOT: original-url status unknown","Webarchive template wayback links","Wikipedia indefinitely semi-protected pages","Featured articles","Use mdy dates from June 2018","Articles with short description","Articles containing Lushootseed-language text","Pages using infobox settlement with possible nickname list","Pages using infobox settlement with possible motto list","Coordinates on Wikidata","Article |
This file contains 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 recCount(x): | |
if x == 1: | |
return 1 | |
return recCount(x-1)+x | |
#print(recCount(4)) | |
def sumDigits(x): | |
if x == 0: return 0 |
This file contains 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
''' | |
crypto - 200 | |
''' | |
import socket | |
def getTranslatedMessage(message): | |
key=-1 | |
translated='' | |
for symbol in message: |
This file contains 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
''' | |
100 chicken and $100 | |
$0.05, $1, 5$ | |
''' | |
#Setting Total | |
tcost=100 | |
tnum=100 | |
#Setting individual max | |
x=99 | |
y=99 |
This file contains 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
#hitcon | |
import zipfile, tarfile | |
import os | |
import sys | |
sys.setrecursionlimit(10000) | |
def unzip(file, path): | |
print file | |
zip = zipfile.ZipFile(file) |
This file contains 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
#IPU9ek (^) YKo! S | |
def xor(txt, msg): | |
for i in range(0,6): | |
print chr(ord(txt[i])^ord(msg[i])) | |
msg ="YKo! S" | |
txt= "IPU9ek" | |
xor(txt, msg) |
This file contains 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
import random | |
import math | |
def enc(message, pubkey) : | |
msg = [ord(char) for char in message] | |
e,n = pubkey | |
c = [pow(m, e, n) for m in msg] # c = m**e % n | |
return c | |
def dec(cipher, prikey) : |