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
function Rocker(name){ | |
this.name = name; | |
}; | |
Rocker.prototype.getName = function(){ | |
return this.name; | |
} | |
//https://rockjins.github.io/2017/01/18/new-object/ |
OlderNewer