Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
import json | |
import time | |
def lagou_search_url(keyword, city, district=None): | |
url_base = 'https://www.lagou.com/jobs/' | |
if district: | |
return (url_base + 'list_' + keyword |
from selenium.webdriver.chrome.options import Options | |
from selenium import webdriver | |
import time | |
chrome_options = Options() | |
chrome_options.binary_location = 'Chrome/chrome.exe' | |
webdriver_path = 'Utils/chromedriver.exe' | |
driver = webdriver.Chrome( |
/** | |
* 2018 年刑侦科推理试题 | |
* | |
* 1. 这道题的答案是: | |
* A. A B. B C. C D. D | |
* | |
* 2. 第 5 题的答案是: | |
* A. C B. D C. A D. B | |
* | |
* 3. 以下选项中哪一题的答案与其它三项不同: |
{"lastUpload":"2018-10-27T00:54:27.927Z","extensionVersion":"v3.2.0"} |
Sub captical() | |
Selection.WholeStory | |
Selection.Find.ClearFormatting | |
Selection.Find.Replacement.ClearFormatting | |
With Selection.Find.Replacement.Font | |
.SmallCaps = False | |
.AllCaps = True | |
End With | |
With Selection.Find | |
.Text = "<([A-Za-z])" |
#!/bin/sh | |
# | |
# msys2-sshd-setup.sh — configure sshd on MSYS2 and run it as a Windows service | |
# | |
# Please report issues and/or improvements to Sam Hocevar <[email protected]> | |
# | |
# Prerequisites: | |
# — MSYS2 itself: http://sourceforge.net/projects/msys2/ | |
# — admin tools: pacman -S openssh cygrunsrv mingw-w64-x86_64-editrights | |
# |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000