Linux修改某个用户密码

如果当前用户tom不在root中,登录root账号,修改 /etc/sudoers 文件,找到如下行,在root下面添加一行,如下所示: ## Allow root to run any commands anywhere root    ALL=(ALL)     ALL tommy   ALL=(ALL)     ALL 打开终端,输入 sudo su转为root用户 sudo passwd … 阅读更多 »Linux修改某个用户密码

python自启动运行

编写一个vbs文件,该文件放入C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp中,其中vbs的内容如下: set ws=WScript.CreateObject(“WScript.Shell”) ws.Run “path/pyrun.bat”,0 编写pyrun.bat文件,其内容如下: #获取anaconda激活环境bat … 阅读更多 »python自启动运行

树莓派安装seafile

从官网下载seafile-server,解压上传到树莓派。 安装依赖:apt-get install python2.7 libpython2.7 python-setuptools python-pil python-ldap python-urllib3 sqlite3 插上额外得硬盘,假设其位置为/media/pi/cloud,将seafile-server中的文件都移动到/media/pi… 阅读更多 »树莓派安装seafile

树莓派添加v2ray

从https://github.com/v2ray/v2ray-core/releases下载v2ray-linux-arm,解压 创建目录mkdir /usr/bin/v2ray 将解压后的4个文件v2ray, v2ctl, geoip.dat, geosite.dat移至/usr/bin/v2ray 将解压后的systemed/v2ray.service移至/etc/systemed/syst… 阅读更多 »树莓派添加v2ray

win文件共享至ios

参考链接:https://zhuanlan.zhihu.com/p/83983289 右键属性,选择“共享”选项卡,点击“共享”按钮,选择当前用户,点击“共享” 在ios上,打开File app,点击右上角三个点,连接服务器,输入局域网ip地址,选择注册用户,填写用户名密码

关系抽取

1、entities:objects(entity type[persons, organizations, locations, facilities, geo-political entities]) 2、mentions:references to entities.(mention是实体的表述、提及,mention level[name名词,nominal名词性词,pronoun代词])

Html5基础学习

1、常用标签属性:<h1>:align对齐方式;<body>:bgcolor背景颜色;<a>:target何处打开链接2、通用属性:class:元素的类名;id:元素的id标识;style:元素的样式;title:元素的额外信息3、三种样式: 外部样式表:<link rel=”stylesheet” type=”text/css” href=”xx.css… 阅读更多 »Html5基础学习

Tensorflow学习

概念: 张量(tensor):数据,某一类型的多维数组 变量(variable):模型的参数,通过不断训练得到的值 占位符(placeholder):输入变量的载体 图中的节点操作(operation,OP):一个OP获得0个或多个tensor,执行计算,输出额外的0个或多个tensor 申明常量:tf.constant(常量) 占位符使用配合feed_dict 在jupyter中使用tf.Int… 阅读更多 »Tensorflow学习