上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: 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 阅读(239) 评论(0) 推荐(0) 编辑
摘要: gitlab认证登录 OAuth2 gitlab gitlab OAuth2 python OAuth2 gitlab gitlab OAuth2 fastapi 阅读全文
posted @ 2020-05-28 18:26 similarface 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 对象存储 s3 阅读全文
posted @ 2020-05-28 14:13 similarface 阅读(525) 评论(0) 推荐(0) 编辑
摘要: spark dataframe 添加新列 spark dataframe add column spark dataframe add new column 阅读全文
posted @ 2020-05-27 17:30 similarface 阅读(3208) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(263) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(505) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(204) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(512) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页