手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 免费部署 N8N 的 Zeabur 注册 | 登陆
浏览模式: 标准 | 列表分类:Misc

陈汉典笑话选

1、为什么大海是蓝色的。因为大海里面有鱼。为什么有鱼就会是蓝色的呢?因为鱼会吐泡泡。为什么鱼会吐泡泡就是蓝色呢?因为吐泡的时候就是:blue,blue,blue

2、维尼熊邀请跳跳虎吃火锅,打一个成语:虎背熊腰(虎被熊邀)

3、为什么X和Z不和Y玩?(一个电影的台词):why so serious。来自蝙蝠侠的小丑

震精:V字特攻队在央视放映了

说实话,如果你不知道“V字特攻队”,你可以去百度看一下,不过它不叫V字特攻队,而是叫V字仇杀队。网址是:http://baike.baidu.com/view/41404.htm

在微博上看到有人在大呼震精的时候,我也很震 精,这样的片子居然能够在国内放映。。实在让人意外 .
而且百度百科更新的也真快。立刻就加上了:

XML/HTML代码
  1. 2012年12月14日晚,CCTV-6破天荒播出电影《V字仇杀队》,更在微博上引起热议。   

说起来,这里面的台词恐怕是原来审核不通过的原因吧?难道这代表了新时代?要知道,这部片子从公映到现在可是过了6年了,我们在等什么?我们在纠结什么?
看看我们的郑老师在嚷嚷什么?http://weibo.com/1195031270/za3mSkZz4:

XML/HTML代码
  1. 12月14日,中美两国同一天发生残害儿童的惨案。两天过去了,我们对美国凶手的信息知之甚多,家庭成员、个人成长经历等等一目了然。而对中国凶手的信息知之甚少。我们能知晓远在天边的信息却无法获得近在咫尺的信息。和玛雅人相比,苏轼才是预言家:不识庐山真面目,只缘身在此山中。  


其实,我在看完片子的时候,我就在想,放这部片子的人,是不是也会象电影中的那位电视台的节目主持人那样被人套头呢?他会不会也收藏了一本可兰经?

细想想也就淡然了,21日,大家就再见了。

Tags: v字特攻队

常用设置网页编码的方法

非常方便:

Perl. Output the correct header before any part of the actual page. After the last header, use a double linebreak, e.g.:
print "Content-Type: text/html; charset=utf-8\n\n";

Python. Use the same solution as for Perl (except that you don't need a semicolon at the end).

PHP. Use the header() function before generating any content, e.g.:
header('Content-type: text/html; charset=utf-8');

Java Servlets. Use the setContentType method on the ServletResponse before obtaining any object (Stream or Writer) used for output, e.g.:
resource.setContentType ("text/html;charset=utf-8");
If you use a Writer, the Servlet automatically takes care of the conversion from Java Strings to the encoding selected.

JSP. Use the page directive e.g.:
<%@ page contentType="text/html; charset=UTF-8" %>
Output from out.println() or the expression elements (<%= object%>) is automatically converted to the encoding selected. Also, the page itself is interpreted as being in this encoding.

ASP and ASP.Net. ContentType and charset are set independently, and are methods on the response object. To set the charset, use e.g.:
<%Response.charset="utf-8"%>
In ASP.Net, setting Response.ContentEncoding will take care both of the charset parameter in the HTTP Content-Type as well as of the actual encoding of the document sent out (which of course have to be the same). 

The default can be set in the globalization element in Web.config (or Machine.config, which is originally set to UTF-8).

常用网站的反向代理页[2013-09-28]

做了几个常用网站的反向代理页。为什么要做,你懂的(标题的时间就是最新更新的时间)【建议自主翻墙,不再提供反代页面

1、golang:http://go.neatcn.com , 或者点击 golang
2、Yiiframework,http://yii.neatcn.com 或者点击 yii
3、golang play:http://goplay.neatcn.com 或者点击:goplay

目前仅做了这些个网站的反向代理 ,如果你有其他需求,请提出来,我会尽量解决。超大型的网站就算了。

[2013-09-28]
4、VIM官方网站:http://vim.neatcn.com 或者点击:VIM
5、SlideShare:http://slideshare.neatcn.com , 如果你觉得域名太长,也可以直接访问:http://ss.neatcn.com ,或者点击:slideshare

Tags: golang, yii

捉马记

不知道从什么时候开始。突然发现fck竟然又被黑了。然后花了一个晚上的时候,检查代码,写脚本找马。
最后找了一大堆代码。找到了7、8个挂马位。不知道还有没有马了。确实准备什么时候重写。然后。。。所见所得换成markdown编辑器。这回我看你们怎么挂 马。NND