Skip to content

Instantly share code, notes, and snippets.

View yunfzhai's full-sized avatar

yunfzhai yunfzhai

  • std
  • shanghai,China
View GitHub Profile
@yunfzhai
yunfzhai / pipconda.sh
Last active September 22, 2018 02:57
pip conda
pip show cuffinks
# Name: cufflinks
# Version: 0.14.3
# Summary: Productivity Tools for Plotly + Pandas
# Home-page: https://github.com/santosjorge/cufflinks
# Author: Jorge Santos
# Author-email: santos.jorge@gmail.com
# License: MIT
# Location: /Users/yunfzhai/anaconda/lib/python3.6/site-packages
# Requires: pandas, numpy, plotly, six, ipywidgets, setuptools, nose, ipython, colorlover
@yunfzhai
yunfzhai / win10.txt
Created September 20, 2018 02:34
window system
关闭休眠功能
命令窗口中输入 powercfg -h off
即可关闭休眠功能,同时 Hiberfil.sys 文件也会自动删除。
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yunfzhai
yunfzhai / qtips2.q
Last active December 7, 2018 10:38
// 环境变量的使用,及命令加载的技巧
libdir: hsym `${x,"/qtips"}getenv `HOME ;
system "l ",1_string ` sv libdir,`stat.q ;
/ unstack a table
exec indexcode!brate by year:year from table
//加快查询速度
update `g#secucode,`s#date from `date`secucode xasc `quota;
// 从保存的context恢复到目前的context,其实是完全覆盖当前空间的
`. set get `:inting;
use:{system["d"] upsert $[99h=type v:get x;v;(-1#` vs x)!1#v]}
use each `..myrank`..quota`..calwfee`..cacldayrate2;