One for all,all for one.

2015年7月30日 星期四

cmder set alias

›
>  notepad cmder\config\aliases

cmder set PATH variable

›
> notepad %CMDER_ROOT%/vendor/init.bat References : Setting up Vim in Windows — Medium
2015年7月9日 星期四

Flask-Secutiry default provides URL

›
/login (endpoint: security.login, view: security/login_user.html ) /logout (endpoint: security.logout) /register (endpoint: security.reg...

Flask-Admin change root default url

›
You can change the root url from /admin to /myadmin with the following: from flask.ext.admin import Admin admin = Admin(app, url='/m...
2015年7月8日 星期三

Flask-Principal 'Identity' object has no attribute 'name'

›
print identity.id
2015年7月7日 星期二

RuntimeError: application not registered on db instance and no application bound to current context

›
with app . app_context (): db . create_all () References : python - When scattering Flask Models, RuntimeError: 'applicati...
2015年7月4日 星期六

xen create image

›
$ dd if=/dev/zero of=XenGuest1.img bs=1024k seek=6144 count=0 $ mkfs -t ext3 XenGuest1.img References : Building a Xen Virtual Guest ...
‹
›
首頁
查看網路版
技術提供:Blogger.