外网访问vmvare
摘要:使用端口映射即可,以tplink wr886n为例, 方法如下: 1、打开浏览器,输入默认ip192.168.0.1回车登录; 2、登录对话框,输入 密码点击确定; 3、点击转发规则--虚拟服务器,点击添加新条目; 4、输入允许访问的内网主机的ip地址、该主机开放的端口号、选择传输协议,点击保存即可
阅读全文
iPython notebook 安装使用
摘要:pip install jupyter jupyter notebook --allow-root
阅读全文
PyCharm设置Ipython交互环境和宏快捷键进行数据分析图文详解
摘要:使用Python进行数据分析,大家都会多少学习一本经典教材《利用Python进行数据分析》,书中作者使用了Ipython的交互环境进行了书中所有代码的案例演示,而书中的Ipython交互环境用的是原生Python开发环境,在原生环境里,由于没有代码提示、自动格式等智能辅助给你,导致编码效率有点低下,
阅读全文
Aws s3 api
摘要:PUT操作的这个实现将一个对象添加到一个bucket中。 您必须具有对bucket的WRITE权限才能向其中添加对象。Amazon S3从不添加部分对象; 如果您收到成功响应,则Amazon S3将整个对象添加到bucket中。Amazon S3是一个分布式系统。 如果它同时收到同一个对象的多个写入
阅读全文
判断主从延迟
摘要:1)首先看 Relay_Master_Log_File 和 Master_Log_File 是否有差异;2)如果Relay_Master_Log_File 和 Master_Log_File 是一样的话,再来看Exec_Master_Log_Pos 和 Read_Master_Log_Pos 的差异
阅读全文
用Golang为Python编写模块
摘要:Go里面需要显示的引入C模块, 让编译器支持生成动态链接库, 并且在代码中可以使用C语言的数据类型,这个至关重要. Calling Go code from Python code 摘取一个最简单例子 The cgo export command is documented in go doc cg
阅读全文
centos7的vsftpd的安装和配置
摘要:安装vsftpd的服务器相关软件 安装vsftpd服务器和客户端 sudo yum install ftp vsftpd 安装一个加密工具 sudo yum install libdb-utils.x86_64 配置vsftpd sudo db_load -T -t hash -f /etc/vsf
阅读全文
python 数值计算库
摘要:pip install numpy pip install matplotlib pip install sklearn yum -y install tkinter pip install scipy
阅读全文
manta api
摘要:Authentication 有几个访问方法。 验证对服务的请求的主要方法是使用TLS上的HTTP签名。 在大多数情况下,您只需使用SSH私钥对HTTP Date标头的小写日期:和值进行签名; 这样做可以让你创建交互式shell函数(见下文)。 所有的请求都需要一个HTTP授权头,其中的scheme
阅读全文
python操作符重载
摘要:操作符重载的魔术方法 操作符 方法 取反 即席 + __add__ __radd__ __iadd__ - __sub__ __rsub__ __isub__ * __mul__ __rmul__ __imul__ / __truediv__ __rtruediv__ __itruediv__ // __floordiv__ __rfloordiv__ __ifloordi...
阅读全文
网址记录
摘要:idea代码统计插件 https://plugins.jetbrains.com/plugin/4509-statistic 伯乐在线 https://github.com/jobbole https://www.processon.com/diagrams https://github.com/B
阅读全文
debian:jessie 安转percona mysql
摘要:dpkg -r percona-server-server-5.6 dpkg -r percona-server-client-5.6 dpkg -r libperconaserverclient18.1 dpkg -r percona-server-common-5.6 dpkg -i perco
阅读全文
apt 查询软件
摘要:apt-cache search percona-server apt list percona-server-server-5.6
阅读全文
centos7 安装wxPython
摘要:*** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: The development files for GTK+ were not found. For G
阅读全文