PoeticalJustice

导航

2018年10月25日 #

权限命令 被占端口

摘要: 赋予文件夹权限sudo chmod -R 777 /home/hanshanyang/Projects 添加写入权限chmod a+w 文件名赋予脚本运行权限sudo chmod +x xxx.sh 端口被占用 lsof -i :3000(3000是你被占用的端口)查出占用3000的进程号PID k 阅读全文

posted @ 2018-10-25 13:51 PoeticalJustice 阅读(170) 评论(0) 推荐(0) 编辑

2018年10月23日 #

git

摘要: 上面做的是本地建立分支后 将所有改动加入缓存区 然后加注释提交 将本地分支推送到远程仓库分支 合并分支有3个方法 1 提PR 然后手动合并分支 2.远程仓库合并分支 git merge origin/daily-5-3 1步到位 远程合并分支后 切到本地master 然后下拉远程仓库 同步 3或者本 阅读全文

posted @ 2018-10-23 17:10 PoeticalJustice 阅读(108) 评论(0) 推荐(0) 编辑

2018年9月20日 #

S8-codelab02

摘要: import news_cnn_model import numpy as np import os import pandas as pd import pickle import shutil import tensorflow as tf from sklearn import metrics 阅读全文

posted @ 2018-09-20 18:42 PoeticalJustice 阅读(301) 评论(0) 推荐(0) 编辑

端口被占用 lsof -i :3000(3000是你被占用的端口) kill -9 3655(PID号进程号 结束他)

摘要: RT 阅读全文

posted @ 2018-09-20 13:29 PoeticalJustice 阅读(146) 评论(0) 推荐(0) 编辑

2018年9月17日 #

week05 codelab01 Babel ES6 webpack Nodejsserver等

摘要: Babel 他出现的原因就是很多浏览器还未完全兼容ES6 需要将你写的ES6的内容转换成ES5让浏览器兼容运行 ES5和ES6相比出现很多新内容 比如拼接字符串 ES6可以` ` 里面如果引用变量就用${str}引入 http://kangax.github.io/compat-table/es6/ 阅读全文

posted @ 2018-09-17 15:14 PoeticalJustice 阅读(114) 评论(0) 推荐(0) 编辑

2018年9月14日 #

week08 S8-01 docker images tensorflow-jupyter

摘要: rt 官网http://jupyter.org/ 安装 一种是 npm install的方式 这种需要自己配置 python和那个tansflow很麻烦 推荐使用docker方式 登录 docker pull qianmao/cs503_tensorflow_jupyter 我们下载配置好的 运行这 阅读全文

posted @ 2018-09-14 14:18 PoeticalJustice 阅读(335) 评论(0) 推荐(0) 编辑

week07 codelab02 C72

摘要: ss 我们要改一下backendserver的service 因为要写几个api还要做很多操作 我们单独写出来 然后由service来调用 import json import os import pickle import random import redis import sys from b 阅读全文

posted @ 2018-09-14 14:15 PoeticalJustice 阅读(196) 评论(0) 推荐(0) 编辑

week08 codelab 01

摘要: e 阅读全文

posted @ 2018-09-14 14:15 PoeticalJustice 阅读(86) 评论(0) 推荐(0) 编辑

week06 codelab02

摘要: rt 阅读全文

posted @ 2018-09-14 14:14 PoeticalJustice 阅读(80) 评论(0) 推荐(0) 编辑

week07 codelab01

摘要: rt 阅读全文

posted @ 2018-09-14 14:14 PoeticalJustice 阅读(70) 评论(0) 推荐(0) 编辑