tag:blogger.com,1999:blog-44504958340526083792024-03-20T12:09:23.120+00:00bigoneYang 准备GRE的学习经验记录,看到的跟经济相关的文章,琐事Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.comBlogger119125tag:blogger.com,1999:blog-4450495834052608379.post-13672570786001610842013-01-19T19:02:00.001+00:002013-01-19T19:05:56.051+00:00Successful OALD8 installation on Fedora linux: libgtk-1.2, pronunciation, and FlashThis is the notes for a successful installation of Oxford Advanced Learner's English(OALD8/OALD7) on Fedora 16 GNU/Linux at Jan. 2013. The main issues covered are: libgtk-1.2.so.0 dependency, no sound/pronunciation, and missing flash plugin. The solutions applies to both OALD7 and OALD8.<br />
<br />
<a href="http:///#solutions">Jump to the solutions -></a><br />
<br />
<b>Issues:</b><br />
<br />
1. Legacy libgtk dependency is the first problem came up, right after I mounted the iso, and tried to run . linux/steup.sh:<br />
<br />
"error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: no such file or directory" <br />
<br />
2. If you have the libgtk dependency, the dictionary should install and start up without problem. However, if you run the ./oald8 directly, it will not play the word pronunciation / sound, and you may see the error messages complaining about libflashplayer.so could not load, like the one below:<br />
<br />
"error while loading shared libraries: libnssutil3.so.1d: cannot open shared object file: no such file or directory" <br />
<br />
While it the sound issue may seem to be caused of the broken Flash plugin, it is indeed related to the conflicts between OSS(Open Sound System, legacy system used by the dictionary) and PulseAudio(commonly installed on GNU/Linux nowadays).<br />
<br />
3. The Flash plugin issue has 3 parts.<br />
<br />
First, the libflashplayer.so came with the package is missing a few dependencies: libplc4.so.0d, libplds4.so.0d, libnspr4.so.0d, libnssutil3.so.1d. That is why you saw the error messages mentioned above.<br />
<br />
Secondly, the version matters. The latest version of Flash plugin for GNU/Linux (11.2 r202) will crash if you try copying libflashplayer.so from /usr/lib/flash-plugin/ to the oald8/plugins/. The <a href="http://tonop.cocolog-nifty.com/blog/2011/08/oald8flash-play.html">10.2 </a>and <a href="http://nagato.homelinux.org/diary/?date=20110525">10.0</a> version suggested by Mac users would not work on Fedora either.<br />
<br />
Thirdly, copy instead of (soft) link. I can confirm that OALD8 failed even when ln -s the Flash plugin 9 library, which worked later when copied to the plugins folder.<br />
<br />
<b>Ideas:</b><br />
<br />
It would be nice to port the OALD to a later version of <a href="https://developer.mozilla.org/en/docs/XULRunner">XUL runner</a>, so that the dictionary could be run in Firefox. Since the application was developed on an older version of Mozilla codebase, <a href="http://www.seamonkey-project.org/">Seamonkey</a> 1.8, most of the content can be reused directly. One issue, however, is the changed format of <a href="https://developer.mozilla.org/en/docs/Chrome_Registration">manifest file</a>, which is required to register the chrome.<br />
<br />
<a href="http://www.blogger.com/null" id="solutions" name="solutions"><b>Solutions:</b></a>
<br />
<br />
# legacy gtk dependency<br />
yum install glib.i686 gtk+.i686<br />
<br />
# pulseaudio oss wrapper, for pronunciation<br />
padsp ./oald8<br />
<br />
# link the missing libraries<br />
ln -s /usr/lib/libnssutil3.so libnssutil3.so.1d<br />
ln -s libplc4.so libplc4.so.0d<br />
ln -s libplds4.so libplds4.so.0d<br />
ln -s libnspr4.so libnspr4.so.0d<br />
<br />
# use flash player 9<br />
http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp9r280_plus_archive.zip<br />
<br />
# misc, debug<br />
padsp ./oald8 -jsconsole<br />
<br />
window.open("chrome://oald8/content/flash/main.xul","oo","chrome,width=600,height=300")<br />
<br />
window.open("chrome://oald8/content/flash/main.xul","oo","menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes,width=600,height=300")<br />
<br />
# icon, for launcher<br />
chrome/icons/default/main.xpm<br />
<br />
# unsolved issues<br />
* Resources content can not display, as a result of broken built in PDF viewer.<br />
* Practise your pronunciation part does not play/record your voice.<br />
<br />Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com1tag:blogger.com,1999:blog-4450495834052608379.post-31017089812359543542013-01-01T12:21:00.001+00:002013-01-01T12:40:20.759+00:00Change useragent for specific websites firefox - general.useragent.site_specific_overrides*general.useragent.site_specific_overrides* To override useragent for
one specific site, create a new String entry in about:config, like this:<br />
<br />
general.useragent.override.aol.com<br />
<br />
And, put in a useragent string,
like this:<br />
<br />
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3)
AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10<br />
<br />
Reference:<br />
<a href="https://bugzilla.mozilla.org/attachment.cgi?id=656817&action=edit">https://bugzilla.mozilla.org/attachment.cgi?id=656817&action=edit</a> <br />
<br />
Happy New Year, to all the Firefox lovers! Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-42471360610658286352011-11-03T02:25:00.000+00:002011-11-03T02:25:09.532+00:00Official Google Reader Blog: New in Reader: a fresh design, and Google+ sharing...It sucks!<br /><br /><a href="http://googlereader.blogspot.com/2011/10/new-in-reader-fresh-design-and-google.html?spref=bl">Official Google Reader Blog: New in Reader: a fresh design, and Google+ sharing...</a>: Posted by Alan Green, Software Engineer Today we're rolling out the new Reader design, and the Google+ features that we mentioned just ove...Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-20479638566468864642009-12-31T16:34:00.000+00:002009-12-31T16:35:14.145+00:00Happy New Year! 2010Happy New Year!<p>I wish...Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-52464989682347856352009-12-09T16:45:00.000+00:002009-12-09T20:09:27.416+00:00authinfo.gpg caused Emacs error "Args out of range: "", 0You may encounter the followinf error if you follow the instructions in<br>Emacs *info* auth-source, and generate an .authinfo.gpg file in your<br>home directory.<p>Passphrase for symmetric encryption: error in process filter: Args out<br>of range: "", 0<p>This didn't happen until recently when I ran gnus in daemon mode, and it<br>only happened if I start it with a sh script like this:<p>#! /bin/sh<p># run gnus in background<p>gnus_server()<br>{<br> emacs --daemon=gnus \<br> -eval "(gnus)"<br>}<p>Everthing would work well if I start the Emacs daemon first, and M-x<br>gnus then.<p>The solution is simple, yet cost me over hours to find it out:<p>mv .authinfo.gpg .authinfo<p>or, rm .authinfo.gpg<p>if you did a cp in the past.<p>I think this maybe a bug included in the recent updates, as it didn't<br>happened when I ran that same sh script before I updated to Ubuntu 9.10.Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-5609158990926633602009-11-24T06:11:00.001+00:002009-11-24T06:11:29.472+00:00firefox problem with wireless connectionI had problem visiting some websites with firefox. The pages could not<br>render, refresh didn't work either. How ever, I could see that the source<br>was loaded.<p>The most weird thing was that google-chrome could still work at the same<br>time, which made me think it was not a networking problem but a bug with<br>the newly upgraded firefox. I tried re-installing the firefox and all<br>its dependence, where aptitude worked as well as google-chrome, yet this<br>didn't help solve the problem.<p>The real cause for this problem turn out to be with the wireless<br>connection, and if replaced the TP-LINK wirelss card (TL-WN510G) with a<br>wired connection problems went away. This is found out using wireshark,<br>after captured a lot of TCP Retransmission packets.<p>I still can not understand why would things like this happen: no other<br>applications but firefox would have problems with the wireless connection<br>(apt-get and google-chrome works), and, the problems are limited to a<br>few websites (51job would fail while <a href="http://google.com">google.com</a> works).<p>It maybe related to the tcp connections limitation at a same time, but<br>this is just my guess.Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-7627460484902759752009-11-16T05:30:00.001+00:002009-11-16T05:30:44.412+00:00henu-cernet client for GNU/LinuxVisist here: <a href="http://bku.net.ru/henu-cernet">http://bku.net.ru/henu-cernet</a> to download the henu-cernet client for GNU/Linux. Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-39831918524587968972009-11-11T06:12:00.000+00:002009-11-11T06:13:27.489+00:00Tor is back - config tor bridge without vidaliaTor used to be blocked by China's GFW, but now it is back! Here is how<br>to manually config tor to use bridge without the vidalia GUI, useful for<br>FreeBSD and GNU/Linux users, especially for those who live in China.<p>It has been so long a time, since August 2009, that I can not visit<br>blogger, youtube, twitter, vimeo, picasa, or anything else that is<br>contributed and enjoyed by other Internet users, even with Tor, which<br>greatly helped me before in using the Internet free and securely.<p>It's all because of GFW, on which I don't want to comment too much. What<br>I support is Chinese government to censor the Internet and to guide<br>masses, for I am a somewhat patriotic guy not interested in dog-eat-dog<br>politics, and CCP did change and improve the life standard of my family<br>in the last few decades.<p>However, would you PLEASE *distinct* those so-called anti-government<br>content from other normal information? Would you please give us some<br>restricted freedom under your great and wisdom control?<p>All I want and need is something interesting and new, like a funny cat<br>picture, a comedy video, or some latest news from my friends. Give me<br>access to these good things, and block/remove/delete/whatever the other<br>fucking damn FLG, CNN, or Tibeter. Who cares!?<p>Okay. Let's come to the config file for using tor with bridge.<p>FILES<p>/etc/tor/torrc<p>OPTIONS<p>Bridge IP:ORPort [fingerprint]<p> When set along with UseBridges, instructs Tor to use the relay at<br> "IP:ORPort" as a "bridge" relaying into the Tor network. If<br> "fingerprint" is provided (using the same format as for<br> DirServer), we will verify that the relay running at that<br> location has the right fingerprint. We also use fingerprint to<br> look up the bridge descriptor at the bridge authority, if it's<br> provided and if UpdateBridgesFromAuthority is set too.<p>UseBridges 0|1<p> When set, Tor will fetch descriptors for each bridge listed in<br> the "Bridge" config lines, and use these relays as both entry<br> guards and directory guards. (Default: 0)<p>UpdateBridgesFromAuthority 0|1<p> When set (along with UseBridges), Tor will try to fetch bridge<br> descriptors from the configured bridge authorities when<br> feasible. It will fall back to a direct request if the authority<br> responds with a 404. (Default: 0)<p>EXAMPLES<p># This example is copied and pasted from a vidalia generated torrc.<br># The IP and port of bridges have been modified. ^&^<br># For real tor bridges, try Google.<p>Bridge <a href="http://8.98.151.48:80">8.98.151.48:80</a><br>Bridge <a href="http://81.59.250.53:43">81.59.250.53:43</a><br>Bridge <a href="http://108.125.18.153:91">108.125.18.153:91</a><br>UpdateBridgesFromAuthority 1<br>UseBridges 1<p>You can also get these help from<p> $man tor<p>And, finally, once again, I'd like to say it is the government's right<br>and responsibility to censor and to guide masses. I support the<br>government's position and shall defeat the FLG, CNN, and Tibeter. I<br>support China!!Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-35961245778683618152009-09-24T17:15:00.001+01:002009-09-24T17:15:48.391+01:00Google Wave and "Gmail is temporarily unable to access your Contacts"At this time(Thu Sep 24 23:43:42 CST 2009), hundreds of thousands of<br>gmail users are experiencing the problem of "Gmail is temporarily unable<br>to access your Contacts. You may experience issues while this<br>persists". And, there are already many posts about this topic, saying<br>it's once again an outage, google's fault or mistake.<p>But to my view, it's obviously not an exception, but an necessary<br>procedure toward the extent of Google's recently most exciting and<br>powerful product: Google Wave! Goole Wave will be out of the sandbox,<br>and be extended to every now Gmail users within this week, that's the<br>real cause for this "temporarily unable" thing.<p>Why?<p>Did you notice that google contact has been working so well despite the<br>intentionally highlighted err notice on Gmail, which has been there for<br>over hours. Have you ever experienced such funny FAULT or OUTAGE that<br>google will allow to PERSIST for so long a time?<p>It's no exception, it's Google Wave's coming! Let's wait to see!!<p>----------------------------------------<br>All these words are just my personal assumption based on very few proof,<br>so it has nothing to do with Google Mail or Google Wave. All I want to<br>do is to make an prediction.Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-2099822479484432402009-08-26T16:23:00.001+01:002009-08-26T16:23:58.188+01:00[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0This is about how to solve a frame buffer problem I encountered after<br>upgrading to the 2.6.28-15-generic kernel. Last week I enabled the frame buffer<br>in my grub menu.lst to use the very fast fbterm(a Chinese console<br>environment, better than zhcon), with the following options:<p> vga=791 video=vesafb:ywrap,mtrr:3<p>At that time, everything worked well, and I really enjoyed the many<br>features of fbterm: display ttf font, Chinese and any other double width<br>characters, as well as the scrollback history.<p>However, after I upgraded to the latest kernel 2.6.28.15-generic in<br>through Ubuntu's apt, I found the console couldn't work any<br>longer. After the GRUB menu, everything disappeared and nothing showed<br>until the very late stage, when X desktop stared. If I get out to<br>the console with Ctrl+Alt+F1, it is still blank, and I found the<br>following message in dmesg every time I tried to invoke the console:<p>[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for<br> disabled pipe 0<p>A quick google gave no answer to my question, and a test of booting with<br>the previous 2.6.28-14 kernel didn't help either. So it's not a problem<br>with the upgrade, and there must be something wrong with my<br>configuration, but I am sure I didn't change any of the system files.<p>...<p>The resolution of this problem finally came when I was checking the vga<br>opinions, and thought of the vesafb module. Was it loaded?<p> lsmod | grep fb<p>told me the answer, and after I load vesafb with the command:<p> modprobe vesafb<p>MY CONSOLE IS BACK!<p>I think the kernel should load it automatically as the options given is<br>clear, but it didn't. No matter how, I add the it in /etc/modules, and<br>hope it will solve this problem.<p>--------------------<br>UPDATE:<p>Found the source of the problem, in<p>/etc/modprobe.d/blacklist-framebuffer.conf<p>to solve the problem, just comment out the line of vesafb.<p>--------------------<br>UPDATE2:<p>It's not the blacklist, change it won't help. it's the mtrr option,<br>it should be:<p> vga=791 video=vesafb:ywrap,mtrr:1Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-86762493634638373062009-08-09T15:07:00.000+01:002009-08-09T15:08:23.193+01:00iptables forward local port 80 to 8080This is about how to forward local port 80 to 8080, or any other port,<br>which is useful when you are runing some test server with no root<br>privilege, while the client can still connect to the standard www port.<p>iptables -t nat -A OUTPUT -d 127.0.0.1 -p tcp --dport 80 -j REDIRECT --to-port 8080Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-15197473586668480442009-08-07T22:28:00.001+01:002009-08-07T22:28:34.045+01:00cmd create a .lnk(shortcut)We don't use any extra command tool that you have to download somewhere<br>else and worry about its security, but the winxp built-in cscript(or<br>wscript, if you prefer) to excute a little Jscript creat-a-lnk.js(source<br>followed), and create your shortcut on the desktop(or anywhere you want<br>to), quick and safe!<p>--------------------create-a-lnk.js--------------------<br>Shell = new ActiveXObject("WScript.Shell");<br>DesktopPath = Shell.SpecialFolders("Desktop");<br>link = Shell.CreateShortcut(DesktopPath + "\\shortcut-name.lnk");<br>// If you want: <br>// link = Shell.CreateShortcut("D:\\path\\to\\your\\shortcut-name.lnk");<br>link.Description = "a lnk created from cmd";<br>link.HotKey = "CTRL+ALT+SHIFT+l";<br>//link.IconLocation = ".exe,1";<br>link.TargetPath = Shell.CurrentDirectory + "\\lnk-to-this.txt";<br>// If you want:<br>// link.TargetPath = "E:\\path\\to\\your\\target.exe";<br>link.WindowStyle = 3;<br>link.Save();<br>--------------------create-a-lnk.js--------------------<p>Personally, I feel this is much better than running some unkown<br>XcreateLnk.exe as you can see the source, learn the process, and<br>guarante the security of your system.Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-87540062254696904042009-08-07T20:23:00.001+01:002009-08-07T20:23:45.019+01:00linux zip/unzip err encoding 压缩解压中文文件 乱码在linux下压缩和解压(zip,unzip)时,如果文件名中含有中文,就会由于文件名编码
<br>(encoding)不同而出现平台(GNU/linux与win)之间制作的压缩包不能互相兼容的问
<br>题,就是所谓的乱码.这里说一种最简单的解觉方法(2009)
<br>
<br>首先,出现这种情况时不需要紧张,因为这只是文件名称的混乱,文件本身的内容还是正常
<br>的.
<br>
<br>然后,来看解觉的方法^_^:
<br>前提:您身处2005以后的时代~
<br> 安装了zip,unzip ->以ubuntu为例 (~$ sudo apt-get install zip unzip)
<br>
<br>1.制作可以在win下打开的zip压缩包
<br># sorry.暂缺
<br>
<br>2.解压在win下制作的zip压缩包
<br>~$ unzip -O cp936 /path/to/file.zip
<br>
<br>-O 参数指定原压缩包的编码方式.
<br>简体中文(GBK/GB2312) 为 cp936
<br>繁体中文(BIG5) 为 cp950
<br>
<br>结束语.
<br>遇到问题,先尝试 -h --help,然后man,再然后才轮到Google.
<br>
<br>小记:因为要从压缩包里取一个文件名含中文的文件夹出来,记得以前在linux下做的
<br>压缩包在win下会打不开,反过来win下压缩的也会解压成乱码,就试验了一下.果然,
<br>跟以前一样还是行不通的,并没有因为时间过渡到了2009,版本升到了9.04就有所改
<br>变.乱码依旧,直接google,结果除了台湾一个贴子看起来比较有趣外,英文的搜索没
<br>有结果,中文搜索 linux 压缩 解压 乱码得到的全部都是关于rar,7z代替的方案,
<br>再不然就是一篇转了无数次的更改zip源代码的沉旧文章.可是我原先的zip都做好
<br>了,并切也(还)没有养成动辙就源代码编译的好习惯(尤其是在ubuntu下),所以就准
<br>备reboot回我们的D版winxp...
<br>
<br>就在^D退出Terminal的这当口,想到了-h, --help.
<br>
<br>于是就有了本篇的故事.为什么ubuntu里面带的zip不是Info-ZIP的呢?那样也许就
<br>可以在制做压缩包的时候也指定编码格式了.
<br>
<br># 台湾的站
<br><a href="http://mrtg2.tnc.edu.tw/xoops/html/modules/weblog/details.php?blog_id=181">http://mrtg2.tnc.edu.tw/xoops/html/modules/weblog/details.php?blog_id=181</a>Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-15664486537835953292009-08-02T18:20:00.000+01:002009-08-03T11:42:46.136+01:00google code svnsync Error setting propertyWhen I tried to sync a local repository to google code project host, I<br />
got the Error setting property.<br />
yang@acer:~$ svnsync init <a href="https://yangs.googlecode.com/svn">https://yangs.googlecode.com/svn</a> file:///home/yang/code.google/<br />
yang@acer:~$ svnsync sync <a href="https://yangs.googlecode.com/svn">https://yangs.googlecode.com/svn</a> <br />
.......<br />
Committed revision 7.<br />
Copied properties for revision 7.<br />
Transmitting file data ................<br />
Committed revision 8.<br />
svnsync: Error setting property 'log' <br />
svnsync: At least one property change failed;<br />
repository is unchanged<br />
svn: Error setting property 'log'<br />
Could not execute PROPPATCH<br />
After somewhat hours of googling, I didn't find any direct solution for<br />
my problem, although it did help me get an general understanding of<br />
several keyword in the err log:<br />
PROPPATCH is an http method used in WebDav, just like GET, POST, and<br />
PUT.<br />
property is some technology SVN used to store additonal<br />
information about the files in a repository.<br />
Okay, let's go back to my problem, and its solution. In fact, it's easy,<br />
and all included in the svn help. I didn't realize this until I went<br />
back to the svnbook after long time unsuccessful attempts to google the<br />
solution.<br />
The Err message tells you that something wrong happened while setting a<br />
property 'log'. Exactly speaking, it's the 'log' property of revision 8,<br />
as the err happened right after revision 7's commit job was done. So, to<br />
solve the problem, you need to check and repair the 'log' property of<br />
r8, with the folling command:<br />
svn propedit --revprop svn:log file:///home/yang/code.google/ -r8<br />
In my case, it's some unknown blank new lines at the end of the 'log'<br />
property. After remove them, and the command svnsync went through<br />
without any problem.<br />
Hope this will help those who encounter the same/similar questions, and<br />
the lesson I learned from this experience, again: read the manual~Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-5630527502554587102009-05-04T19:49:00.001+01:002009-05-04T19:49:45.061+01:00入党志愿书 2009我志愿加入中国共产党,拥护党的纲领,遵守党的章程,履行党员义务,执行党的决定,严守党的纪律,保守党的秘密,对党忠诚,积极工作,为共产主义奋斗终身,随时准备为党和人民牺牲一切,永不叛党。<br />
<br />
中国共产党是中国工人阶级的先锋队,同时是中国人民和中华民族的先锋队,是中国特色社会主义事业的领导核心,代表中国先进生产力的发展要求,代表中国先进文化的前进方向,代表中国最广大人民的根本利益。党的最高理想和最终目标是实现共产主义。我愿为共产主义事业奋斗终身。<br />
<br />
自1921年建党至今,我们的党已经走过了80多年的道路。这几十年,中国共产党从小到大、从弱到强、从幼稚到成熟,不断发展壮大。从建党之初的50多名党员,逐步发展到今天拥有七千多万党员的执政党。并在长期的革命和建设过程中,先后形成了分别以毛泽东、邓小平、江泽民为核心的三代党中央领导集体。<br />
<br />
新的历史时期,树立和落实科学发展观及构建社会主义和谐社会,是以胡锦涛同志为总书记的党中央提出的重大战略思想。科学发展观揭示了中国发展的本质和核心在于坚持以人为本。以人为本,就是以实现人的全面发展为目标,从人民群众的根本利益出发谋发展、促发展,不断满足人民群众日益增长的物质文化需要,切实保障人民群众的经济、政治和文化权益,让发展的成果惠及全体人民,这直接构成了构建社会主义和谐社会的根本目的。构建社会主义和谐社会必须以人为出发点,着眼于人的问题。努力为构建社会主义和谐社会服务,更是我们每一个共产党员的责任和义务,我们要满腔热忱的投入到建设中国特色社会主义事业中去。<br />
<br />
中国革命的实践雄辩证明了没有中国共产党的领导就没有新中国,没有中国共产党的领导,中国人民就不可能摆脱受奴役的命运成为国家的主人。党是中国特色社会主义事业的领导核心,我以自己能够加入这样伟大的党而感到光荣和自豪。是党把我从一个不懂事的孩子培养成为一名具有大学文化程度的青年。多年来,在党组织的教育与培养下,通过自己的刻苦学习与工作锻炼,我牢固地树立起坚定的马克思主义政治信仰和共产主义理想信念。加入中国共产党,为共产主义理想、为建设中国特色社会主义、为党和人民的根本利益而奉献自己的青春、热血与汗水,这是我的毕生信念与追求。<br />
<br />
现在,如果能接纳我为中国共产党党员,我一定要认真地用共产党员标准来严格要求自己,全心全意地为人民服务,不谋求任何个人私利.百折不挠地执行党的决定,维护党的团结和统一,严守党的纪律,保守党的机密,对党忠诚老实,言行一致,密切联系群众,在工作、学习和社会生活中起先锋模范作用,随时为捍卫党和人民的利益英勇斗争,为全面建设小康社会的宏伟目标不懈奋斗。<br />
<br />
如果暂时不能吸收我入党,那说明我距离党的要求还有一定的差距,我将无情地解剖自己,认真改造世界观、人生观和价值观,不断克服自身存在的缺点,争取早日成为一名光荣的中国共产党党员。<br />
<br />
我志愿加入中国共产党,为共产主义事业奋斗终身!<br />
<br />
X X X<br />
<br />
2009年X月X日Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-18996541777785711272009-05-01T16:01:00.000+01:002009-05-01T16:07:07.917+01:00澄海3C-CREG-无限版 下载地址及开启方法澄海3C-CREG-无限版,非作弊版本。下载地址:<br />
<a href="http://sites.google.com/site/henubnet/downloads">点击这里下载</a><br />
无限技能,需要5V5(可以加电脑),选择死亡模式,即自动开启。Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-65150843112444591702009-04-24T17:52:00.000+01:002009-04-25T16:09:42.241+01:00Got my first offer! from Southampton!A conditional offer from Southampton, my first offer.<br />
<blockquote><span style="font-size: x-small;">Please find attached your formal offer letter - a copy is also being sent via post as well.</span><br />
<span style="font-size: x-small;"><br />
</span><br />
<span style="font-size: x-small;">It is important that you reply as quickly as possible - but please sign and return the "Reply to Offer" form in the post. Please do not wait until you have fulfilled the conditions (if any conditions are stated). Your offer is only valid for two months from the date of the offer letter.</span><br />
<span style="font-size: x-small;"><br />
</span><br />
<span style="font-size: x-small;">We look forward to hearing from you.</span></blockquote><div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_vhhFatQu2uA/SfMnc49M3cI/AAAAAAAAAXs/6ZByVy418gQ/s1600-h/southampton-conditional-offer.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_vhhFatQu2uA/SfMnc49M3cI/AAAAAAAAAXs/6ZByVy418gQ/s400/southampton-conditional-offer.JPG" /></a></div>Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com1tag:blogger.com,1999:blog-4450495834052608379.post-67265868283278939982009-04-15T21:22:00.000+01:002009-04-15T21:22:33.274+01:00my google adsense account was disabledthis morning(4:00 A.M.), while I was trying the usb zip32 boot with FreeBSD, I noticed there was a email from google, with the title "<b>Google AdSense Account Disabled</b>".<br />
<br />
So, <a href="http://what-shenme.blogspot.com/2008/09/google-how-to-apply-for-google-services.html">my google adsense</a> was disabled, and it also said that <b>publishers disabled for invalid click activity are not allowed any further participation in AdSense.</b> Which make me feel sad, for I like google, and the google advertise on my website means something more than the little amount of money(less than $10 in last month). I even saved the envelop received from Google Adsense, just because there is a <a href="http://www.google.com/intl/en_ALL/images/logo.gif">Google's Logo</a>.<br />
<br />
But, now I was disabled.<br />
<br />
The merely one thing make me feel a little better is that Google said it's going to return the money:<br />
<br />
<b>The earnings on your account will be properly returned to the affected advertisers.</b><br />
<br />
And, I hope it's true.<br />
<br />
If you have got he bad luck as well as I, visit this <a href="http://www.google.com/support/adsense/bin/request.py?contact=invalid_clicks_appeal">online appeal form</a>. And google may give you a final chance.Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-33472730970418461902009-03-25T02:37:00.000+00:002009-03-25T07:23:58.460+00:00cert-henu-p2p-speed教育网的速度<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_vhhFatQu2uA/ScmZ_jSTs6I/AAAAAAAAAXI/Q4sZYOB3fv4/s1600-h/cert-henu-p2p-speed.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://1.bp.blogspot.com/_vhhFatQu2uA/ScmZ_jSTs6I/AAAAAAAAAXI/Q4sZYOB3fv4/s400/cert-henu-p2p-speed.jpg" alt="" id="BLOGGER_PHOTO_ID_5316950152170419106" border="0" /></a>昨晚有人在学校网管群里抱怨校园网限速,限制p2p。作为cert教育网的忠实拥护者,截图(因为是PrintScreen直接截的图,电影内容看不到)一张,以<span style="font-weight: bold;">证</span>视听。可以看到,播放器右下角的即时速度为453KB/s。其实,峰值可以达到580多KB,不过是我按键的速度慢了点儿。Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-1707719756404686162009-03-24T12:59:00.000+00:002009-03-25T07:23:58.461+00:00narrowad被黑导致xinhua被挂马2009-03-24下午 18:36 google搜索图片过程中firefox挂掉了 <br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_vhhFatQu2uA/ScjWlzUJ3HI/AAAAAAAAAXA/24forOqC-BI/s1600-h/orz-xinhua-narrowad.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_vhhFatQu2uA/ScjWlzUJ3HI/AAAAAAAAAXA/24forOqC-BI/s400/orz-xinhua-narrowad.JPG" /></a></div><br />
还看到一个rundll错误的提示框,同时发现不明进程<a href="http://www.google.com/custom?hl=en&client=pub-3815551333559223&channel=3347725447&cof=FORID%3A1%3B&q=orz.exe&btnG=Search" title="google orz.exe">orz.exe</a>(先前有听说过,但跟熊猫烧香一样从来没中过,汗……) <br />
当时不太明白的是为什么xinhua网会被挂马,并且是2007-09那么古老的东西 <br />
后来一层一层的挖出来是广告商narrowad的问题。<br />
比较有趣的是,在将近20点时,病毒被清除了,xinhua网上的广告恢复正常。(当时正在从2007-09到2009-03一页一页地测试)<br />
<br />
<a href="http://bbs.kafan.cn/viewthread.php?action=printable&tid=440540">还原后的恶性js脚本</a><br />
<br />
疑问:<br />
1.firefox下的flash插件早已升级,为什么还会出现这样的情况?<br />
2.广告商是如何被黑?(很感兴趣……)以及,又如何恢复过来?<br />
<br />
---------------<br />
更新: 2009-03-24 22:49<br />
疑问1.的答案找到了,早期遗留下的旧版本falsh插件没有彻底清除,导致中马。惭愧……不过,给系统盘设置读写权限的做法很好地保护了俺免遭木马毒害。VBig onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-36020705391365642012009-02-26T16:43:00.000+00:002009-03-25T07:24:26.105+00:00resume a background progress after logout(not ^z bg/fg)here I'd like to share with you some useful tips I just founded while learning to set up a CS1.5 server on GNU/Linux. It's about how to resume a progress that had been put into background as you logout, and it's not the ^z and bg/fg stuff.<br /><br />we have all come crossed such situations that we need to leave for a few seconds or just some unexpected things kicked us out from the system when we were still running a program, say 'nc -l -p 80'. This happens commonly when you are logging in with a not-robust connection, and when we get back, the the program is still there, running in the background. You can see it with a 'ps -A', but never will you be able to 'fg' it.<br /><br />So, what shall we do?<br /><br />The answer is '<span style="font-weight: bold;">screen</span>'. With screen, you can safely "save" a running progress in the system, and "resume" it at any time. Following is the usage from 'man screen'.<br /><blockquote><br />SCREEN(1) SCREEN(1)<br /><br />NAME<br /> screen - screen manager with VT100/ANSI terminal emulation<br /><br />SYNOPSIS<br /> screen [ -options ] [ cmd [ args ] ]<br /> screen -r [[pid.]tty[.host]]<br /> screen -r sessionowner/[[pid.]tty[.host]]<br /></blockquote><blockquote><br /> -d -m Start screen in "<span style="font-weight: bold;">detached</span>" mode. This creates a new session but<br /> doesn't attach to it. This is useful for system startup<br /> scripts.<br /><br /> -S sessionname<br /> When creating a new session, this option can be used to specify a<br /> meaningful name for the session. This name identifies the session<br /> for "screen -list" and "screen -r" actions. It substitutes the<br /> default [tty.host] suffix.<br /></blockquote>And, <span style="font-weight: bold;">examples</span> I found at a <a href="http://www.cstrike.ro/tutorial_cs16_nosteam_linux.php">GUN/Linux CS server howto</a>.<br /><br />"save a progress in background"<br /><br />'screen -A -m -d -S hlds ./hlds_run -game cstrike +ip ip.de.internet +sv_lan 1 -nomaster +maxplayers 18 +map de_dust2'<br /><br />"resume it whenever necessary"<br /><br />'screen -r hlds'<br /><br />To make it background again, Hold ctrl, then press and hold A, then press D.Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-36928623474956159702009-02-22T02:54:00.000+00:002009-03-25T07:24:49.282+00:00gong1chuang1.com今天(2月22号)返回学校才收到上年(2008年)12月24日google中国按照我的申请寄来的<a href="http://www.gong1chuang1.com">益暖中华</a>大学生公益创意大赛的宣传资料,<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_vhhFatQu2uA/SaDAC4PJVjI/AAAAAAAAAWw/izR4Ohnwgbg/s1600-h/0222_090532.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_vhhFatQu2uA/SaDAC4PJVjI/AAAAAAAAAWw/izR4Ohnwgbg/s400/0222_090532.jpg" alt="" id="BLOGGER_PHOTO_ID_5305451516730627634" border="0" /></a><br />而大赛的初赛截至日期是2月14号……Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-45559492830572423582009-01-01T11:57:00.000+00:002009-03-25T07:24:58.176+00:00keep an eye on MicrosoftMaybe we are all googlers, who hate Micro$oft and love GNU, but it is still necessary to watch Bill's huge company, <a href="http://en.wikipedia.org/wiki/World%27s_largest_software_companies">world's largest software company</a>.<br /><br />向来喜欢标榜自己是google的忠实拥护者,努力用开源的GNU替代微软,然而还是很有必要留心比尔盖茨的大公司,<a href="http://en.wikipedia.org/wiki/World%27s_largest_software_companies">世界上最大的软件公司</a>~<br /><br />here are some websites you may be interested.<br /><br /><a href="http://dev.live.com/">Live Services</a><br /><a href="http://blogs.msdn.com/">MSDN Blog</a><br /><a href="https://lx.azure.microsoft.com/">Azure</a>Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-73324286454384557092008-11-25T22:28:00.000+00:002009-03-25T07:13:28.228+00:00how to enable Google Search Wiki!启用SearchWiki的方法!Google announced the new future of <a href="http://googleblog.blogspot.com/2008/11/searchwiki-make-search-your-own.html" title="Search Wiki">Search Wiki </a>on 22th, and even released an <a href="http://www.youtube.com/watch?v=t8Pl1H0dIXE&eurl=http://googleblog.blogspot.com/2008/11/searchwiki-make-search-your-own.html&feature=player_embedded" title="Search Wiki demo video">demo video</a>. Yet, they didn't give out the detail about how to enable the future. Where the fuck are these icons to click on? So, here it is, <a href="http://what-shenme.blogspot.com/2008/11/how-to-start-google-search-wiki.html" title="enable Google Search Wiki">the way to enable Google Search Wiki future</a> !<br />
google在22号对外宣布了其新开放的WikiSearch功能,并且放出了demo video,然而关于如何启用该功能的细节却一直没有给出。那个该死的按钮在哪儿呢?<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_vhhFatQu2uA/SSx9rg3RdUI/AAAAAAAAAVM/XZyHXrWYRkM/s1600-h/StartSearchWiki2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_vhhFatQu2uA/SSx9rg3RdUI/AAAAAAAAAVM/XZyHXrWYRkM/s400/StartSearchWiki2.jpg" /></a></div><br />
启用google WikiSearch的方法其实很简单,如下:<br />
<br />
try the following links:<br />
<br />
<a href="http://www.google.com/search?hl=en&q=SearchWiki*">SearchWiki*</a><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_vhhFatQu2uA/SSyEyhaOHPI/AAAAAAAAAVs/zeFS2r7pGls/s1600-h/StartSearchWiki3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_vhhFatQu2uA/SSyEyhaOHPI/AAAAAAAAAVs/zeFS2r7pGls/s400/StartSearchWiki3.jpg" /></a></div><br />
<br />
or simpy google <a href="http://www.google.com/search?hl=en&q=any*">any* </a><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_vhhFatQu2uA/SSx9a-kN83I/AAAAAAAAAVE/U4UXfiCJ95c/s1600-h/StartSearchWiki1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_vhhFatQu2uA/SSx9a-kN83I/AAAAAAAAAVE/U4UXfiCJ95c/s400/StartSearchWiki1.jpg" /></a></div><script type="text/javascript"><!--
google_ad_client = "pub-3815551333559223";
/* adsense-main */
google_ad_slot = "1385278640";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
the keyword, as you have guessed, is "<span style="font-weight: bold;">*</span>"! Once you included "*" in the keyword, the SearchWiki will be active.<br />
只要在关键词里包含"*"就可以了!!<br />
<br />
IMPORTANT!!!<br />
You must have an google account and login first!<br />
你必须得拥有一个google账户并且登录才行!Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0tag:blogger.com,1999:blog-4450495834052608379.post-73982029794448935772008-11-25T21:13:00.000+00:002009-03-25T07:13:16.204+00:00the way to enable Google Search Wiki futureHappened to delete the old post, for I thought every body already knew how to enable Google Search Wiki. Yet, I was wrong, and it's still something new to most people. At least, you can't find the right answer at present when google "enable google Search Wiki". So I re-posted the article, renamed it from "how to start google Search Wiki" to "how to enable google Search Wiki", and add the <a href="http://what-shenme.blogspot.com/2008/11/how-to-start-google-search-wiki.html#" title="启用SearchWiki">Chinese text</a>.<br />see the new post here<br /><a href="http://what-shenme.blogspot.com/2008/11/how-to-start-google-search-wiki.html" title="enable Search Wiki">http://what-shenme.blogspot.com/2008/11/how-to-enable-google-search-wiki.html</a><br /><br />Plus, you can review your SearchWiki at here --><a href="http://www.google.com/reviews/w" title="review your SearchWiki">http://www.google.com/reviews/w</a>Big onehttp://www.blogger.com/profile/05679435732236591851noreply@blogger.com0