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
set main-view-id = yes | |
set main-view-id-width = 16 | |
set main-view-date = custom | |
set main-view-date-format = "%Y-%m-%dT%H:%M:%S%Z" | |
set main-view-author-width = 20 | |
bind generic C none | |
bind generic C !<git checkout %(commit) |
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "flutter_tools", | |
"request": "launch", |
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
fe4e273dccb328ea5e2291a730cf527cf7282187 | |
pip install esdk-obs-python --trusted-host pypi.org | |
{ | |
"tag": "", | |
"files": { | |
"darwin-arm64": "/Users/username/flutter_engine_3.22/artifacts.zip" | |
} | |
} | |
FLUTTER_OHOS_STORAGE_BASE_URL=https://flutter-ohos.obs.cn-south-1.myhuaweicloud.com |
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
alias gp="git pull" | |
alias gpr="git pull --rebase" | |
alias gc="git checkout ." | |
alias grs="git reset ." | |
alias gps="git push" | |
alias gpf="git push -f" | |
alias gcan="git commit --amend" | |
alias gcane="git commit --amend --no-edit" | |
alias gs="git status" | |
alias gd="git diff" |
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
[user] | |
name = <Name> | |
email = <email> | |
username = <username> | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |
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
New-NetFirewallRule -DisplayName "Block Sougou ConfigIE TCP" -Direction Inbound -Program "C:\Program Files (x86)\SogouWBInput\4.3.0.2160\ConfigIE.exe" -Protocol TCP -Action Block | |
New-NetFirewallRule -DisplayName "Block Sougou ConfigIE UDP" -Direction Inbound -Program "C:\Program Files (x86)\SogouWBInput\4.3.0.2160\ConfigIE.exe" -Protocol UDP -Action Block | |
New-NetFirewallRule -DisplayName "Block Sougou ErrorReport TCP" -Direction Inbound -Program "C:\Program Files (x86)\SogouWBInput\4.3.0.2160\ErrorReport.exe" -Protocol TCP -Action Block | |
New-NetFirewallRule -DisplayName "Block Sougou ErrorReport UDP" -Direction Inbound -Program "C:\Program Files (x86)\SogouWBInput\4.3.0.2160\ErrorReport.exe" -Protocol UDP -Action Block | |
New-NetFirewallRule -DisplayName "Block Sougou ImeUtil TCP" -Direction Inbound -Program "C:\Program Files (x86)\SogouWBInput\4.3.0.2160\ImeUtil.exe" -Protocol TCP -Action Block | |
New-NetFirewallRule -DisplayName "Block Sougou ImeUtil UDP" -Direction Inbound -Program "C:\Program Files (x86)\SogouWB |
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
cp /etc/apt/source.list /etc/apt/source.list.bak | |
rm /etc/apt/source.list | |
cat >>/etc/apt/sources.list<<EOF | |
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse | |
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse | |
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse | |
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse |
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
# Install dependencies that nginx was originally compiled with | |
sudo apt install libperl-dev libgeoip-dev libgd-dev | |
# Get the nginx source | |
wget https://nginx.org/download/nginx-1.14.0.tar.gz | |
tar zxf nginx-1.14.0.tar.gz | |
# Get the module source | |
wget https://github.com/fdintino/nginx-upload-module/archive/master.zip | |
unzip master.zip |
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
#! /bin/bash | |
method=`cat $1 | jq '.method'` | |
method1=`sed -e 's/^"//' -e 's/"$//' <<<"$method"` | |
password=`cat $1 | jq '.password'` | |
password1=`sed -e 's/^"//' -e 's/"$//' <<<"$password"` | |
server_port=`cat $1 | jq '.server_port'` | |
server_ip=`curl -s ip.sb` | |
url=$(echo -n "${method1}:${password1}@${server_ip}:${server_port}" | base64) |