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 realGetYearBonus($ori){ | |
$x=$ori/12.0; | |
if($x<=3000){ | |
$taxRate=3; | |
$quick=0; | |
} | |
elseif($x<=12000){ | |
$taxRate=10; | |
$quick=210; | |
} |
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
// Live Vue Template | |
// Author: Sinri Edogawa | |
// | |
// Original Inspire: | |
// https://github.com/cheng-kang/wildfire/blob/96c8698c336c0d6d022e80ea50948aed2c0352a6/src/components/WfMarkedContent.vue | |
// and usage https://github.com/cheng-kang/wildfire/blob/96c8698c336c0d6d022e80ea50948aed2c0352a6/src/components/WfCommentCard.vue | |
// | |
// but I cannot replay this ... until I added one WATCH, as initial compile is too early | |
// | |
// Sample Usage: |
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 Yige(x){ | |
this.instance={ | |
init:function(x){ | |
this.x=x; | |
} | |
}; | |
this.instance.init(x); | |
return this; | |
} |
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
iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAMlElEQVR4nO3cYWgbdR/A8b/prWtrNkuWbbWtpcosZZQ5ppQJOsIYdfii1BFGkDHGkFFq0L6QUoroGCOOIGVolSLiizFKkSiz6sBt7MUcRXSIlKITRinFjlJrFmsJNUub58U9z//5P5d0rMldu8ff9/Mqu6b3v9zdN7ncXfdQLpdTgFS+9V4AYD0RAEQjAIhGABCNACAaAUA0AoBoBADRCACiEQBEIwCIRgAQjQAgGgFANAKAaAQA0QgAohEARCMAiEYAEI0AIBoBQDQCgGgEANEIAKIRAEQjAIhGABCNACAaAUA0AoBoBADRCACiEQBEIwCIRgAQjQAgGgFANAKAaAQA0QgAohEARCMAiEYAEI0AIBoBQDQCgGgEANEIAKIRAEQjAIhGABCNACAaAUA0AoBoBADRCACiEQBEIwCIRgAQjQAgGgFANAKAaAQA0QgAohEARCMAiEYAEI0AIBoBQDQCgGgEANEIAKIRAEQjAIhGABCNACAaAUA0AoBoBADRCACiEQBEIwCIRgAQjQAgGgFANAKAaAQA0VYRwNLS0sMPP/xQnrKysg0bNlRWVm7atGnLli2///7722+/vdWwffv2urq6xx577PHHH//ss8+8ezHAalmrenZFRUU6nXZMXF5eXl5ezmazSqmjR49u3bo1lUrNzc0VnEM4HE6lUo888khxiyvE9PR0OByem5uzrH9voFAoNDAwUFZWtr4L9g+UK0oymdTbRim1f//+mZmZubk58wmTk5Mvvvii/YRAINDa2trX1zcxMVHciKKcPHkyf0tdu3ZtvZfrH6jIAHK5XGdnp942R48eLficqakppVQwGPzpp5+KHkigxcXFrq6utrY2n++/x6jXr19f7+X6Byr+S3BbW5t+vNIBz/z8vFLqypUrTz31VNEDCbRx48YPPvjgm2++2bFjh55ofuTCLe6cBbp4 |
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
let answerIndex=0; | |
let board=[]; | |
for(let i=0;i<64;i++)board[i]=false; | |
findNextState(board,1,-1); | |
function findNextState(board,order,last){ | |
//console.log("find Next State for board with order ",order," since index ",last); | |
//printBoard(board); | |
for(let i=last+1;i<64;i++){ |
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
... [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory ... |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Introduction to Ark</title> | |
<script src="https://unpkg.com/vue"></script> | |
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | |
<script src="https://unpkg.com/marked@0.3.6"></script> | |
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script> |
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
CREATE TABLE SPRING_SESSION ( | |
SESSION_ID CHAR(36), | |
CREATION_TIME BIGINT NOT NULL, | |
LAST_ACCESS_TIME BIGINT NOT NULL, | |
MAX_INACTIVE_INTERVAL INT NOT NULL, | |
PRINCIPAL_NAME VARCHAR(100), | |
CONSTRAINT SPRING_SESSION_PK PRIMARY KEY (SESSION_ID) | |
); | |
CREATE INDEX SPRING_SESSION_IX1 ON SPRING_SESSION (LAST_ACCESS_TIME); |
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>sample of Paste Image From Clipboard</head> | |
<body> | |
<h1>sample of Paste Image From Clipboard</h1> | |
<script> | |
// window.addEventListener('paste', ... or | |
document.onpaste = function(event){ | |
var items = (event.clipboardData || event.originalEvent.clipboardData).items; | |
console.log(JSON.stringify(items)); // will give you the mime types |
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
SinriMac:~/Codes/Leqee/erp Sinri$ touch 虚無.txt | |
SinriMac:~/Codes/Leqee/erp Sinri$ git status | |
On branch dev | |
Your branch is up-to-date with 'origin/dev'. | |
Untracked files: | |
(use "git add <file>..." to include in what will be committed) | |
"\350\231\232\347\204\241.txt" | |
NewerOlder