kubectl version
kubectl <cmd> --help
| from selenium import webdriver | |
| CHROME_PATH = "\path\to\chrome\driver" | |
| # https://www.sslproxies.org/ | |
| PROXIES = [ | |
| "1.10.251.190:8080", | |
| "13.94.36.9:1080", | |
| "182.52.238.119:40456", | |
| "52.230.6.90:8080", |
My first D3 map showing my travel across the US. This visualization was built by modifying choropleth example code by Scott Murray, tooltip example code by Malcolm Maclean, and legend code example by Mike Bostock.
| # ตาม guru.sanook.com/1520 | |
| import re | |
| t1 = str.maketrans("กขฃคฅฆงจฉชฌซศษสญยฎดฏตณนฐฑฒถทธบปผพภฝฟมรลฬฤฦวหฮอ", | |
| "กกกกกกงจชชชซซซซยยดดตตนนททททททบปพพพฟฟมรรรรรวหหอ") | |
| t2 = str.maketrans( | |
| "กขฃคฅฆงจฉชซฌฎฏฐฑฒดตถทธศษสญณนรลฬฤฦบปพฟภผฝมำยวไใหฮาๅึืเแโุูอ", | |
| "1111112333333333333333333444444445555555667777889AAABCDEEF") | |
| def LK82(s): | |
| res = [] |
| # BEFORE STARTING PUT libcudnn5_5.1.10-1+cuda8.0_amd64.deb AND libcudnn5-dev_5.1.10-1+cuda8.0_amd64.deb IN /tmp | |
| # OTHERWISE THIS WON'T WORK | |
| # This has been tested only on EC2 P2 xlarge instance with 16 GB storage and stock Ubuntu 16.04 | |
| # It's a setup for a playground EC2 machine to perform workshops with Jupyter Notebook on GPU. | |
| # It might contain some unnecessary crap | |
| # The process takes like 15 minutes | |
| pushd /tmp && | |
| stat libcudnn5_5.1.10-1+cuda8.0_amd64.deb && | |
| stat libcudnn5-dev_5.1.10-1+cuda8.0_amd64.deb && |
| #!/usr/bin/python | |
| from impacket import smb | |
| from struct import pack | |
| import os | |
| import sys | |
| import socket | |
| ''' | |
| EternalBlue exploit by sleepya | |
| The exploit might FAIL and CRASH a target system (depended on what is overwritten) |