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
| #!encoding=utf8 | |
| """变形金刚的对战,看具体描述:https://coding.net/u/wanghao/p/The-Transformation-Company/git/blob/master/README.md | |
| 变形金刚的对战。 | |
| 每个变形金刚(Transformer包括Autobot和Decepticon)都有以下的技术参数 参看大黄蜂的例子: http://www.ntfa.net/ntfa/techspecs/index.php?cat=Gen1&group=AutoAN&char=Bumblebee ) | |
| 力量 (Strength) | |
| 智慧 (Intelligence) |
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 | |
| = | |
| "en" | |
| > | |
| <head> | |
| <meta |
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
| type Re = | |
| | Lit of char | |
| | Seq of Re * Re | |
| | Or of Re * Re | |
| | Star of Re | |
| let rec match2 (re: Re) (str: char list) k = | |
| match re with | |
| | Lit(c) -> match str with | |
| | [] -> false |
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 //get_header(); ?> | |
| <?php header('Content-type: text/json; charset=utf-8'); ?> | |
| <?php | |
| /* | |
| $jarr=array( | |
| 'total' => 239, | |
| 'list' => array( | |
| array( | |
| 'code'=>'001', |
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
| */20 * * * * /usr/sbin/ntpdate pool.ntp.org > /dev/null 2>&1 | |
| */15 * * * * wget -q -O �C http://www.uperform.cn//wp-cron.php?doing_wp_cron >/dev/null 2>&1 | |
| * * * * * source /etc/profile;/bin/sh /root/healthcheck-php-mysql.sh > /dev/null 2>&1 |
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 get_header(); ?> | |
| <?php header('Content-type: text/html; charset=utf-8'); ?> | |
| <h1>WP API with nouces</h1> | |
| <?php | |
| $jarr=array( | |
| 'root' => esc_url_raw( rest_url() ), | |
| 'nonce' => wp_create_nonce( 'wp_rest' ) |
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
| /* here's the customized CSS | |
| @media only screen and (min-width: 768px) { | |
| #mfn-rev-slider { | |
| margin-top:70px; | |
| } | |
| } | |
| @media only screen and (max-width: 767px) { | |
| #mfn-rev-slider { |
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
| <script> | |
| console.log("like") | |
| function refresh_like() { | |
| $.get("https://operation.coding.net/api/v1/cooperation/like", function(res){ | |
| if (res.code === 0) { | |
| $("#liking-1").html(res.data.list[2].like) | |
| $("#liking-2").html(res.data.list[3].like) | |
| $("#liking-3").html(res.data.list[0].like) | |
| } |
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> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>ECharts</title> | |
| <!-- 引入 echarts.js --> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/echarts.min.js"></script> | |
| </head> | |
| <body> | |
| <!-- 为ECharts准备一个具备大小(宽高)的Dom --> |
OlderNewer