0%

DADF#AD 这么调:


奇迹的山

  • 6弦降1个全音
  • 4、5弦不调
  • 3弦降半个音
  • 2、1弦降1个全音

或者如下(手机 guitar tuna)正常调弦

  • 6弦 夹 2品
  • 4、5弦不调
  • 3弦 夹 1品
  • 2、1弦 夹 2品

cgdgad 时间旅行 流行的云

  • 6弦 夹 4品
  • 5弦 夹 2品
  • 3、4弦不调
  • 2弦 夹 2品
  • 1弦 夹 2品

走音 - you are not alone
中川砂仁 - 風の伯爵夫人
押尾 - Promise
岸部 - time travel
GIN - 願望的櫻花
中川砂仁 - hua lien
岸部真明 - Black Baccara
走音 - 蝶戀花
岸部真明 - 流星
Rusi - 菊花台

其它

标准调弦是 1=E,2=B,3=G,4=D,5=A,6=E

则Time travel的特殊调弦是 1=D,2=A,3=G,4=D,5=G,6=C

1
2
3
epgis.workerUrl = window.URL.createObjectURL(new Blob([workerBundleString],{
type: 'text/javascript'
}));
1
2
3
4
5
6
7
8
9
10
getImageData: function(t) {
var e = self.document.createElement("canvas")
, r = e.getContext("2d");
if (!r)
throw new Error("failed to create canvas 2d context");
return e.width = t.width,
e.height = t.height,
r.drawImage(t, 0, 0, t.width, t.height),
r.getImageData(0, 0, t.width, t.height)
}
1
2
3
4
5
6
7
8
9
10
var V, F, O = {
API_URL: "",
get EVENTS_URL() {},
FEEDBACK_URL: "https://apps.epgis.com/feedback",
REQUIRE_ACCESS_TOKEN: !0,
ACCESS_TOKEN: null,
MAX_PARALLEL_IMAGE_REQUESTS: 1600,
PROJECT_TYPE: "EPSG:3857",
VERSION: "1.5.4"
}
1
2
3
var s = this._UAParser.getDevice().type;
e.style = "mobile" == s ? "aegis://styles/aegis/Streets-Raster512" : "aegis://styles/aegis/Streets";
}

1
javascript:var%20currentsite%3Ddocument.querySelector(%22meta%5Bproperty%3D'al%3Aandroid%3Aapp_name'%5D%22)%3Fdocument.querySelector(%22meta%5Bproperty%3D'al%3Aandroid%3Aapp_name'%5D%22).content%3Awindow.location.href%3Bfunction%20isPage(b)%7Bconsole.log(b%2B%22%20%22%2Bcurrentsite.includes(b))%3Breturn%20currentsite.includes(b)%7Dfunction%20process(b)%7Bvar%20a%3Db%3BisPage(%22NYTimes%22)%26%26(document.querySelector(%22html%22).innerHTML%3Da)%3BisPage(%22Medium%22)%26%26(a%3Db.replace(%2F%3C%5C%2F%3Fnoscript%3E%2Fg%2C%22%22)%2Cdocument.querySelector(%22html%22).innerHTML%3Da)%3Bif(isPage(%22Bloomberg%22)%7C%7CisPage(%22businessinsider%22))a%3Ddocument.createElement(%22html%22)%2Ca.innerHTML%3Db%2Ca.querySelectorAll(%22script%22).forEach(function(a)%7Breturn%20a.outerHTML%3D%22%22%7D)%2Ca%3Da.outerHTML%2Cdocument.open()%2Cdocument.write(a)%2Cdocument.close()%3BisPage(%22businessinsider%22)%26%26(a%3Ddocument.createElement(%22html%22)%2Ca.innerHTML%3Db%2Ca.querySelectorAll(%22script%22).forEach(function(a)%7Breturn%20a.outerHTML%3D%22%22%7D)%2Ca.querySelectorAll(%22figure%22).forEach(function(a)%7Ba.innerHTML%3Da.querySelector(%22noscript%22).innerHTML%7D)%2Ca%3Da.outerHTML%2Cdocument.open()%2Cdocument.write(a)%2Cdocument.close())%7Dfetch(window.location.href%2C%7Bcredentials%3A%22omit%22%2Credirect%3A%22follow%22%2Cmode%3A%22no-cors%22%7D).then(function(b)%7Breturn%20b.text()%7D).then(function(b)%7Bprocess(b)%7D)%3Bvoid+0
1
var currentsite=document.querySelector("meta[property='al:android:app_name']")?document.querySelector("meta[property='al:android:app_name']").content:window.location.href;function isPage(b){console.log(b+" "+currentsite.includes(b));return currentsite.includes(b)}function process(b){var a=b;isPage("NYTimes")&&(document.querySelector("html").innerHTML=a);isPage("Medium")&&(a=b.replace(/<\/?noscript>/g,""),document.querySelector("html").innerHTML=a);if(isPage("Bloomberg")||isPage("businessinsider"))a=document.createElement("html"),a.innerHTML=b,a.querySelectorAll("script").forEach(function(a){return a.outerHTML=""}),a=a.outerHTML,document.open(),document.write(a),document.close();isPage("businessinsider")&&(a=document.createElement("html"),a.innerHTML=b,a.querySelectorAll("script").forEach(function(a){return a.outerHTML=""}),a.querySelectorAll("figure").forEach(function(a){a.innerHTML=a.querySelector("noscript").innerHTML}),a=a.outerHTML,document.open(),document.write(a),document.close())}fetch(window.location.href,{credentials:"omit",redirect:"follow",mode:"no-cors"}).then(function(b){return b.text()}).then(function(b){process(b)});void+0

mac 鼠标速度

查看

1
defaults read -g com.apple.mouse.scaling 

设置 (推荐 8 - 10)

1
defaults write -g com.apple.mouse.scaling 8

via https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#layout-line-line-miter-limit

line-cap 两头

  • butt 默认
  • round 圆角
  • square (感觉就是 butt 前进了一步)

Layout property. Optional enum. One of “butt”, “round”, “square”. Defaults to “butt”.

1
test.map.setLayoutProperty('layer_goudao','line-cap','round')

line-join 拐弯

默认是 miter

  • bevel 拐弯是直的
  • round 圆角
  • miter 默认

Layout property. Optional enum. One of “bevel”, “round”, “miter”. Defaults to “miter”.

1
test.map.setLayoutProperty('layer_goudao','line-join','round')

line-miter-limit

拐弯:修饰 尖角

Layout property. Optional number. Defaults to 2. Requires line-join to be “miter”. Supports interpolateexpressions.

Used to automatically convert miter joins to bevel joins for sharp angles.

line-round-limit

如果 line-join 是 “round” 的情况下 浅角(尖角的相反)

拐弯:修饰 浅角

Layout property. Optional number. Defaults to 1.05. Requires line-join to be “round”. Supports interpolateexpressions.

Used to automatically convert round joins to miter joins for shallow angles.

line-pattern

宽度必须偶数

Paint property. Optional resolvedImage. Transitionable.

Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, …, 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

line-offset

(线自己的)左右偏移(像素)

Paint property.

line-translate

偏移

Paint property. Optional array of numbers. Units in pixels. Defaults to [0,0]. Supports interpolateexpressions. Transitionable.

mapbox 铁路 层

{
“id”: “Railway/1”,
“type”: “line”,
“source”: “epgis”,
“source-layer”: “Railway”,
“minzoom”: 10,
“filter”: [
“==”,
“_symbol”,
0
],
“layout”: {
“line-join”: “round”,
“visibility”: “visible”
},
“paint”: {
“line-opacity”: 1,
“line-color”: “#fff”,
“line-width”: 2.66667
}
}

{
“id”: “Railway/0”,
“type”: “line”,
“source”: “epgis”,
“source-layer”: “Railway”,
“minzoom”: 10,
“filter”: [
“==”,
“_symbol”,
0
],
“layout”: {
“line-join”: “round”,
“visibility”: “visible”
},
“paint”: {
“line-opacity”: 1,
“line-color”: “red”,
“line-dasharray”: [
6,
6
],
“line-width”: [
“interpolate”,
[
“linear”
],
[
“zoom”
],
7, 1, 8, 2
]
}
}

楼层

fs = test.map.querySourceFeatures(“epgis”, {
sourceLayer: ‘Building’,
});

test.map.setLayerZoomRange(‘Building’, 7, 20);

test.map.getStyle().layers.find(a=>{
return a.id == ‘Building’
})

)

====

隐藏 光缆层

test.map.setLayoutProperty(‘layer_line’,’visibility’,’none’)

显示 光缆层

test.map.setLayoutProperty(‘layer_line’,’visibility’,’visible’)

切换 沟道 line-pattern( line2 line3 line4 line5 )

test.map.setPaintProperty(‘layer_goudao’,’line-pattern’,’line5’)

切换 沟道 透明度

test.map.setPaintProperty(‘layer_goudao’,’line-opacity’,.8)

if(1==1){
let c = 123
console.log(c)
}

if(2==2){
let c = 456
console.log(c)
}

console.log(c)

====

test.map.setLayoutProperty(‘temp_line’,’visibility’,’visible’) // none

test.map.setLayoutProperty(‘layer_goudao_text3’,’visibility’,’none’)

test.map.moveLayer(‘layer_goudao_text3’,’temp_line’)

test.map.setLayoutProperty(‘temp_line’,’visibility’,’none’)

mapbox mask 交错 bug

preserveDrawingBuffer:true,

mac 安装 telnet

https://hakk.dev/blog/posts/getting-telnet-on-macos-catalina/#:~:text=Installing%20Telnet%20on%20MacOS%20by%20Building%20Telnet%20from,Extract%20the%20source%204%20Configure%20and%20build.%20

系统偏好设置 - 用户与群组 - 登录项

检查plist文件

1
2
3
4
5
6
~/Library/Preferences/ – (当前用户设置的进程)
~/Library/LaunchAgents/ – (当前用户的守护进程)
/Library/LaunchAgents/ – (管理员设置的用户进程)
/Library/LaunchDaemons/ – (管理员提供的系统守护进程)
/System/Library/LaunchAgents/ – (Mac操作系统提供的用户进程)
/System/Library/LaunchDaemons/ – (Mac操作系统提供的系统守护进程)

launchctl

1
2
3
4
5
6
# 查看anydesk服务名
launchctl list | grep anydesk
# 停止服务
launchctl stop com.philandro.anydesk
# 移除服务
launchctl unload com.philandro.anydesk

按修改时间排序

顺便修改 hexo butterfly 主题

在目录

themes/butterfly/source/css/_mode/

添加

gs.styl

默认是 1087(不是 1086 也不是 1089)

1
2
export http_proxy='http://127.0.0.1:1087'
export https_proxy=$http_proxy

测试地址

1
curl https://www.bbc.com/

写入 ~/.zshrc

1
alias p10='export http_proxy="http://127.0.0.1:1087";export https_proxy=$http_proxy;echo -e 已开启代理'

或者

1
2
3
4
5
6
7
8
9
10
11
function proxy(){
export http_proxy='http://127.0.0.1:1087'
export https_proxy=$http_proxy
echo " \e[41m 已开启代理"
}

function proxy_off(){
unset http_proxy
unset https_proxy
echo -e "已关闭代理"
}

注意 = 后面不能有空格!!!!

export http_proxy=这里不能有空格’http://127.0.0.1:1087'

shell 颜色语法

1
2
3
\e
\033
\x1B

tput 颜色

1
2
3
4
red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput sgr0`
echo "${red}red text ${green}green text${reset}"
1
echo "$(tput setaf 1)Red text $(tput setab 7)and white background$(tput sgr 0)"

tput setab [1-7] # Set the background colour using ANSI escape
tput setaf [1-7] # Set the foreground colour using ANSI escape

Num Colour #define R G B

0 black COLOR_BLACK 0,0,0
1 red COLOR_RED 1,0,0
2 green COLOR_GREEN 0,1,0
3 yellow COLOR_YELLOW 1,1,0
4 blue COLOR_BLUE 0,0,1
5 magenta COLOR_MAGENTA 1,0,1
6 cyan COLOR_CYAN 0,1,1
7 white COLOR_WHITE 1,1,1

字符画

1
2
3
4
5
6
7
  ,--,   .-. .-. .---.    .---. .-. .-..-. .-.  .--.  .-. .-.  ,--,   
.' .' | | | |/ .-. ) ( .-._)| | | || | | | / /\ \ | \| |.' .'
| | __ | | | || | |(_)(_) \ | `-' || | | |/ /__\ \| | || | __
\ \ ( _)| | | || | | | _ \ \ | .-. || | | || __ || |\ |\ \ ( _)
\ `-) )| `-')|\ `-' /( `-' ) | | |)|| `-')|| | |)|| | |)| \ `-) )
)\____/ `---(_) )---' `----' /( (_)`---(_)|_| (_)/( (_) )\____/
(__) (_) (__) (__) (__)

vscode 命令行

Command+Shift+p 输入 shell

选择 install code command in path

在终端打开项目

1
code 目录名  

原理

其实是放了链接

1
/usr/local/bin

查看

1
which code

其他方式

1
open -a "Visual Studio Code"

vsode 根据项目修改颜色

https://dockyard.com/blog/2019/07/15/follow-these-steps-to-enable-vs-code-color-customization

编辑 .vscode/settings.json

1
2
3
4
5
6
7
8
9
10
{
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#a8e6cf",
"titleBar.inactiveBackground": "#a8e6cf",
"titleBar.activeForeground": "#000",
"titleBar.inactiveForeground": "#000",
"statusBar.foreground": "#000",
"statusBar.background": "#a8e6cf"
}
}

加入 .gitignore

Open Terminal

Run touch ~/.gitignore_global to create a global .gitignore file in your home directory

Run open ~/.gitignore_global to open the file

Add .vscode/ to the file

Run git config –global core.excludesfile ~/.gitignore_global

1
sudo apachectl start
1
sudo apachectl stop

配置文件路径为 /etc/apache2/httpd.conf

站点的根目录为 /Library/WebServer/Documents/

修复 git

升级 mac monterey 以后 git 坏了

1
xcode-select --install

This will download and install the Command Line Tools package and fix the problem.

You do not need Xcode, you can install only the Command Line Tools here, it is about 130Mb.

If the above alone doesn’t do it, then also run:

xcode-select –reset

  • 按住 command 直接拖动
  • 拖出删除
  • 重新出现 一般在 Dock & Menu Bar 或者 软件自己的设置中

第三方 dozer 或者 Bartender

nodejs

官网

brew

https://brew.sh

官网因墙有问题

1
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

iterm

https://makeoptim.com/tool/terminal

注意:要下载字体,否则显示问号

sublime

如果是在默认shell下,

sudo ln -s “/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl” /usr/bin/subl

使用zsh的可以使用以下命令

alias subl=”‘/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl’”
alias nano=”subl”
export EDITOR=”subl”

====

alias subl=”open -a Sublime\ Text\ 2”

保存后执行source ~/.bash_profile,然后就可以用subl打开文本了