Use Python to:
- send a plain text email
- send an email with attachment
- receive and filter emails according to some criteria
# XCode Command Line Tools | |
>xcode-select --install | |
# Install Homebrew | |
>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
>echo PATH=/usr/local/bin:/usr/local/sbin:$PATH >> ~/.bash_profile | |
>source ~/.bash_profile | |
>brew tap homebrew/versions |
Use Python to:
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo | |
echo usage: $0 network-interface | |
echo | |
echo e.g. $0 eth0 | |
echo | |
echo shows packets-per-second |
To install tcptraceroute on Debian/Ubuntu:
$ sudo apt-get install tcptraceroute
To install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then:
$ sudo yum install tcptraceroute
解锁教程:http://bbs.gfan.com/android-8404948-1-1.html
platform-tools 地址: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
简述:开发者模式中开启 OEM 解锁后,重启手机进入 bootloader 模式,在电脑端运行 fastboot oem unlock
原厂镜像(v7.1.1)地址: https://dl.google.com/dl/android/aosp/sailfish-nof27b-factory-5a8a6e11.zip
// includes China Mobile, China Unicom, China Telecom | |
const isChinaPhoneNumber = phone => /^1(?:70\d|(?:9[89]|8[0-24-9]|7[135-8]|66|5[0-35-9])\d|3(?:4[0-8]|[0-35-9]\d))\d{7}$/.test(phone) |
#!/bin/bash | |
################################################################################ | |
# VMware Workstation Local Privilege Escalation exploit (CVE-2017-4915) # | |
# - https://www.vmware.com/security/advisories/VMSA-2017-0009.html # | |
# - https://www.exploit-db.com/exploits/42045/ # | |
# # | |
# Affects: # | |
# - VMware Workstation Player <= 12.5.5 # | |
# - VMware Workstation Pro <= 12.5.5 # | |
################################################################################ |