摘要:
pip3 install emoji import emoji result = emoji.emojize('Python is :thumbs_up:') print(result) # 'Python is 👍' # You can also reverse this: result = e 阅读全文
摘要:
gitlab认证登录
OAuth2 gitlab
gitlab OAuth2
python OAuth2 gitlab
gitlab OAuth2 fastapi 阅读全文
摘要:
对象存储 s3 阅读全文
摘要:
spark dataframe 添加新列
spark dataframe add column
spark dataframe add new column 阅读全文
摘要:
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 "... 阅读全文
摘要:
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 阅读全文
摘要:
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... 阅读全文
摘要:
#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... 阅读全文
摘要:
git clone --recursive https://github.com/dmlc/xgboostcd xgboost/make -j4 cd python-package/ python setup.py install mac:安装 git clone --recursive https 阅读全文
摘要:
#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([... 阅读全文