Skip to content

Instantly share code, notes, and snippets.

View yedanbo's full-sized avatar

叶丹波 yedanbo

View GitHub Profile
@yedanbo
yedanbo / dddd
Created June 30, 2021 04:58
dddddd
dddd
@yedanbo
yedanbo / createRandom().js
Last active June 18, 2021 02:36
生成不重复的随机数函数(JS)
// 生成随机数函数
function createRandom(num,from,to)
{
var arr=[]; // 随机数数组
var json={}; // 标记json对象
while(arr.length<num)
{
// 产生单个随机数
var ranNum=Math.round(Math.random()*(to-from))+from;
// 通过判断json对象的索引值是否存在 来标记 是否重复
@yedanbo
yedanbo / vscode-sync-setting-windows.md
Last active May 18, 2021 07:10
VSCode Sync Setting(Windows)

VSCode Sync Setting(Windows)

@yedanbo
yedanbo / CSScomb.sublime-settings
Last active May 29, 2020 02:12
CSScomb用户配置文件(JSON)
{
// If plugin has trouble finding Node.js, replace this string with path
// to your `node` bin
"node-path" : ":/usr/local/bin",
// Full list of supported options and acceptable values can be found here:
// https://github.com/csscomb/csscomb.js/blob/master/doc/options.md
"config": {
// Whether to add a semicolon after the last value/mixin.
@yedanbo
yedanbo / toolbar.cson
Created October 13, 2016 19:34
Atom工具栏配置文件
# This file is used by Flex Tool Bar to create buttons on your Tool Bar.
# For more information how to use this package and create your own buttons,
# read the documentation on https://atom.io/packages/flex-tool-bar
[
{
type: "button"
icon: "markdown"
callback: "markdown-preview:toggle"
tooltip: "Markdown 预览"
disble: "!markdown"
@yedanbo
yedanbo / file2.txt
Created May 14, 2017 05:51
test-secret
TEST
@yedanbo
yedanbo / file1.txt
Created May 14, 2017 05:35
My first gist
Aren't gists great!
Atom Sync-Settings 设置同步备份文件
@yedanbo
yedanbo / .zshrc
Last active August 23, 2016 03:35
ZSH配置文件
# Path to your oh-my-zsh installation.
export ZSH=/Users/yedanbo/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="ys"
# Uncomment the following line to use case-sensitive completion.
@yedanbo
yedanbo / SublimeLinter.sublime-settings
Created May 14, 2016 09:04
SublimeLinter 用户配置文件
{
"user": {
"debug": false,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Blueberry/round/Blueberry - round.gutter-theme",
"gutter_theme_excludes": [],
"installed_packages": [
"HTML-CSS-JS Prettify",
"Node Completions",