vi /etc/sysctl.conf
# 将net.ipv4.ip_forward=0更改为net.ipv4.ip_forward=1
sysctl -p
DNS的解析方案为 resolve.conf ==> dnsmasq ==> cdns
source("./utils_APA.R") | |
## How ot use? | |
## | |
## Change the path of tsv and gtf file | |
## `chr_name` is the column name of chromosome in the tsv file, default is "Chromosome" | |
## `pos_name` is the column name of position in the tsv file, default is "End" | |
## `strand_name` is the column name of strand in the tsv file, default is "Strand" | |
tsv <- "./test_sites.tsv" |
" Automatically generated packer.nvim plugin loader code | |
if !has('nvim-0.5') | |
echohl WarningMsg | |
echom "Invalid Neovim version for packer.nvim!" | |
echohl None | |
finish | |
endif | |
packadd packer.nvim |
#!/usr/bin/env Rscript | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright © 2020 Ye Chang <[email protected]> | |
# Distributed under terms of the MIT license. | |
# | |
# Created: 2020-04-07 14:27 | |
f <- function(x) { |
void main() { | |
print([ | |
if (2 > 1) 222 else 333, | |
if (2 > 3) 444, | |
for (int i in Iterable.generate(10)) if (i % 3 == 1) i, | |
for (int i in Iterable.generate(10, (x) => x + 100)) if (i % 2 == 0) i | |
]); | |
} |
sns.set( | |
context="paper", | |
style="ticks", | |
font_scale=1, | |
rc={ | |
"xtick.labelsize": 16, | |
"ytick.labelsize": 16, | |
"axes.labelsize": 14, | |
"legend.fontsize": 16, | |
"lines.linewidth": 1.25, |
/************************************************************* | |
* File Name : surfingkeys_config.js | |
* Created By : Ye Chang | |
* Creation Date : [2017-12-22 21:55] | |
* Last Modified : [2023-11-19 13:35] | |
* Description : | |
**************************************************************/ | |
// ----------------------------------------------------------------------------------------------------------------------- | |
// - Surfingkeys: https://github.com/brookhong/Surfingkeys#properties-list |
"============================================================================= | |
" Configuration for SpaceVim ( URL: https://spacevim.org ) | |
" Edited by yech | |
"============================================================================= | |
" SpaceVim Wraped Options: {{{ | |
let g:spacevim_enable_debug = 1 | |
let g:spacevim_realtime_leader_guide = 1 | |
let g:spacevim_enable_tabline_filetype_icon = 1 |
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf | |
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf | |
sudo mv PowerlineSymbols.otf /usr/share/fonts/ | |
sudo fc-cache -vf | |
sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/ |