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
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
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
# 1. Generate an API Token from dnspod.cn | |
# 2. create a record first | |
# 3. change $TMP_FILE | |
# 4. get your $DOMAIN_ID | |
# 5. change $NEW_IP generation method. | |
# 6. sudo apt-get install jq | |
TOKEN=12345,1234567890abcdef1234567890abcdef #TODO: change this TOKEN. | |
TMP_FILE=/tmp/scateu.me.list #TODO |
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
<div id="main" data-width="512"> | |
<canvas></canvas> | |
</div> | |
<div id="controller"></div> |
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
<div id="particles-js"> <h1>Particles.js</h1> | |
</div> |
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
<div id="home" data-role="page"> | |
<div role="main" class="ui-content"> | |
<!--red--> | |
<div style="width:100%; text-align:center; margin-top:20px; font-size:20px; font-weight:500;">Material Design - Progress and Activity</div> | |
<div style="width:100%; text-align:center; margin-top:10px;"> | |
<div class="sd"> | |
<svg class="loading-bg-red" width="100" height="100" x="0" y="0" style="position:absolute; top:0; left:0;"> | |
<circle cx="50" cy="50" r="25" stroke="rgba(255,100,120,.2)" stroke-width="0" fill="none" stroke-dasharray="156,156" stroke-dashoffset="0" stroke-linecap="round"></circle> | |
</svg> |
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
<ul> | |
<li></li> | |
<li></li> | |
<li></li> | |
</ul> |
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
// Mixins | |
mixin input(type, label) | |
.input-container | |
input(type='#{type}' id='#{label}' required) | |
label(for='#{label}')=label | |
.bar | |
mixin button(text) | |
.button-container | |
button | |
span=text |
This is a Javascript plugin I am working on for floating notifications. It is a work in progress.
A Pen by Saransh Sinha on CodePen.
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
#ctrl a | |
set -g prefix ^a | |
unbind ^b | |
bind a send-prefix | |
#此类配置可以在命令行模式中输入show-options -g查询 | |
#set-option -g base-index 1 #窗口的初始序号;默认为0,这里设置为1 | |
set-option -g display-time 5000 #提示信息的持续时间;设置足够的时间以避免看不清提示,单位为毫秒 | |
set-option -g repeat-time 1000 #控制台激活后的持续时间;设置合适的时间以避免每次操作都要先激活控制台,单位为毫秒 | |
set-option -g status-keys emacs #操作状态栏时的默认键盘布局;可以设置为vi或emacs | |
set-option -g status-right "#(date +%H:%M' ')" #状态栏右方的内容;这里的设置将得到类似23:59的显示 |
OlderNewer