关键问题 ref: orbstack/orbstack#1305
在 Docker advanced engine config 里加proxies 里的配置:
{
"proxies" : {
"http-proxy" : "http:\/\/127.0.0.1:8888",
在 Docker advanced engine config 里加proxies 里的配置:
{
"proxies" : {
"http-proxy" : "http:\/\/127.0.0.1:8888",
# WARNING: This docker-compose.yml is only for testing purpose. | |
# Parameters: | |
# name: None | |
# - description: Major ports are exposed to host computer | |
# - zookeeper: 2181 | |
# kafka1: 9091 | |
# kafka2: 9092 | |
# kafka3: 9093 | |
# kafka3: 9094 | |
# Tips:> |
当不使用 multi pipline 的时候 ,配置 hook: | |
``` | |
如果用户名有 @ 符号,转码成 %40 | |
这样可以在命令行调用: | |
curl -X POST https://aaa%40bb.cc:[email protected]/job/my-job-one/build | |
git webhook 则直接使用以下地址: | |
https://aaa%40bb.cc:[email protected]/job/my-job-one/build |
php的grpc扩展 下载地址: http://pecl.php.net/package/gRPC 安装过程:
phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
# 添加grpc.so到php.ini配置
https://github.com/jaiminpan/pg_jieba
先执行 pg_config
跟着安装,发送错误
-- The C compiler identification is GNU 5.4.0
There are some great answers here, but many are out of date. Since May 2016, Raspbian has been able to copy wifi details from /boot/wpa_supplicant.conf into /etc/wpa_supplicant/wpa_supplicant.conf to automatically configure wireless network access:
If a wpa_supplicant.conf file is placed into the /boot/ directory, this will be moved to the /etc/wpa_supplicant/ directory the next time the system is booted, overwriting the network settings; this allows a Wifi configuration to be preloaded onto a card from a Windows or other machine that can only see the boot partition. wpa config update
Since the /boot partition is accessible by any computer with an SD card reader, wifi configuration is now much simpler.
A skeleton wpa_supplicant.conf file can be as little as:
安装lua扩展的前提是lua已经安装好,如果没有安装,参照
1.http://pecl.php.net/package/lua 下载lua扩展 或者Linux下直接输入 wget -c http://pecl.php.net/package/lua/get/lua-1.0.0.tgz 如果出现域名无法解析的提示
2.解压文件 tar xzvf lua-1.0.0.tgz 进入lua-1.0.0.tgz 运行 phpize 命令 得到如下提示:
表示所下的扩展没有问题,运行 ./configure --prefix=/usr/local/phplua --with-php-config=/usr/local/bin/php-config --with-lua=/usr/local/lua(我自己的lua路径 视情况而定)然后运行 make 得到如下提示:
/************************************/ | |
基本命令 | |
C-x C-f 打开/新建文件 | |
C-x C-s 保存当前缓冲区 | |
C-x C-w 当前缓冲区另存为 | |
C-x C-v 关闭当前Buffer并打开新文件 | |
C-x i 光标处插入文件 | |
C-x b 切换Buffer | |
C-x C-b 显示Buffer列表 | |
C-x k 关闭当前Buffer |
Linux 安装 Package 可以参考 https://help.getsync.com/hc/en-us/articles/206178924 这里
echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list
wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add -
#!/bin/bash | |
# update_gfwlist.sh | |
# Author : VincentSit | |
# Copyright (c) http://xuexuefeng.com | |
# | |
# Example usage | |
# | |
# ./whatever-you-name-this.sh | |
# | |
# Task Scheduling (Optional) |