常用命令:

  • mvn idea:idea //生成.ipr项目文件

  • mvn clean install -Dmaven.test.skip=true

  • mvn install:install-file -Dfile=target\model-1.0-SNAPSHOT.jar -DpomFile=pom.xml //安装本地依赖

  • git config merge.tool vimdiff && git mergetool

  • git pull 172.16.45.215:/root/dev master

  • git log --author=yyx990803 --oneline | tail -n 10

  • git clone -b 0.10 https://github.com/vuejs/vue.git

  • netstat -putan | grep portNo //redhat7里去掉了

  • lsof -i:8080

  • cd 1.0.0.4 | grep -ir "AUDataTopic" * //在发布的版本里搜

  • brew install mysql && brew services start mysql

  • ll locate nohup.out // 注意nohup产生的大log

  • python -m SimpleHTTPServer // 在某个目录下启动http服务器

  • iconv -f gb2312 -t utf-8 <old_file >new_file

  • serialver -classpath classes com.cloudpick.base.api.BaseRequest // 生成serialVersionUID

  • tar -czf cat_1.0.0.40.tar.gz 1.0.0.40

  • tar -xzf cat_1.0.0.40.tar.gz -C /root/target/dir

  • nohup ./run-cat.sh dev cat > run_cat.log 2>&1 & // 1>run_cat.log 2>&1 这样也行

  • svn propset svn:executable on run-cat.sh

  • svn diff -r 2800:2805

  • ps aux | grep 61618 --color

  • ldconfig -v -N -X | grep libcurl

  • find / -name nginx -type f -executable

  • supervisorctl -s http://172.16.45.215:9001 | update

  • supervisorctl start cat:*

  • mongoexport -d strategy-web-dev -c FxRef -o /root/mongodb-linux-x86_64-rhel62-3.2.1/backup/FxRef

  • mongoimport -d strategy-web -c FxRef /root/mongodb-linux-x86_64-rhel62-3.2.1/backup/FxRef

  • nohup vncconfig -nowin &

  • java -Denv=local -classpath "E:\project\TestJavaMaven\target\TestJavaMaven-1.0-SNAPSHOT.jar;other-depends.jar" com.company.test.App

  • pip download grpc grpcio grpcio-tools

  • pip install grpc*.whl --no-index --find-links "dir"

  • nginx -s reload

  • nuget pack UI.WPF.nuspec -Build -MSBuildVersion 4 -Prop Configuration=Release

  • update-package Company.Util -version 1.0.0.1 -project Company.UI.WPF -reinstall(force update)

  • install-package Microsoft.Expression.Interactions -version 3.0.40218 -project Company.OMM.WPF.CommonModule

  • install-package System.Windows.Interactivity -version 3.0.40218 -project Company.OMM.WPF.CommonModule

  • vboxManage startvm "ubuntu desktop x64"

  • vboxManage controlvm "ubuntu desktop x64" poweroff

  • ngen install OMM.WPF.Main.exe

  • ngen uninstall OMM.WPF.Main.exe

  • db.FxCombination.find().sort({combinationId:-1})//1=asc, -1=desc

  • db.FxCombination.find({realizedSpread: {$gt: 0}})

  • db.FxCombination.find({realizedSpread: {$ne: NaN}})

  • db.FxLog.find({logLine:/^execId/}, {logLine:1, _id:0}).sort({logTime:-1})

//支持js, count distinct substring,这种场景要用js写
var cnt = new Object()
db.FxRef.find().forEach(function(doc){
var key = doc.securityId.substring(0,2);
if (!cnt[key]) cnt[key] = 1; cnt[key]++;
});
cnt

常用sql:

select * from RefData where securityType = 4 order by securityId;

select securityType, count(1) from RefData group by securityType order by securityType;

select count(1) from RefData;

select * from RefData where securityId in ('AL1705', 'IF1609');

use wind_filesync --172.17.1.96

--股指期货日行情

select * from CIndexFuturesEODPrices

--商品期货日行情

select * from CCommodityFuturesEODPrices

--国债期货日行情

select * from CBondFuturesEODPrices

--现货基本资料

select * from CGoldSpotDescription

--期货基本资料

select * from CFuturesDescription

--期货标准合约属性

select * from CFuturesContPro

--期货连续(主力)合约和月合约映射表

select * from CFuturesContractmapping

--期货交易日历

select * from CFuturesCalendar

--Wind兼容代码,较全、慢

select * from WindCustomCode

常用命令和sql的更多相关文章

  1. cmd常用命令 和 sql server相关基础

    在Java开发中 ms sql server 接触算是比较少的,本文记录一些ms sql server的基础知识. 1. 为表字段增加索引:create index user_openid on us ...

  2. ORACLE数据库 常用命令和Sql常用语句

    ORACLE 账号相关 如何获取表及权限 1.COPY表空间backup scottexp登录管理员账号system2.创建用户 create user han identified(认证) by m ...

  3. MySql 基础知识-常用命令及sql语句

    一.常用mysql命令行命令 1,启动mysql服务 net start mysql.      停止mysql服务 net stop mysql 2,netstart -na|findstr 330 ...

  4. Mysql常用命令大全 sql

    1.连接Mysql 格式: mysql -h主机地址 -u用户名 -p用户密码 1.连接到本机上的MYSQL.首先打开DOS窗口,然后进入目录mysql\bin,再键入命令mysql -u root ...

  5. SQL Plus的使用详解(登录和常用命令)

    1.SQL Plus简介 SQL Plus工具是随 Oracle数据库服务器或客户端的安装而自动进行安装的管理与开发工具, Oracle数据库中所有的管理操作都可以通过 SQLPlus工具完成. SQ ...

  6. MySQL - 常用命令及常用查询SQL

    常用查询SQL #查看临时目录 SHOW VARIABLES LIKE '%tmp%'; #查看当前版本 SELECT VERSION(); 常用命令 #查看当前版本,终端下未进入mysql mysq ...

  7. MySQL导入SQL文件及常用命令

      在MySQL Qurey   Brower中直接导入*.sql脚本,是不能一次执行多条sql命令的,在mysql中执行sql文件的命令: mysql> source   d:/myprogr ...

  8. MySQL导入.sql文件及常用命令

    在MySQL Qurey   Brower中直接导入*.sql脚本,是不能一次执行多条sql命令的,在mysql中执行sql文件的命令: mysql> source d:/myprogram/d ...

  9. Oracle的学习一:安装与卸载、sql *plus常用命令、Oracle用户管理

    1.为什么学习oracle? 性能优越: 小型数据库 中型数据库 大型数据库 acess.foxbase mysql.sql server.informix sybase.oracle.db2 复杂量 ...

随机推荐

  1. xftp5和xshell的使用

    目的:实现windows和linux系统之间文件的传输 步骤:1)下载xshell5 百度搜索即可,直接下载安装 2)xshell5下载完成后与虚拟机链接成功 3)下载xftp5点击 然后跟据官方的指 ...

  2. Python day 05

    day05 数据类型 今日内容 字典 补充 .extend() users = [1,2,3,4] people = [5,6,7,8] users.extend(people) people.ext ...

  3. spring事务的7种传播行为

    https://blog.csdn.net/weixin_39625809/article/details/80707695 一般用于并发,分布式锁.复杂业务情况

  4. LintCode 521.去除重复元素

    LintCode 521.去除重复元素 描述 给一个整数数组,去除重复的元素. 你应该做这些事 1.在原数组上操作 2.将去除重复之后的元素放在数组的开头 3.返回去除重复元素之后的元素个数 挑战 1 ...

  5. docker更改默认仓库地址

    zq@ubuntu:~$ docker pull -h Flag shorthand -h has been deprecated, please use --help Usage: docker p ...

  6. 5、Docker容器网络

    使用Linux进行IP层网络管理的指     http://linux-ip.net/html/ # yum install iproute http://linux-ip.net/html/tool ...

  7. 20165306 Exp5 MSF基础应用

    Exp5 MSF基础应用 一.实践概述 1. 实践内容 本实践目标是掌握metasploit的基本应用方式,重点常用的三种攻击方式的思路.实现: 1.1一个主动攻击实践 ms08-067+window ...

  8. PHP curl Post请求和Get请求~

    //获取的参数 $api_key = '8a82d53a57b06c1d835d129f7e43d49c'; $orderNum = pdo_fetch('select ddlm_order_no f ...

  9. spark DAG 笔记

    DAG,有向无环图,Directed Acyclic Graph的缩写,常用于建模. Spark中使用DAG对RDD的关系进行建模,描述了RDD的依赖关系,这种关系也被称之为lineage,RDD的依 ...

  10. Kinect外包团队— 2016中国VR开发者论坛第一期

    由VR界网和暴风魔镜联合举办的2016中国VR开发者论坛第一期已于3月2日下午5点在吉林动画学院圆满落幕,本次论坛云集了VR相关领域的精英,邀请了VR社交<极乐王国>.暴风魔镜.南京睿悦. ...