su 切换用户命令 使用:su username 中间要加上“ ” ,如果不加切换不彻底。 以指定用户的身份创建文件 su c "touch 文件名" username sudo 临时赋予指定用户的权限 为了更加安全,可以用sudo命令来进行临时赋予指定用户的权限,一般情况下赋予root权限。 先看 ...
分类:
其他好文 时间:
2018-04-04 23:20:07
阅读次数:
324
https://github.com/nodejs/node-addon-examples 1) node-gyp configure build 2) sudo apt install node-gyp 3) sudo apt install npm 4) npm install -d 5) su ...
分类:
其他好文 时间:
2018-04-04 21:11:41
阅读次数:
205
1.分析hello.java 代码具体地址:https://github.com/javaee/tutorial-examples/blob/master/web/jsf/hello1/src/main/java/javaeetutorial/hello1/Hello.java Hello类叫做管理 ...
分类:
其他好文 时间:
2018-04-03 11:27:34
阅读次数:
126
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets('MNIST_data', one_hot = True) # #... ...
分类:
其他好文 时间:
2018-03-31 22:19:41
阅读次数:
210
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2018-03-31 20:41:46
阅读次数:
130
欢迎关注大数据和人工智能技术文章发布的微信公众号:清研学堂,在这里你可以学到夜白(作者笔名)精心整理的笔记,让我们每天进步一点点,让优秀成为一种习惯! 一、jupyter notebook是什么 官网的介绍是:Jupyter Notebook是一个Web应用程序,允许您创建和共享包含实时代码,方程, ...
分类:
其他好文 时间:
2018-03-29 02:20:59
阅读次数:
383
CAS 之 Https And Database Authentication(三) 标签(空格分隔): CAS "sso examples guides源码" Intro(介绍) 由上节可知 官方默认使用 https 的方式进行部署: 为了安全,我们使用https方式,并禁用静态账户信息。 Wha ...
分类:
数据库 时间:
2018-03-28 15:40:56
阅读次数:
250
1、题目描述 Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: s = "leetcode" re ...
分类:
其他好文 时间:
2018-03-27 20:52:58
阅读次数:
179
CAS 之 Hello World(二) 标签(空格分隔): CAS "sso examples guides源码" Intro(介绍) 由上节可知 官方推荐使用 WAR Overlay 的方式进行部署: It is recommended to deploy CAS locally using t ...
分类:
其他好文 时间:
2018-03-27 16:42:01
阅读次数:
143
Delete the node at the given index for the given linked list. Examples [1, 2, 3], delete at 1 --> [1, 3] [1, 2, 3], delete at 4 --> [1, 2, 3] [1, 2, 3 ...
分类:
其他好文 时间:
2018-03-27 14:35:38
阅读次数:
97