Skip to content

Instantly share code, notes, and snippets.

@Midnightbluee
Midnightbluee / pptpd.sh
Last active August 29, 2015 14:13 — forked from alvin2ye/pptpd.sh
# Automaticlly install pptpd on Amazon EC2 Amazon Linux
#
# Ripped from http://blog.diahosting.com/linux-tutorial/pptpd/
# pptpd source rpm packing by it's authors
#
# WARNING:
# first ms-dns setting to 172.16.0.23, 172.16.0.23 was showing on my
# /etc/resolv.conf, I'm not sure this is the same on all Amazon AWS zones.
#
# You need to adjust your "Security Groups" which you are using too.
<!DOCTYPE html>
<html>
<body>
<h1>Hello World</h1>
<p>I'm hosted with GitHub Pages.</p>
</body>
</html>
from Tkinter import *
import random
import copy
def shapeKeyPressed(canvas,event):
if(event.keysym == 'r'):
shapeInit(canvas)
def shapeMousePressed(canvas,event):
targetX,targetY=event.x,event.y