Getting started:
Related tutorials:
package main | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
"github.com/gin-gonic/gin" | |
) |
(function() { | |
// TinyColor v1.4.1 | |
// https://github.com/bgrins/TinyColor | |
// 2016-07-07, Brian Grinstead, MIT License | |
var trimLeft = /^\s+/, | |
trimRight = /\s+$/, | |
tinyCounter = 0, | |
mathRound = Math.round, | |
mathMin = Math.min, | |
mathMax = Math.max, |
export function getRandomStr( | |
length = 10, | |
type: 'all' | 'number' | 'latin' = 'all', | |
) { | |
const seedMap = { | |
all: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', | |
number: '0123456789', | |
latin: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', | |
}; | |
const strs = seedMap[type] || seedMap.all; |
{"lastUpload":"2019-05-17T02:21:07.889Z","extensionVersion":"v3.2.9"} |
'Input Mono', | |
'Fira Code', | |
CamingoCode, | |
Consolas, | |
'Courier New', | |
monospace |
<!doctype> | |
<html> | |
<head> | |
<title>CSS 倒计时</title> | |
<style> | |
.interval-wrapper { | |
position: relative; | |
margin: 40px auto; | |
background: white; |
redis-cli -a yourpassword KEYS "_profile_*" | xargs redis-cli -a yourpassword DEL |
IS_NODE = | |
typeof global !== "undefined" && | |
new Object().toString.call(global) === "[object global]" |
Getting started:
Related tutorials:
echo $(git status -s | grep -ci "") |