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
xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync | |
xrandr --addmode DVI-0 "1440x900_60.00" | |
xrandr --output DVI-0 --mode "1440x900_60.00" | |
xrandr --output DVI-1 --mode "1920x1080" | |
xrandr --output DVI-0 --right-of DVI-1 |
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
%!Tex Program = xelatex | |
% -*-coding: utf-8 -*- | |
\documentclass[twocolumn]{article} | |
\usepackage[a4paper,text={180true mm,240true mm}]{geometry} | |
%\usepackage[a4paper,text={150true mm,224true mm},top=35.5true mm,left=30true mm,head=5true mm,headsep=2.5true mm,foot=8.5true mm]{geometry} | |
\usepackage[BoldFont,SlantFont]{xeCJK} | |
\usepackage{amsmath,latexsym,amssymb,amsfonts,amsbsy} | |
\usepackage{multirow} %使用Multirow宏包,使得表格可以合并多个row 格 | |
\usepackage{booktabs} % 表格,横的粗线;\specialrule{1pt}{0pt}{0pt} |
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
color.bar <- function( | |
lut, min, max=-min, nticks=11, | |
ticks=seq(min, max, len=nticks), title='',cexv=0.5 | |
) | |
{ | |
min<-as.integer(min); | |
max<-as.integer(max)+1; | |
scale = (length(lut)-1)/(max-min) | |
#dev.new(width=1.75, height=5) |
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
# Conky settings # | |
background no | |
update_interval 1 | |
cpu_avg_samples 2 | |
net_avg_samples 2 | |
override_utf8_locale yes | |
double_buffer yes |
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
#ds-thread .ds-powered-by{display:none!important;} | |
#ds-reset .ds-avatar img{ | |
-webkit-border-radius: 0px; | |
border-radius: 0px; | |
} | |
#ds-thread #ds-reset .ds-user-name { | |
font-size: 16px; | |
line-height: 20px; | |
} | |
#ds-thread #ds-reset .ds-comment-body p { |
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
body{ | |
color:#b08d58; | |
background:black; | |
} | |
.dsl_m1 { | |
font-family: Agency FB; | |
font-weight: bold; | |
color: #FF33FF; | |
font-size: 22px; | |
} |
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
autocmd BufRead,BufNewFile *.\(md\|mdown\|markdown\) set filetype=markdown |
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 color of terminal | |
if has ('gui_running') | |
else | |
set term=builtin_xterm | |
set term=xterm-256color | |
endif | |
set t_Co=256 | |
"set path of plugin | |
set runtimepath+=~/.vim/l9 |
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
########################################################################### | |
# SNIPPETS for MARKDOWN # | |
########################################################################### | |
########################### | |
# Sections and Paragraphs # | |
########################### | |
snippet sec "Section" b | |
# ${1:Section Name} # | |
$0 |
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 | |
vim `date +%Y-%m-%[email protected]`; | |
sed -i -e 's/\(tags\s*:\)\(.*\)/\1\L\2/g' `date +%Y-%m-%[email protected]`; |