`
rockis
  • 浏览: 18909 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
对称加密算法 小A想给女同学小B传纸条,但是又不想让别人看到。小A想了个办法,他找了盒子,买了一个带两把钥匙的锁,然后把其中一把给了小B,如果小A想给小B传纸条,他可以把纸条放在盒子里,用锁锁上,然后寄给小B。 ...
此文为本人翻译自Jinja官方手册,转载请注明出处 勘误请直接回复,或者发信至rockis@gmail.com 介绍 Jinja是基于python的模板引擎,功能比较类似于于PHP的smarty,J2ee的Freemarker和velocity。 运行需求 Jinja2需要Python2.4以上的版本。 安装 ...
1. import的过程 假设在/tmp/test下有个testmodule.py文件,文件内容如下: value = 'hello world' 在控制台执行下面的命令: [user@host]$ export PYTHONPATH=$PYTHONPATH:/tmp/test [user@host]$ python >>> import testmodule >>> print testmodule.value 这时我们就会看到屏幕上会输出"Hello World"字样 这个过程中python究竟干了些什么呢?以下是我的猜测 ...
一,如何让表格行交叉高亮 1. 选择Data Explore页签 2. 右键点Outline中的style,选择"New style" 3. 选中"Predefined Stype", 在下面的列表框中选种table-detail 4. 再选中Hightlights页签,点“Add” 5. conditions后面输入"row.__rownum % 2", Equals To, 0 6. 在下面的Background Color中输入需要高亮的表格行的背景色 7. 确定退出 二,如何设置报表的Theme Script->Repo ...
~httpd.conf LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so <VirtualHost *>     ServerName mytgapp.blabla.com     S ...
function Entry(next, data); { this.next = next this.data = data } function Iterator(node); { this.cousor = node this.hasNext = function (); { return (this.cousor.next != null);; } this.next = function (); { var rt = this.cousor.next this.cousor = this.cousor.next ret ...
Global site tag (gtag.js) - Google Analytics