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
Plug 'preservim/nerdtree' | |
Plug 'tpope/vim-surround' | |
Plug 'easymotion/vim-easymotion' | |
Plug 'terryma/vim-multiple-cursors' | |
Plug 'michaeljsmith/vim-indent-object' | |
Plug 'tommcdo/vim-exchange' | |
set textobj-indent | |
" argtextobj config |
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
/* @settings | |
name: "Folder Icon" | |
id: foldericon | |
settings: | |
- | |
id: size | |
type: variable-number | |
format: px | |
default: 18 | |
title: Icon Size |
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
main=#2e3340 | |
main-dark=#2e3340 | |
main-light=#2e3340 | |
text=#e5e9f0 | |
text-light=#3b4251 | |
text-dark=#e5e9f0 | |
text-disabled=#424b5d | |
primary=#d8dee8 | |
info=#81a1c1 | |
success=#a3be8b |
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
@startuml | |
' uncomment the line below if you're using computer with a retina display | |
' skinparam dpi 300 | |
!define Table(name,desc) class name as "desc" << (T,#FFAAAA) >> | |
' we use bold for primary key | |
' green color for unique | |
' and underscore for not_null | |
!define primary_key(x) <b>x</b> | |
!define unique(x) <color:green>x</color> | |
!define not_null(x) <u>x</u> |
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/sh | |
if [ "root" = `whoami` ]; then | |
echo "请勿使用 root 运行此脚本! 请切换成普通用户!" | |
exit 1 | |
fi | |
source /etc/profile |
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
Vue.directive('cutdowntime', { | |
currentTime: 60, | |
isValidated: false, | |
bind: function () { | |
var self = this; | |
//self.vm; | |
//console.log(self.vm.$sign_phone_validation.phone.valid); | |
self.el.addEventListener('click', function (e) { | |
//if (self.vm.$sign_phone_validation.phone.valid) { |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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
package com.baimes.utils; | |
import java.io.*; | |
import java.text.DateFormat; | |
import java.text.SimpleDateFormat; | |
import java.util.Date; | |
/** | |
* Created by Ds_Kidd on 2015/4/7 0007. | |
*/ |
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
package com.baimes.utils; | |
import java.io.*; | |
/** | |
* Created by Ds_Kidd on 2015/4/3 0003. | |
* 将文件转换为byte数组,一般用于图片,视屏,及音频 | |
*/ | |
public class FileToByteArr { |