Current version: 1.0.19 1.0.15 (as of 2018-12-10)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding=utf-8 -*- | |
import Queue | |
import functools | |
import logging | |
import os | |
import re | |
import sys | |
import time | |
from functools import partial | |
from itertools import repeat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 声明:此备忘只供参考,并非权威方法,请参阅 Tor 和 ZeroNet 的安装和配置手册 | |
# Tor 相关 FAQ 见 http://*.*.*.*:43110/gfwtalk.bit/?Topic:37_13Z7XxTa7JuFat3KzzMWu3onwM6biLuurJ/+FAQ+6+1+Update+Freenet+VPS+ZeroNet+com+bit | |
# ZeroNet 集成的 Tor 版本并没有及时更新,现在最新版是 0.2.9.x | |
# 适用 Debian/Ubuntu/raspberryPi 等系统 | |
# 按照 Tor 官方文档安装最新版 Tor https://www.torproject.org/docs/debian.html.en#ubuntu | |
# 墙内使用 Tor 需要前置代理,推荐使用 Shadowsocks 作为前置代理,默认本地代理端口 1080 | |
# Tor 和 Shadowsocks 准备就绪后修改 /etc/tor/torrc 文件 | |
vi /etc/tor/torrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
## SCAN settings | |
FORMAT="-l 0 -t 0 -x 210 -y 297" | |
MODE=color | |
RESOLUTION=300 | |
LANG=deu | |
postprocess_scan() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This MCC script will find ads in your accounts that are ready for optimization. | |
// It will pause lower performing ads, and send the copy from the higher performing | |
// ad to a spreadsheet. | |
// | |
// There, you can tweak the copy or URLs. Then you can run the "Post Ad" script to post the | |
// variations to your accounts. The script will also find ad groups with only one ad and send | |
// that ad to the spreadsheet so that you can create a variation of it. | |
// | |
// In the spreadsheet, the "Notes" column will say "Better" (if the ad was better than the other) | |
// "Close" (if it was too close to call), or "Only" (if there was only one ad in the ad group). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This script will create ads based on the copy in your spreadsheet | |
// and label them "Optimized". | |
var SPREADSHEET_URL = "[INSERT-URL-HERE]"; | |
var spreadsheet = SpreadsheetApp.openByUrl(SPREADSHEET_URL); | |
// This script will delete the rows as it posts the ads, if you set CREATE_BACKUP | |
// to "true", it will copy the original sheet before deleting rows. | |
var CREATE_BACKUP = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding=utf-8 | |
# pip install zhihu_oauth | |
import os | |
import time | |
import json | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debian 8 && Ubuntu 14.04 && Raspberry Pi 2/3 及更高版本源码编译安装 OpenVPN 和 Mysterium Network(密链网络) | |
OpenVPN 部分适用于服务器端和客户端,也适用于 Raspberry Pi 2/3,如果提权麻烦可以切换成 root | |
首先更新系统并安装依赖包: | |
$ sudo apt-get update | |
$ sudo apt-get install autoconf automake libtool libssl-dev liblz4-dev liblz4-tool liblzo2- dev libpam0g-dev |
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
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!