Tuesday, November 20, 2018

intellij idea 或者 pycharm 模板参数

# -*- coding: utf-8 -*-
"""
Created on  ${TIME} ${DATE}

@author: ${USER}
"""


例如上面,全部的参数参考 https://www.jetbrains.com/help/pycharm/file-template-variables.html

Tuesday, October 9, 2018

更改maven仓库为阿里云仓库

https://www.cnblogs.com/geektown/p/5705405.html
https://yq.aliyun.com/articles/78124

Sunday, July 29, 2018

mac 换机

1.迁移数据:https://support.apple.com/zh-cn/HT204350
2.备份数据  Paragon NTFS for Mac
3.抹掉数据重装系统 https://support.apple.com/zh-cn/HT204904
https://support.apple.com/zh-cn/ht201065


sudo chown -R $(whoami) /usr/local/Cellar

Thursday, May 24, 2018

如何在mac ppt2016环境下自动导入图片生成ppt

如果windows环境,默认是直接支持的,参考文档http://www.office68.com/powerpoint/21104.html


mac下需要使用 Automator 其参考文档https://support.apple.com/zh-cn/guide/automator/welcome/mac 

下载链接在https://onedrive.live.com/?authkey=%21AMh-grSm44uwOC0&cid=DE8ADB12A20968E4&id=DE8ADB12A20968E4%213226&parId=root&action=locate 
   

Wednesday, May 16, 2018

spark join的区别

http://apachesparkbook.blogspot.com/2015/12/join-leftouterjoin-rightouterjoin.html
https://stackoverflow.com/questions/40772209/how-to-replace-null-to-0-in-left-outer-join-in-spark-dataframe-v1-6

Monday, May 14, 2018

更改mac默认python的办法

问题:
Fatal Python error: PyThreadState_Get: no current thread

解决方法
https://stackoverflow.com/questions/15678153/homebrew-python-on-mac-os-x-10-8-fatal-python-error-pythreadstate-get-no-cu


sudo port select --list python
For my computer, it showed:
Available versions for python:
none
python25-apple
python26
python26-apple
python27 (active)
python27-apple
in which python27(by Macport) was currently active. Then,

sudo port select python python27-apple

Wednesday, April 11, 2018

hive 一坑记录

Caused by: java.util.regex.PatternSyntaxException: Unclosed character class near

https://stackoverflow.com/questions/21816788/unclosed-character-class-error

virtual box 内网银使用

http://www.sijitao.net/618.html
https://www.virtualbox.org/wiki/Download_Old_Builds virtual box 历史的pack可以从这里下载