csrutil disable
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
#!/usr/bin/env bash | |
set -e | |
SNAP_DATA=/var/snap/microk8s/current | |
SNAP=/snap/microk8s/current | |
CONFIG_DIR=/var/snap/microk8s/current/args | |
source ${SNAP}/actions/common/utils.sh | |
# update the kube-apiserver | |
refresh_opt_in_local_config "enable-admission-plugins" "PodNodeSelector" kube-apiserver | |
refresh_opt_in_local_config "feature-gates" "IPv6DualStack=true,StatefulSetMinReadySeconds=true" kube-apiserver |
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
<!DOCTYPE html> | |
<html style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"> | |
<head> | |
<meta name="viewport" content="width=device-width" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>{{object}}: {{event}}</title> | |
<style type="text/css"> | |
img { | |
max-width: 100%; | |
} |
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 calCulate(time) { | |
var time = parseInt(document.getElementById("day").value); | |
//const yearDay = 365; | |
//const monthDay = 30; | |
//const weekDay = 7; | |
var year = 0, | |
month = 0, | |
week = 0, | |
day = 0; |
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
module.exports = { | |
parser: "@typescript-eslint/parser", | |
extends: [ | |
"react-app", | |
"prettier", | |
"plugin:@typescript-eslint/recommended", | |
"plugin:prettier/recommended" | |
], | |
plugins: ["@typescript-eslint", "react-hooks", "react"], | |
rules: { |
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
{ | |
"success":true, | |
"data":[ | |
[ | |
{ | |
"q":"Cum quaerat alias ut atque ab error.", | |
"a":"At fuga neque recusandae voluptatem cum rerum excepturi. Dolorum id ullam cum alias asperiores. Quis voluptas eius voluptatem ipsam." | |
}, | |
{ | |
"q":"Totam eos repellendus iste eligendi laudantium voluptatem.", |
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
{ | |
"name": "powerkernel/core", | |
"description": "Core API System", | |
"keywords": [ | |
"yii2", | |
"api", | |
"core" | |
], | |
"homepage": "https://powerkernel.com", | |
"type": "project", |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<link href="https://refreshless.com/nouislider/distribute/nouislider.css?v=1110" rel="stylesheet"> | |
<script src="https://refreshless.com/nouislider/distribute/nouislider.js?v=1110"></script> |