1、API简介 这段时间和外部公司合作,一直在写对外API接口。提供的API接口是基于http协议的,也是无状态的。每次请求都必须带上身份认证信息。后台服务对身份信息进行校验。 基于HTTP协议的API身份认证有很多种方式,有HTTP Basic,HTTP Digest,API KEY,Oauth, ...
``` #pragma comment (lib, "lua5.1.lib") #include extern "C"{ #include "lua.h" #include "lualib.h" #include "lauxlib.h" } int main() { // Create and st... ...
分类:
其他好文 时间:
2018-02-24 19:38:57
阅读次数:
119
函数一词来源于数学,编程中的"函数"与数学中的函数与欧很大的不同。 (BASIC中叫subroutine,C中叫function,java中叫method) 定义:函数是指将一组语句的集合通过一个名字(函数名)封装起来,想执行这个函数,只需调用其函数名即可。 特性: 参数的作用:可以让函数更灵活,不 ...
分类:
编程语言 时间:
2018-02-23 22:26:52
阅读次数:
219
IDEA快捷键记录: Editing Ctrl + Space 替换为:Ctrl + ; Basic code completion (the name of any class, method or variable) 自动补全代码,可用于类、方法、变量 Ctrl + Shift + Space ...
分类:
其他好文 时间:
2018-02-23 22:14:23
阅读次数:
150
Nginx模块 ngx_http_core_module 模块 ngx_http_access_module 模块 ngx_http_auth_basic_module 模块 ngx_http_stub_status_module 模块 ngx_http_log_module 模块 ngx_http ...
分类:
其他好文 时间:
2018-02-23 18:58:11
阅读次数:
179
Windows Communication Foundation(WCF)是由微软开发的一系列支持数据通信的应用程序框架,可以翻译为Windows 通讯开发平台。 WCF的所有服务都会公开契约。契约包含以下四种类型 1.服务契约 2.数据契约 3.错误契约 4.消息契约 今天主要介绍服务契约实现WC ...
分类:
其他好文 时间:
2018-02-23 17:07:39
阅读次数:
170
打开myeclipse工具后,选择工具栏中的window-》preferences-》General-》Appearance-》Colors and Fonts-》Basic-》Text Font 双击 ...
分类:
系统相关 时间:
2018-02-23 13:26:54
阅读次数:
208
https://www.codelast.com/math-concepts-%E6%95%B0%E5%AD%A6%E6%A6%82%E5%BF%B5/ 这里记录了我在学习过程中遇到或总结的一些基础数学概念,保存于此,与需要者共享。 Following are some basic math con ...
分类:
其他好文 时间:
2018-02-22 17:10:40
阅读次数:
267
1.1.2 Building basic functions with numpy 1.1.2.2 numpy.exp, sigmoid, sigmoid gradient 1.1.2.3 numpy.reshape(), numpy.shape 1.1.2.4 Normalizing rows n ...
分类:
其他好文 时间:
2018-02-22 10:58:15
阅读次数:
929
NoSQL 简介 NoSQL(NoSQL = Not Only SQL ),意即"不仅仅是SQL"。 在现代的计算系统上每天网络上都会产生庞大的数据量。 这些数据有很大一部分是由关系数据库管理系统(RDMBSs)来处理。 1970年 E.F.Codd's提出的关系模型的论文 "A relationa ...
分类:
数据库 时间:
2018-02-21 00:47:49
阅读次数:
206