#HTML&CSS
- Front-end Formations
- CSS Cross-Country
- Journey Into Mobile
- Assembling Sass
- Assembling Sass Part 2
- Fundamentals of Design
#JavaScript
package cn.fyg.pa.interfaces.module.shared.token.annotation; | |
import java.lang.annotation.Documented; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
/** | |
*校验token是否有效 |
/** | |
编写自己的UDTF: | |
1.继承org.apache.Hadoop.hive.ql.udf.generic.GenericUDTF。 | |
2.实现initialize(),process(),close()三个方法。 | |
3.UDTF首先会调用initialize()方法,此方法返回UDTF的返回行的信息(返回个数,类型)。 | |
4.初始化完成后会调用process()方法,对传入的参数进行处理,可以通过forward()方法把结果返回。 | |
5.最后调用close()对需要清理的方法进行清理。 | |
**/ | |
@Description(name = "convert_nplus_freq", |
# 删除旧版本 | |
yum remove git -y | |
# 安装依赖 | |
yum install gcc -y | |
yum install curl-devel -y | |
yum install openssl-devel -y | |
yum install expat-devel -y | |
# 下载,解压 |
1.add tsinghua channel and show configs
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
conda config --show
channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
[Unit] | |
Description=supervisord - Supervisor process control system for UNIX | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/bin/supervisord -c /etc/supervisord/supervisord.conf | |
ExecReload=/bin/supervisorctl reload | |
ExecStop=/bin/supervisorctl shutdown |