One for all,all for one.

2014年7月30日 星期三

Flask return csv from sql

›
from flask import Response, send_file     try:         from cStringIO import StringIO                                                      ...

GPG Key 簽署流程

›

撤銷 GPG key

›
妥善保護您密匙固然最重要,但您也要為萬一不幸的事作預備。一般的做法是您要事前先產生一個撤銷憑證 (Revoke Certificate) ,當您的 GnuPG 密匙不幸被盜去或遺失了後,您就可以用這撤銷憑證 去宣告原先的 GnuPG 鑰匙無效。  # 產生撤銷憑證 ...

GPG key 過期處理

›
$ gpg --list-keys pub 4096R/ABCD1234 2013-09-26 [expired: 2013-12-31] $ gpg --edit-key ABCD1234 gpg> list pub 4096R/ABCD1234 cr...
2014年7月29日 星期二

jQuery check element class exists

›
$('li.menu').hasClass('active'); References : Check if a class `active` exist on element with jquery - Stack Overflow
2014年7月25日 星期五

Sqlalchemy delete in subquery

›
InvalidRequestError: Could not evaluate current criteria in Python. Specify 'fetch' or False for the synchronize_session parameter....
2014年7月16日 星期三

ldap.OPERATIONS_ERROR: {'info': '000004DC: LdapErr: DSID-0C090724, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v23f0', 'desc': 'Operations error'}

›
ldap.OPERATIONS_ERROR: {'info': '000004DC: LdapErr: DSID-0C090724, comment: In order to perform this operation a successful bi...
‹
›
首頁
查看網路版
技術提供:Blogger.