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 os | |
from fcntl import ioctl | |
import struct | |
import time | |
import random | |
from threading import Thread | |
from pyroute2 import IPRoute | |
from pypacker.layer3.ip import IP | |
from pypacker.layer3.ip6 import IP6 |
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 | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* @ORM\Entity() | |
* @ORM\Table(name="user") | |
*/ | |
class User |
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
#!/usr/bin/env python | |
import re | |
import tornado.ioloop | |
import tornado.web | |
from tornado import httpclient | |
class MainHandler(tornado.web.RequestHandler): | |
@tornado.web.asynchronous |