会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
similarface
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
17
下一页
2020年6月2日
python magic packages
摘要: pip3 install emoji import emoji result = emoji.emojize('Python is :thumbs_up:') print(result) # 'Python is 👍' # You can also reverse this: result = e
阅读全文
posted @ 2020-06-02 15:46 similarface
阅读(250)
评论(0)
推荐(0)
2020年5月28日
GitLab as an OAuth2 provider for Python or fastAPI
摘要: gitlab认证登录 OAuth2 gitlab gitlab OAuth2 python OAuth2 gitlab gitlab OAuth2 fastapi
阅读全文
posted @ 2020-05-28 18:26 similarface
阅读(546)
评论(0)
推荐(0)
S3特点
摘要: 对象存储 s3
阅读全文
posted @ 2020-05-28 14:13 similarface
阅读(587)
评论(0)
推荐(0)
2020年5月27日
PySpark Dataframe 添加新列
摘要: spark dataframe 添加新列 spark dataframe add column spark dataframe add new column
阅读全文
posted @ 2020-05-27 17:30 similarface
阅读(3280)
评论(0)
推荐(0)
2018年11月14日
docker动态添加磁盘
摘要: docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter #!/bin/bash #This script is dynamic mount docker volumens #Author Deng Lei if [ -z $1 ] || [ -z $2 ] || [ -z $3 ]; then echo "...
阅读全文
posted @ 2018-11-14 19:45 similarface
阅读(1016)
评论(0)
推荐(0)
2018年11月8日
docker jupyter
摘要: 151 curl -sSL https://get.docker.com/|sh 152 sudo usermode -aG docker ubuntu 153 sudo usermod -aG docker ubuntu 154 sudo reboot 155 docker ps 156 dock
阅读全文
posted @ 2018-11-08 15:47 similarface
阅读(244)
评论(0)
推荐(0)
2018年10月26日
mongodb数据库shell
摘要: mongoexport -d mofangdb -c log_user_access_index --type=csv -f _id,uid,page,date -o log_user_access_index.csv mongoexport -d comb -c vcf_file_base_info -q '{"version":"v2"}' --type=csv -f bat...
阅读全文
posted @ 2018-10-26 16:20 similarface
阅读(279)
评论(0)
推荐(0)
2018年6月12日
PLINK pca
摘要: #coding:utf-8 __author__ = 'similarface' import os import pandas as pd import matplotlib.pyplot as plt path='plink.eigenvec' def plinkPca(filepath,header=""): data=pd.read_table(path,header=N...
阅读全文
posted @ 2018-06-12 10:20 similarface
阅读(548)
评论(0)
推荐(0)
2018年3月21日
xgboost 安装
摘要: git clone --recursive https://github.com/dmlc/xgboostcd xgboost/make -j4 cd python-package/ python setup.py install mac:安装 git clone --recursive https
阅读全文
posted @ 2018-03-21 11:40 similarface
阅读(216)
评论(0)
推荐(0)
2018年3月20日
tensorflow之损失函数
摘要: #coding:utf-8 __author__ = 'similarface' import tensorflow as tf sess=tf.Session() #max(features, 0) print(sess.run(tf.nn.relu([-3,3,10]))) #min(max(features, 0), 6) print(sess.run(tf.nn.relu6([...
阅读全文
posted @ 2018-03-20 15:28 similarface
阅读(522)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
17
下一页
公告