01 2017 档案
摘要:1. Javascript 回调 Promise 2. Angularjs $parent 3. CSS margin padding border 4. Angularjs $filter 5. Django Permission
阅读全文
摘要:Git忽略规则及.gitignore规则不生效的解决办法 分享到:更多19 分享到:更多19 2015-02-12 分类:Share2人评论65,215 次人浏览 在git中如果想忽略掉某个文件,不让这个文件提交到版本库中,可以使用修改根目录中 .gitignore 文件的方法(如无,则需自己手工建
阅读全文
摘要:Then, edit debian/control file (run the command: gksu gedit debian/control) and replace all instances of libcurl4-gnutls-dev with libcurl4-openssl-dev
阅读全文
摘要:In [4]: import re In [5]: re.findall(r"\d+","jjj1234mm222")Out[5]: ['1234', '222'] In [6]: re.findall(r"\d+","jjj1234")Out[6]: ['1234'] In [18]: impor
阅读全文
摘要:用户只能使用 界面URL 对其View ### api-auth/ ### from django.test import Client c = Client() c.login(username="tcmking",password="tcmking") res = c.get("/createp
阅读全文
摘要:赞同,已经试验成功。后来查手册: $man qdel-p 的功能是强制净化队列。这个 “p” 可能是 “purge” 的缩略形式 qsub,qdel,qmgr,qstat,qhost PBS 是公开源代码的作业管理系统,在此环境下运行,用户不需要指定程序在哪些节点上运行,程序 所需的硬件资源由PBS
阅读全文
摘要:不使用sudo命令执行docker 简介:本篇文章介绍如何不使用sudo命令就可以执行docker命令。 为什么需要创建docker用户组? 操作步骤: 为什么需要创建docker用户组? Docker守候进程绑定的是一个unix socket,而不是TCP端口。这个套接字默认的属主是root,其他
阅读全文
摘要:mysql折腾笔记 2014-01-05 10:58 经常吹嘘自己玩过各种数据库. redis, mysql, sqlite, mongodb..常用数据库都不在话下,不料今天却在远程连接mysql上栽了跟头,于是记一下这个教训 mysql默认是不开启远程连接的,要让mysql支持远程连接需要两个步
阅读全文
摘要:https://www.peterbe.com/plog/promises-with-$http
阅读全文
摘要:~/.pip/pip.conf [global] index-url = https://pypi.douban.com/simple download_cache = ~/.cache/pip [install] use-mirrors = true mirrors = http://pypi.d
阅读全文
摘要:http://pandas.pydata.org/pandas-docs/stable/10min.html import pandas as pd res = pd.read_table("ttest/ttest_expression.tsv",sep=",") col_names = res.c
阅读全文
摘要:res[rownames(res),colnames(res)[2:length(colnames(res))]] res = read.table(exp_file, header=T, quote="",row.names=1, sep='\t',check.names=F,as.is=TRUE
阅读全文