Skip to content

Instantly share code, notes, and snippets.

View WangShuXian6's full-sized avatar

王树贤 WangShuXian6

  • 哈银消费金融科技管理部
  • beijing
View GitHub Profile
@WangShuXian6
WangShuXian6 / docker-compose.yml
Last active April 29, 2020 19:39 — forked from crapthings/docker-compose.yml
docker-compose rs init
version: '3'
services:
mongo1:
hostname: mongo1
container_name: localmongo1
image: mongo
restart: always
expose:
- 27017
ports:
@WangShuXian6
WangShuXian6 / index.html
Created March 16, 2018 05:06 — forked from MAKIO135/index.html
Using canvas as ThreeJS texture
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body style="background:#fff;">
<script src="http://cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js"></script>
<canvas id="canvas"></canvas>
<script id="jsbin-javascript">
@WangShuXian6
WangShuXian6 / git-branch.md
Created February 3, 2018 06:19 — forked from yisibl/git-branch.md
在Mac、Linux 终端显示 Git 当前所在分支

在Mac、Linux 终端显示 Git 当前所在分支

  1. 进入你的home目录
cd ~
  1. 编辑.bashrc文件
Possible Errors(可能的错误)
The following rules point out potential errors in your CSS.(潜在错误)
Beware of box model size(当心盒模型)
Require properties appropriate for display (给display使用合适的属性)
Disallow duplicate properties(不要使用重复属性)
Disallow empty rules(不要使用空属性值)
Require use of known properties(不要使用未知属性)
Compatibility(兼容性)
@WangShuXian6
WangShuXian6 / .jshintrc
Created January 31, 2018 01:13 — forked from zhenyong/.jshintrc
jshint配置中文注释
{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details
//jshint options document: [http://jshint.com/docs/options/#strict](http://jshint.com/docs/options/#strict)
"maxerr" : 50, // {int} 超过{int}个错误后,停止检测错误
// Enforcing
"bitwise" : false, // true: 禁止使用位逻辑符 (&, |, ^, ...)
"camelcase" : false, // true: 变量名必须是驼峰风格
@WangShuXian6
WangShuXian6 / nginx.conf
Created January 24, 2018 10:00 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048