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 | |
# coding=utf-8 | |
# find my iphone 钓鱼网站 | |
import string, random | |
import requests | |
import time | |
import socket, struct | |
import thread, threading | |
from Queue import Queue |
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
#define SINGLETON(__class) \ | |
+ (instancetype)sharedInstance; | |
#define DEF_SINGLETON(__class) \ | |
static __class * __singleton__ = nil; \ | |
+ (instancetype)sharedInstance { \ | |
static dispatch_once_t once; \ | |
dispatch_once(&once, ^{ \ | |
__singleton__ = [[super allocWithZone:NULL] init]; \ | |
}); \ |
NewerOlder