- 开发环境 release分支
- 测试环境 release/development分支
- 预发布环境 release分支
- 生产环境 master分支
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
type term = | |
| Lam of (term -> term) | |
| Pi of term * (term -> term) | |
| Appl of term * term | |
| Ann of term * term | |
| FreeVar of int | |
| Star | |
| Box | |
let unfurl lvl f = f (FreeVar lvl) |
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
// A simple Lexer meant to demonstrate a few theoretical concepts. It can | |
// support several parser concepts and is very fast (though speed is not its | |
// design goal). | |
// | |
// J. Arrieta, Nabla Zero Labs | |
// | |
// This code is released under the MIT License. | |
// | |
// Copyright 2018 Nabla Zero Labs | |
// |
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
Rust 13 hrs 16 mins ████████████████░░░░░ 76.3% | |
Bash 2 hrs 14 mins ██▋░░░░░░░░░░░░░░░░░░ 12.9% | |
Java 49 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.7% | |
Agda 26 mins ▌░░░░░░░░░░░░░░░░░░░░ 2.6% | |
Vala 13 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.3% |
defmodule KVServer.Application do
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
use Application
def start(_type, _args) do
# List all child processes to be supervised
Client
def start_link(opts \\ []) do
GenServer.start_link(__MODULE__, :ok, opts)
end
Returns
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
<VirtualHost *:88> | |
ServerAdmin support@eccang.com | |
#php_admin_value open_basedir "/data/www/SmartSell:/data/www/SmartSell/public:/tmp/:/var/tmp/:/proc/" | |
DocumentRoot "/data/www/SmartSell/public" | |
ServerName backendstool.eccang.com | |
ErrorLog "/home/wwwlogs/backendstool.eccang.com-error_log" | |
CustomLog "/home/wwwlogs/backendstool.eccang.com-access_log" combined | |
# Always set these headers. | |
Header always set Access-Control-Allow-Origin "*" | |
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT" |
window10安装使用msvc报错问题,所以选择gnu编译器
rustup toolchain install stable-x86_64-pc-windows-gnu
rustup default stable-gnu
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
正则匹配 | |
匹配中文字符的正则表达式: [\u4e00-\u9fa5] | |
评注:匹配中文还真是个头疼的事,有了这个表达式就好办了 | |
匹配双字节字符(包括汉字在内):[^\x00-\xff] | |
评注:可以用来计算字符串的长度(一个双字节字符长度计2,ASCII字符计1) | |
匹配空白行的正则表达式:\n\s*\r | |
评注:可以用来删除空白行 |
NewerOlder