Extreme switch IP Forward
? need forward some ip(icmp, udp, tcp) ?# enabled ipforward
? need forward some ip(icmp, udp, tcp) ?# enabled ipforward
山寨~强悍的语音引擎:中英文流畅!具备蓝牙高速链接(1.0)超级的待机时间:20天!还可以挂QQ哦!
#ssh remote host:> ssh iscys.comroot@localhost > nohup while true: sleep 10s;# this will not close with ssh session exit.
近来工作原因,正在从Django转到Flask,而其中将DataTables移植到了Flask中去.基本的功能还是工作了,还差那个正则和另外一个不常用到的属性,现在还是用着先,如果有任何BUG请留言或者给我发邮件.需要用到常用扩展:Flask-Sqlalchemy,Flask-WTF dt = DataTable() dt.filter(Account.all_username_q(),( (‘AccountAttribute.id’,‘ID’), (‘AccountAttribute.username’,Account.display_name(‘username’)), (‘AccountAttribute.value’,Account.display_name(‘CT.LanNumber’)), )) return dt.json()一下是详细代码,英文不好,见到错误请多多指正:# coding:utf-8from flask.ext.wtf import Form,html5, TextField,StringField,IntegerField,BooleanFieldfrom flask import request,jsonifyfrom core import dbclass DataTableForm(Form): iDisplayStart = IntegerField() iDisplayLength = IntegerField() iColumns = IntegerField() sSearch = StringField(64) bRegex = BooleanField() sEcho = StringField(64)class DataTable(object): ‘’’ dt = DataTable() dt.filter(Account.all_username_q(),( (‘AccountAttribute.id’,‘ID’), (‘AccountAttribute.username’,Account.display_name(‘username’)), (‘AccountAttribute.value’,Account.display_name(‘CT.LanNumber’)), )) return dt.json() ‘’’ form = None data = None def valid(self): self.form = DataTableForm(csrf_enabled=False) return self.form.validate_on_submit() def col(self,name): table,field = name....
software: SMTP - Postfix 2.6 IMAP - Dovecot 2.1 DATABASE - Postgresql 9.x Platform - Debian sid Webmail - Roundcube 0.8rc Kernel - 3.2.0-3 hardware: Motherboard - Intel S5000VSL CPU - Intel L5335 * 2 Memory - DDR2-400 2G * 2 HardDisk - 3.0TB(raid5 with 1.5T ST * 3) 现在看来,整套系统的稳定度高,初期布置上引起的死机问题有 4 次,计算上期因为网线和硬盘引起的问题就已经是小事了. 继续完善.认证通过基本的数据库完成,不打算布置 LDAP 这么顽固的东西. 原因是对接的系统太少.