Posts Tagged ‘Java’

用 Google Analytics 时排除内部点击量的小技巧

Saturday, December 8th, 2007

使用 Google Analytics 的时候,大家都要排除内部点击对结果产生的影响,在这里 Google 给出了官方方法。
由于我们都是动态 IP (IP 贵啊,买不起啊……),所以要用添加 Cookie 的办法,不过在加 Cookie 的时候给出的方法比较麻烦,还得写一页 HTML 。
下面是我的方法:

  1. 打开你使用 Google Analytics 的站点。
  2. 在浏览器的地址栏输入 "javascript:__utmSetVar('no_report')" (不含双引号),然后回车。
  3. 这样就添加好了。

比官方方法要简单些吧?

Tags:,,,,

Related Posts

今天改进了一下Firefox

Sunday, May 27th, 2007

今天给Firefox装了不少东西,一一说一下:
这里的方法改进了firefox的表单按钮,效果挺好。看来css的力量是伟大的……不看改过的效果还真不知道原来的效果是ugly。
给Firefox装上了mplayer支持。方法是装上了mozilla-mplayer(ubuntu的软件包)。原来不能播放的声音、视频现在能播放了,比如我blog上的背景音乐(下图中sidebar中下部,)。
给Firefox装上了java支持,方法是装上了java-gcj-compat-plugin(也是ubuntu的软件包),下面是一个测试。都装好了之后发现,ubuntu的库里原来有这么多东西,好好研究一下。

Tags:,,,

Related Posts

Ten reasons why every programmer should learn C

Monday, November 27th, 2006

每个程序员都应该学习C的十个理由
引自:http://www.jubling.com/ten-reasons-why-every-programmer-should-learn-c.html
Every programmer should learn C during their programming career. Its benefits are to numerous to ignore. Not only will it open many more job opportunities, but it will teach you more about computers as a whole.

1) C is lower level then other programming languages (C++, Java). Programming at a lower level allows you to further your understanding of computers, as a whole.

2) Device drivers and operating systems are written exclusively in C. Now, you may never write a device driver or an operating system, but what if you are ever required to modify one?

3) What if you ever want to get a job programming microcontrollers? They are programmed in C. Are you going to limit your possible list of jobs because you didn't want to learn a new language?

4) C programs are smaller and faster then any other program created in a different language. Sometimes your program needs that speed boost that only C can give it.

5) If you have learned C, you can learn any modern programming language. The reason behind this is that all modern programming languages are based on C (Java, C++, C#, etc).

6) Because C has been around for many years, it has a large community and collective code base. This allows you to quickly and efficiently implement new algorithms or functions that have been programmed before.

7) C is the language of the Open Source community. The Open Source poster child, Linux, was coded in C. If you know C, you can participate in and contribute to numerous Open Source communities like Source Forge.

8) C is the only language that teaches you what pointers really are. C# and Java skip the subject completely. It is pointers that give C its power.

9) C is still the most commonly required language for programming jobs. It is well worth your time to get C under your belt.

10) Anything that has a microprocessor in it has support for C. From your microwave to your cell phone, C powers technology.

Tags:,,,,

Related Posts