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
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
import net | |
import rawsockets | |
import strutils | |
const SERVER_PORT = Port(1987) | |
const SERVER_ADDR = "localhost" | |
var canQuit = false | |
proc main() = |
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% |
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
import 'dart:html'; | |
import 'package:angular/angular.dart'; | |
import 'package:angular_forms/angular_forms.dart'; | |
@Component( | |
selector: 'child-directive', | |
template: '<p>child</p>' | |
) |
- 开发环境 release分支
- 测试环境 release/development分支
- 预发布环境 release分支
- 生产环境 master分支
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
NewerOlder