fire up Postman
fire up Postman Interceptor
| for i in {1..40}; do | |
| curl -s -o /dev/null -w "%{http_code}\n" \ | |
| https://www.yourapp.com/product/sample-product-slug/ & | |
| done | |
| wait |
| [ | |
| "0xe826F1C06d5ae90E4C098459D1b7464a8dC604cA", | |
| "0x7BAAe7F7DB0078A1967f84FeDF7dAa2703Db4eCd", | |
| "0xF296178d553C8Ec21A2fBD2c5dDa8CA9ac905A00", | |
| "0x59b55856bB868a7BF4B34217342B5C18F5E15Cc8", | |
| "0x17cd072cBd45031EFc21Da538c783E0ed3b25DCc", | |
| "0x48A5b35225259D5D6f3DD3cDAE040d27B4bD324F", | |
| "0x87641313E36e94E4422610A6703eF3e1a8Aca5fE", | |
| "0xF73FE15cFB88ea3C7f301F16adE3c02564ACa407", | |
| "0x25Fc8577D6116C752A1eb2d3276dBB8A15d8431f", |
| import requests | |
| from bs4 import BeautifulSoup | |
| import urllib.request | |
| import os | |
| page = requests.get('https://www.vogue.com/fashion-shows/fall-2019-ready-to-wear/y-3') | |
| soup = BeautifulSoup(page.content, features='html.parser') | |
| carousel_items = soup.find_all('div', 'carousel--item') |
| from selenium import webdriver | |
| def deactive_twitter(username, password): | |
| driver = webdriver.Chrome() | |
| driver.implicitly_wait(30) | |
| driver.get('https://twitter.com/login') | |
| username_field = driver.find_element_by_class_name('js-username-field') | |
| password_field = driver.find_element_by_class_name('js-password-field') |
fire up Postman
fire up Postman Interceptor
sudo vi /etc/network/interfacesauto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
| #!/usr/bin/python | |
| # face_replace.py | |
| # Usage: python face_replace.py <image_file> [face index] | |
| import sys | |
| from opencv.cv import * | |
| from opencv.highgui import * | |
| from PIL import Image, ImageEnhance | |
| import random |