Hexo搭建的Github博客提交给Baidu、Google检索的问题

本文旨在解决Hexo与github搭建的博客加入Google、Baidu的问题,不会提供从最原始的搭建博客的方法(若你想从头开始搭建,请参考@【传送门】)。由于Github屏蔽了百度爬虫抓取Github的网页内容,github上搭建的独立博客无法加入百度检索。

阅读更多

CentOS 7 恢复开机引导

在已装有Windows 10的电脑上装配CentOS 7后重启计算机发现没有windows 10 启动项

解决步骤:

  • 安装utfs-3g以识别和读取windows文件系统

阅读更多

Bash on Ubuntu on windows

本文旨在介绍Bash Oon Ubuntu on windows 上 oh-my-zsh的安装。

Bash 安装

安装该bash目前需windows操作系统OS build 晚于14393.0,
按照windows官方给出的安装教程进行安装即可获得bash on Ubuntu on windows。

阅读更多

Perl_command

Perl 常用正则表达实例

  • /perl/ 匹配含有子串”perl”的字符串

阅读更多

反透射系数计算

P-SV波系计算

在双层固态界面上,利用上下界面的波速、密度和水平波幔度数据可以计算出本分界面上的所有反投射系数。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
!RTCOEF calculates P/SV reflection/transmission coefficients
! for an interface between two solid layers,based on the
! equations on P.149-150 of Aki and Richards. This version
! is modified from an older routine provided bt Tom Sereno.
!
! Inputs: vp1 = P-wave velocity of layer 1 (top layer)
! (real) vs1 = S-wave velocity of layer 1
! den1 = density of layer 1
! vp2 = p-wave velocity of layer 2 (bottom layer)
! vs2 = s-wave velocity of layer 2
! den2 = density of layer 2
! hslow = horizontal slowness (ray parameter)
! Returns: rt(1) = down P to P up (ref1)
! (complex) rt(2) = down P to S up (refl)
! rt(3) = down P to P down (tran)
! rt(4) = down P to S down (tran)
! rt(5) = down S to P up (refl)
! rt(6) = down S to S up (refl)
! rt(7) = down S to P down (tran)
! rt(8) = down S to S down (tran)
! rt(9) = up P to P up (tran)
! rt(10) = up P to S up (tran)
! rt(11) = up P to P down (refl)
! rt(12) = up P to S down (refl)
! rt(13) = up S to P up (tran)
! rt(14) = up S to S up (tran)
! rt(15) = up S to P down (refl)
! rt(16) = up S to S down (refl)
! Notes: All input variables are real
! All output variables are complex
! Coefficients are not energy normalized.
!
! Editor: Xiao Xiao
!
! Email: XiaoX@whu.edu.cn

阅读更多

地震学数据网站

本文旨在搜集博主用到与见到的地震学数据提供网站

定位数据网站

PDE

Preliminary Determination of Epicenters   是USGS用高频体波震相提取的相位到时和相位振幅计算的初始辐射点的时间和空间位置。

阅读更多