Showing posts with label hack. Show all posts
Showing posts with label hack. Show all posts
Saturday, February 13, 2010

回国第一课 - 翻墙术

回国一个星期了,facebook, twitter,blogger, picasa 等我日常上的网站全部无法登陆。这就意味着:翻墙越来越重要了,不得不学了。Google一下,马上就有发现,以下为正文。

--------------------------------翻墙五步走--------------------------------
Step 1.下载安装Easy Tor

Easy Tor这是一个软件套装,集成了Vidalia、Tor及Privoxy。
下载链接:Easy Tor
安装、打开Easy Tor后,以上三个软件自动启动。Vidalia界面为英文,没关系,双击托盘vidalia图标打开控制面板,在Settings—— Appearance——Language中,把系统文字改为简体中文。重启Vidalia后界面即变为中文。

Step 2.安装Autoproxy

Autoproxy这是一个Firefox扩展,所以你的浏览器必须为Firefox。比起TorButton,Autoproxy的优点是可以根据网站自动判断是否需要使用代理,所以使用起来非常方便。安装完毕后重启Firefox,会出现一个“添加Autoproxy规则订阅”的窗口,选定它,选择“订阅"。

Monday, December 22, 2008

Transparent PNG in IE6 with CSS Hacks

IE6 is evil for web developers, we all know about PNG transparency and its problems with IE6.

Say your CSS code looks like this:
#logo { background: url(images/logo.png) no-repeat left top;}
Next, we would follow that with an IE-specific hack.
As it turns out, IE5.5 and IE6 think that it’s possible have an element above the HTML element. Fortunately, all other browsers on the planet know better, so they skip the next rule because it says: For all elements (*) with this selector path starting above the HTML element, do this.
And this is where we’d add our IE-specific alpha transparency filter.
* HTML #logo {/* PNG Alpha IE Win ONLY */ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/logo.png', sizingMethod='scale');}
What we’ve done here is display a transparent PNG natively in all browsers except for IE6, and displayed the same graphic via a proprietary alpha filter only in IE6.
Another way to fix the problem.
Tuesday, April 22, 2008

The Sports Network brought down by Chinese Hackers


Update: It’s possible that the hackers actually thought they were taking down CNN’s sports site, based on early Twitter messages boasting about it.

Update2: Christine Lu was able to grab an image of the original hack (now top image above), which links back to hackcnn.com. It’s almost certain that they thought the site was CNN’s sports property