一、rbac 权限组件 1 项目与应用 一个项目,可以有多个应用 一个应用,可以在多个项目下 前提:应用是组件!! 2 什么是权限? 一个包含正则表达式url就是一个权限 who what how >True or Flase UserInfor id name pwd permission=mod ...
分类:
其他好文 时间:
2018-06-11 22:06:50
阅读次数:
170
Shell 是一个用 C 语言编写的程序,它是用户使用 Linux 的桥梁。Shell 既是一种命令语言,又是一种程序设计语言。Shell 是指一种应用程序,这个应用程序提供了一个界面,用户通过这个界面访问操作系统内核的服务。Shell脚本(shell script),是一种为 shell 编写的脚 ...
分类:
系统相关 时间:
2018-06-11 20:33:35
阅读次数:
188
0.简介 0.1 什么是 Consul Consul是HashiCorp公司推出的开源工具,用于实现分布式系统的服务发现与配置。 这里所谓的服务,不仅仅包括常用的 Api 这些服务,也包括软件开发过程当中所需要的诸如 Rpc、Redis、Mysql 等需要调用的资源。 简而言之 Consul 就是根 ...
分类:
其他好文 时间:
2018-06-11 20:33:22
阅读次数:
203
Problem Statement You are participating in a quiz with N+M questions and Yes/No answers. It's known in advance that there are N questions with answer ...
分类:
其他好文 时间:
2018-06-11 20:33:13
阅读次数:
133
Given a set of N (> 1) positive integers, you are supposed to partition them into two disjoint sets A~1~ and A~2~ of n~1~ and n~2~ numbers, respective ...
分类:
其他好文 时间:
2018-06-11 18:58:12
阅读次数:
140
解决方法: 1.查看是不是mysql权限的问题 (默认安装方式为 yum -y install mysql) 转到 /etc/rc.d/init.d/目录下 [root@xxx init.d]# mysqld status2018-06-11 15:20:47 0 [Warning] TIMESTA ...
分类:
数据库 时间:
2018-06-11 17:20:55
阅读次数:
171
描述Follow up for ”Search in Rotated Sorted Array”: What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a functi ...
分类:
编程语言 时间:
2018-06-11 17:07:51
阅读次数:
103
描述Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a target va ...
分类:
编程语言 时间:
2018-06-11 17:05:32
阅读次数:
173
Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for each va ...
分类:
其他好文 时间:
2018-06-11 15:45:08
阅读次数:
166
mysql 1064 错误: SQL语法错误,check the manual that corresponds to your MySQL server version for the right syntax to use near 'intsert into students values(1 ...
分类:
数据库 时间:
2018-06-11 13:55:05
阅读次数:
210