利用 Docker 一键部署 Disqus 反向代理到服务器,请看 https://github.com/Ben02/disqus-lite 。
注意:服务器需有 nginx 和 php 环境。
注意:因为 proxy_pass
里包含变量,所以要到 nginx.conf
里增加一条配置:
http{
#coding=utf-8 | |
import requests | |
import json | |
import mimetypes | |
from PIL import ImageGrab | |
import datetime | |
def upload(files): | |
APIKey = "YOUR API KEY" | |
format = "json" |
var data = new FormData() | |
// Add data/files to formdata var | |
jQuery.ajax({ | |
url: wpApiSettings.root + 'routehere/v1/subroute/save', | |
type: 'POST', | |
beforeSend: function(xhr) { | |
xhr.setRequestHeader( 'X-WP-Nonce', wpApiSettings.nonce ); | |
}, |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
LCtrl & Tab:: AltTab | |
!Tab:: Send ^{Tab} | |
!+Tab:: Send ^+{Tab} | |
^Space:: Send ^{Esc} |
利用 Docker 一键部署 Disqus 反向代理到服务器,请看 https://github.com/Ben02/disqus-lite 。
注意:服务器需有 nginx 和 php 环境。
注意:因为 proxy_pass
里包含变量,所以要到 nginx.conf
里增加一条配置:
http{
We want to upload file to a server with POST HTTP request. We will use curl functions.
// data fields for POST request
$fields = array("f1"=>"value1", "another_field2"=>"anothervalue");
// files to upload
$filenames = array("/tmp/1.jpg", "/tmp/2.png");
ffmpeg -i in.mkv -f srt -i in.srt -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s srt out.mkv |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
import requests | |
import time | |
import re | |
import json | |
import time | |
def login(): | |
options = webdriver.ChromeOptions() |
Shader powered image transition
Forked from Szenia Zadvornykh's Pen THREE Text Animation #1.
A Pen by TAYLOR ENGEL on CodePen.