原文:Asp.Net SignalR - 简单聊天室实现简单聊天室 使用持久链接类我们就可以做一些即时通讯的应用了,我使用Group做了一个简单的聊天室,先上图技术细节下面再讲 可以加入聊天室、创建聊天室、发送消息,下面就说说我是如何通过Group做出来的 持久链接类有一个Groups的对象,通过这... ...
分类:
Web程序 时间:
2017-12-15 17:50:24
阅读次数:
244
You are given a license key represented as a string S which consists only alphanumeric character and dashes. The string is separated into N+1 groups b... ...
分类:
其他好文 时间:
2017-12-10 12:43:55
阅读次数:
138
Description A single positive integer i is given. Write a program to find the digit located in the position i in the sequence of number groups S1S2... ...
分类:
其他好文 时间:
2017-12-08 16:54:51
阅读次数:
228
http://www.chem.ox.ac.uk/fortran/fortran1.html http://groups.engin.umd.umich.edu/CIS/course.des/cis400/fortran/fortran.html http://fortranwiki.org/for ...
分类:
Web程序 时间:
2017-12-07 19:12:06
阅读次数:
241
(1)在POM中配置Nexus仓库 <project> ... <repositories> <repository> <id>nexus</id> <name>Nexus</name> <url>http://localhost:8081/nexus/content/groups/public/< ...
分类:
其他好文 时间:
2017-12-07 14:50:54
阅读次数:
124
网上查了,好久都没有一个可以表达清楚的,采取一个委婉的方法<#if segment.group_id?default("")?trim?length gt 1> <#if groups?size!=0> <#list groups as group> <#if group.groupId==segm ...
分类:
其他好文 时间:
2017-12-06 21:52:53
阅读次数:
1602
背景:一台阿里云ECS跑了云市场的一个安全加固脚本,限制了root登录和密码登录,由于客户需求,需要将root放开 对应操作: 改完后,便立马重启ssh服务(/etc/init.d/sshd restart)登录测试 居然还是登录不了,还以为密码错误呢,就是用控制台VNC登录,证明密码没有问题。 特 ...
分类:
其他好文 时间:
2017-12-03 15:39:01
阅读次数:
273
什么是容器? 一种虚拟化方案,直接运行在操作系统内核之上的用户空间,因此容器虚拟化也被称为操作系统虚拟化,由于依赖操作系统的特性,所以容器只能运行在底层操作系统相同或相似内核的操作系统 docker容器依赖的Linux内核特性:Namespace和Cgroups(Control Group) Lin ...
分类:
其他好文 时间:
2017-11-23 12:18:00
阅读次数:
120
1、bash的内置变量:PATHPS1HOSTNAMEUIDHISTFILEHISTEILESIZEHISTCONTROL$BASH:bash二进制程序文件的路径$BASH_SUBSHELL:子shell的层次$BASH_VERSION$EDITOR:默认编辑器$EUID:有效的用户ID$UID:当前用户的ID号$FUNCNAME:当前函数的名称$GROUPS:当前用户显示的组$HOME:当前用户..
分类:
其他好文 时间:
2017-11-20 13:10:26
阅读次数:
146
ch /etc/ chmod 644 passwd group shadow chmod 400 gshadow cd ssh chmod 600 moduli ssh_host_dsa_key ssh_host_key ssh_host_rsa_key chmod 644 ssh_config s ...
分类:
其他好文 时间:
2017-11-17 18:33:38
阅读次数:
419