This file contains hidden or 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
pointFormat: {point.percentage:.2f} | |
// :.2f表示保留2位小数,:.0f表示保留两位小数 |
This file contains hidden or 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
export http_proxy="http://domain.com:8080/" | |
export https_proxy="https://domain.com:8080/" | |
# export是查看系统全局变量 |
This file contains hidden or 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
tail -f /var/log/run.log |
This file contains hidden or 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
var randomGaussian = function(a,b){ | |
var c0 = 2.515517; | |
var c1 = 0.802853; | |
var c2 = 0.010328; | |
var d1 = 1.432788; | |
var d2 = 0.189269; | |
var d3 = 0.001308; | |
var f = 0; | |
var w = 0; |
This file contains hidden or 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
input,button{overflow:visible;} |
This file contains hidden or 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
.element { | |
width: 600px; height: 400px; | |
position: absolute; left: 0; top: 0; right: 0; bottom: 0; | |
margin: auto; /* 有了这个就自动居中了 */ | |
} |
This file contains hidden or 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
rz -be |
This file contains hidden or 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
<?php | |
$array_temp = explode( '&', $HTTP_RAW_POST_DATA); | |
$array_post = []; | |
if(isset($_REQUEST['mood'])){ | |
$mood = $_REQUEST['mood']; | |
}else{ | |
// 构造原始POST数组 | |
foreach($array_temp as $val){ |
This file contains hidden or 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="zh-CN" class="fullscreen"> | |
<head> | |
<title>flex未知高度垂直居中写法</title> | |
<style> | |
html,body{ | |
width: 100%; | |
height: 100%; | |
overflow: hidden; |
This file contains hidden or 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 bc($doms){ | |
var result = { | |
pr:0, | |
hp:0, | |
attack:0, | |
recovery:0, | |
feed:0 | |
} | |
var length = 0; |