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 json | |
import re | |
import time | |
import random | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import Select | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC |
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 | |
require 'vendor/autoload.php'; | |
ini_set('memory_limit', '-1'); | |
$client = new Github\Client(); | |
$client->authenticate('token', null, Github\Client::AUTH_HTTP_TOKEN); | |
$sdk = new Aws\Sdk([ | |
'region' => 'us-east-1', |
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 | |
require 'vendor/autoload.php'; | |
use Aws\DynamoDb\Exception\DynamoDbException; | |
$sdk = new Aws\Sdk([ | |
'region' => 'us-east-1', | |
'version' => 'latest' | |
]); |
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 | |
/* | |
91070003BD存在但是没邮箱 | |
91080003BD不存在 | |
91090003BD存在但是没邮箱 | |
91100003BD存在但是没邮箱 | |
*/ | |
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/python3 | |
import threading | |
import requests | |
class eduThread (threading.Thread): | |
def __init__(self, mssv): | |
threading.Thread.__init__(self) | |
self.mssv = mssv | |
def run(self): |
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
from transloadit import client | |
tl = client.Transloadit('x','x') | |
assembly = tl.new_assembly() | |
assembly.add_step('hevc_encoded','/video/encode', { | |
'use': ':original', | |
'result': True, | |
'ffmpeg_stack': 'v3.3.3', | |
'preset': 'hevc' |
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 requests | |
import sched | |
import time | |
import json | |
from Adafruit_IO import Client, RequestError, Feed | |
ADAFRUIT_IO_KEY = 'aio_xxxxxxxxxxxxxxxxx' | |
ADAFRUIT_IO_USERNAME = 'xxxxx' | |
schedule = sched.scheduler(time.time, time.sleep) |
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 requests | |
import json | |
import base64 | |
import sqlite3 | |
import zlib | |
import time | |
import io | |
import base64 | |
from datetime import datetime |
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 io | |
import time | |
import base64 | |
from PIL import Image | |
from Adafruit_IO import MQTTClient | |
ADAFRUIT_IO_USERNAME = 'x' | |
ADAFRUIT_IO_KEY = 'x' | |
def connected(client): |
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
iptables -A INPUT -s 192.168.1.123 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 173.245.48.0/20 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 103.21.244.0/22 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 103.22.200.0/22 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 103.31.4.0/22 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 141.101.64.0/18 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 108.162.192.0/18 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 190.93.240.0/20 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 188.114.96.0/20 -p tcp --dport 443 -j ACCEPT | |
iptables -A INPUT -s 197.234.240.0/22 -p tcp --dport 443 -j ACCEPT |