for i in range(1, 10):
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
# Hey there, this is my ~/.bashrc file. Want to be able to do this cool stuff to? Simply add these lines to your file! | |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; |
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
n,k=int(input()),0 | |
if not n-1%3:k=0 | |
elif not n%3:k=(n/3)+1 | |
else:k=-(n/3)+1 | |
print(k) |
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
""" | |
Author: Popey456963 | |
Date: 20/05/2016 20:30 | |
Desc: Postcodes | |
""" | |
from math import radians, cos, sin, asin, sqrt | |
AVG_EARTH_RADIUS = 6371 |
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
r,n,b=(('M',1000),('CM',900),('D',500),('CD',400),('C',100),('XC',90),('L',50),('XL',40),('X',10),('IX',9),('V',5), | |
('IV',4),('I',1)),int(input()),"" | |
for c,d in r: | |
while n>=d:b+=c;n-=d | |
print b |
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
""" | |
Author: Popey456963 | |
Date: 20/05/2016 20:10 | |
Desc: Gradients | |
""" | |
import turtle | |
import time | |
from math import floor |
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
172.16.175.1 - - [25/Mar/2016:19:06:13 0000] "GET /login.asp?SessionID=<script>alert(1870)</script> HTTP/1.1" 207 | |
172.16.175.1 - - [25/Mar/2016:19:06:13 0000] "GET /login.asp?message=><script>alert(530)</script> HTTP/1.1" 207 | |
172.16.175.1 - - [25/Mar/2016:19:06:13 0000] "GET /login.asp?target="><script>alert(8238)</script> HTTP/1.1" 207 | |
172.16.175.1 - - [25/Mar/2016:19:06:13 0000] "GET /login.jsp?url="><script type="text/javascript">alert(8714) HTTP/1.1" 207 | |
172.16.175.1 - - [25/Mar/2016:19:06:14 0000] "GET /login.php?Cat=<script>alert(2412)</script> HTTP/1.1" 207 | |
172.16.175.1 - - [25/Mar/2016:19:06:14 0000] "GET /login.php?btag=<script>alert(1542)</script> HTTP/1.1" 207 | |
172.16.175.1 - - [25/Mar/2016:19:06:14 0000] "GET /login.php?category="/><script>alert(9230)</script> HTTP/1.1" 207 | |
172.16.175.1 - - [25/Mar/2016:19:06:14 0000] "GET /login.php?customerEmailAddress="><script>alert(1188)</script> HTTP/1.1" 207 | |
172.16.175.1 - - [25/Mar/2016:19:06:14 0000] "GET /login.php?err=<script>alert(8802)</script |
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
import os | |
d=os.path.dirname(os.path.realpath(__file__)) | |
dir = [o for o in os.listdir(d) if os.path.isdir(os.path.join(d,o))] | |
# print(dir) | |
for i in dir: | |
carryOn = True | |
try: | |
for index,char in enumerate(i): | |
if "dc-dm____n___D__Js_L__Xs__k-pro_.ha__e.com"[index] != "_": |
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
window.setInterval(function() { | |
var elem = document.getElementById('robinChatWindow'); | |
elem.scrollTop = elem.scrollHeight; | |
}, 100); |