旌旗博客

2007-01-12

Addons of my firefox

Filed under: I.T. — 标签: — rocky @ 17:44

Application: Firefox 2.0.0.1 (2006120418)
Operating System: WINNT (x86-msvc)

Total number of items: 39

  • Adblock 0.5.3.043

    Filters ads from web-pages
  • Adblock Filterset.G Updater 0.3.0.4

    Synchronizes Adblock with Filterset.G
  • AutoBrowse 0.7

    (Disabled)

    - screensaver browsing the net
  • del.icio.us Bookmarks 1.3.73

    Access your bookmarks wherever you go and keep them organized no matter how many you have.
  • del.icio.us Complete 1.3

    (Disabled)

    del.icio.us is a social bookmarks manager. It allows you to easily add sites you like to your personal collection of links, to categorize those sites with keywords, and to share your collection not only between your own browsers and machines, but also with others.
  • Download Manager Tweak 0.7.1

    (Disabled)

    A modification of the Firefox download manager that changes its appearance and allows it to be opened in a separate window, a new tab, or the sidebar.
  • DownThemAll! 0.9.9.7

    The mass downloader for Firefox.
  • Extension List Dumper 1.7.1

    Dumps a list of the installed extensions.
  • Fasterfox 2.0.0

    Performance and network tweaks for Firefox.
  • FireFTP 0.94.6

    (Disabled)

    FTP client for Mozilla Firefox.
  • FlashGot 0.5.97.03

    Enables single and massive (“all” and “selection”) downloads using the most popular external download managers for Windows, Mac OS X, Linux and FreeBSD (dozens currently supported, see Extension’s Home Page for details). FlashGot offers also a Build Gallery functionality which helps to synthetize full media galleries in one page from serial contents originally scattered on several pages, for easy and fast “download all”.
  • FoxyTunes 2.0.4

    Control any media player from Firefox and more…
  • GButts 1.4.7.1

    Display all of your Google Services as buttons just next to your “Home” button or anywhere you like it!
  • Gmail Notifier 0.5.6.5

    A notifier for Gmail accounts.
  • Google Toolbar for Firefox 2.1.20060807W

    Take the power of Google with you anywhere on the Web!
  • Html Validator 0.7.9.5

    (Disabled)

    Adds HTML validation to the View Page Source of the browser. The validation is done by Tidy from W3c.
  • IE Tab 1.3.0.20061230

    Enables you to use the embedded IE engine within Mozilla/Firefox.
  • Java Console 6.0

    (Disabled)
  • JavaScript Debugger 0.9.87

    (Disabled)
  • JSView 1.2.1

    View the source code of external stylesheets and javascripts.
  • MeasureIt 0.3.6

    Draw out a ruler to get the pixel width and height of any elements on a webpage.
  • NoScript 1.1.4.5.061221

    Extra protection for your Firefox: NoScript allows JavaScript, Java (and other plugins) only for trusted domains of your choice (e.g. your home-banking web site). This whitelist based pre-emptive blocking approach prevents exploitation of security vulnerabilities (known and even unknown!) with no loss of functionality… Experts will agree: Firefox is really safer with NoScript :-)
  • PDF Download 0.7.8

    Allows to choose what you want to do with a PDF file: download it, view it with an external viewer or view it as HTML!
  • RankQuest SEO Toolbar 3.5

    (Disabled)

    Rankquest SEO(Search Engine Optimization) Toolbar provides you quick access to more than 30 intuitive SEO tools. Once you download and install the SEO Toolbar you are only one or two clicks away from carrying out most of your day to day SEO operation
  • Resizeable Textarea 0.1d

    Resize textareas to your needs.
  • Tab Clicking Options 0.6.8

    (Disabled)

    Select actions for clicking events on a tab or the tabbar
  • Tab Mix Plus 0.3.5.2

    (Disabled)

    Tab browsing with an added boost.
  • Tabbrowser Preferences 1.3.1.1

    Enhances control over some aspects of tabbed browsing.
  • Talkback 2.0.0.1

    Sends information about program crashes to Mozilla.
  • UrlParams 2.01.02

    Displays the websides get/post parameters in the sidebar.
  • User Agent Switcher 0.6.9

    (Disabled)

    Adds a menu and a toolbar button to switch the user agent of the browser.
  • View formatted source 0.9.4.6

    (Disabled)

    View formatted and rendered source code
  • View Source Chart 2.5.02

    Creates a Colorful Chart of a Webpage’s Rendered Source.
  • W3C CSS validator 0.1.4

    (Disabled)

    W3C CSS online validator
  • Web Developer 1.0.2

    Adds a menu and a toolbar with various web developer tools.
  • Wizz RSS News Reader 2.1.6

    (Disabled)

    A fairly good RSS and Atom news reader.
  • wmlbrowser 0.7.8

    Display WML (Wireless Markup Language) content.
  • XHTML Mobile Profile 0.3.6

    Allows XHTML Mobile Profile to be displayed in the browser.

使用rsync同步

Filed under: I.T. — 标签:, — rocky @ 11:43

做网站开发经常碰到的问题是代码更新的问题。
直接用ssh登到服务器上操作总会遇到网络太慢的情况,于是传统的做法是在本地改,然后ftp上传。可是如果改的文件数量比较多,而且比较分散,就比较头疼了,费时费力而且很容易出错。如果你感到痛苦,就用rsync吧。
简单使用方法:

  • 1. 在服务器上配置文件:
    /home/kingtch/rsyncd.conf

    uid = rocky
    gid = rocky
    use chroot = no
    max connections = 1
    syslog facility = local5
    pid file = /var/run/rsyncd.pid

    [www]
    path=/home/kingtch/www
    comment = kingtch WWW repository (requires authentication)
    #auth users = rocky
    #secrets file = /home/kingtch/rsyncd.secrets
    hosts allow=221.217.166.54

    启动服务:rsync –daemon -v –port=10025 –config=/home/kingtch/rsyncd.conf

  • 2. 本地更新:
    从服务上更新本地代码:rsync -ruv –compress –links –progress –exclude=image rsync://www.kingtch.com:10025/www ./kingtch_www/

安全问题一直是r系列程序被世人诟病之焦点,所以需要注意:
1. 正确配置好配置文件中的uid、gid,使得服务器运行用户不可能越雷池。
2. 连接数作限制
3. 作IP限制
4. 目前rsync本身并不支持ssl,因此可能被窃取传输数据。但rsync可基于ssh等进行传输,所以问题不大。
5. 如果不麻烦的话,用完了就把服务器上的rsync服务关掉。

其实也有一些如FTPSync等软件可以实现基于FTP协议进行同步,相信是鼠标爱好者的同行们的可选项之一,只是其不支持加密的FTP,而且作者好像n年没更新了。

2007-01-09

计算机安全十巴掌

Filed under: I.T. — 标签: — rocky @ 23:55

近来流氓软件事件闹得沸沸扬扬,我不是专门搞安全的,但是与计算机为伴十年来,我从来没湿过鞋,看来在时刻保持警惕心理的同时,幸运指数也是不可或缺的,呵呵。
要想不中招,最重要的是要保持高度警惕心,对自己的好奇心压抑再压抑。在此简单列几点怎样与病毒、木马、流氓软件划清界限:
1. 装操作系统的时候不要连着网线。装完之后第一件事就是装杀毒软件、防火墙,甚至优先于驱动程序。我最习惯用的还是norton,目前在用的是2005版本。norton对市面上流行的流氓软件几乎没什么作用,因此我还用了windows defender。安全卫士360没用过,据说不错,但是其绯闻太多,我不太感冒。呵呵,想起九年前颠颠地跑中关村去花了一两百大元买了个正版的kv300,结果因为怕把娇嫩的软盘用坏了,大部分时间还是用着盗版的。
2. 关掉本地的尽量多的服务。譬如Alert、WWW等等都是臭名昭著的有漏洞的,当然微软给了你补丁,但是难说还有漏洞阿。
3. 尽量不用网络共享,很多病毒就是通过网上邻居的共享目录中的文件感染的。把网络上绑定的服务留个TCP/IP就够了。
network.jpg
4. 装完机器,做完以上几个步骤,马上更新病毒库,到微软网站上更新windows。千万不要上任何国内网站,要不然你的机器上马上就被安上n个流氓软件。不要相信新浪等等大公司就会不做坏事,我还是比较信任google,google有个最大的信条就是永远不做坏事。
5. 在查看文件夹选项中,把隐藏已知文件后缀名的选项去掉。很多木马就是可执行程序,可是图标让你误认为是个图片或者txt文件,你一双击就晚节不保了。
6. 关掉所有驱动器的自动播放功能。太多的病毒、木马就是用自动播放传播的。开着自动播放的话,很多U盘、手机里的病毒一连上你的计算机,就搞定你了。尽量不要双击外来的文件、可移动磁盘之类,使用右键菜单,可以避免你不知不觉地唤醒病毒。
7. 收到的邮件在打开之前多多注意一下发件人地址、附件。如果没把握的话,就不要打开,放在可疑邮件箱里养几天,或者干脆删之为快。.exe、.cmd、.pif、.lnk等等危险后缀名的附件打开之前要慎之又慎。
8. 浏览器尽量不用IE,换成Firefox之类的,配上adblock、noscript等插件享受清净生活吧。如果非要用IE时,一定要经常管理管理IE的加载项,把没有把握的插件统统禁止掉。
9. MSN里可以配置病毒扫描,一定要配上。不要接收莫名其妙的文件,就算对方是熟人,也要保持警惕,因为有可能对方已经被感染病毒了。QQ里的这种情况比较普遍,我就经常看到有朋友一上线就发文件名比较色情的东西给我。千万保持洁身自好,呵呵。顺便说说,QQ里经常有人假扮成mm,勾引你,然后发文件给你说是她的照片,一般是exe文件的话就绝对不要相信她,收下来即使作病毒扫描也可能没用,因为它不能算病毒,有些勉强可以算是木马,或者干脆所做的工作只是为了盗取你的QQ密码阿、银行帐号什么的,并没留什么后门,无论哪个杀毒软件都不可能识别所有的这些程序的。
10. 最重要的还是时刻警惕,无数的病毒、木马永远都会在门外等着任何的缝隙杀进来。不要有侥幸心理,定期备份重要的文件到光盘上。对敌斗争是艰苦卓绝的,你总有打盹的时候,但愿中招的时候你不会连死的心都有。

2007-01-08

vs.php 破解下载

Filed under: I.T. — 标签: — rocky @ 13:10

下载安装:http://www.jcxsoftware.com/vsphp/2.1/2005/vsphp_en_2.1.3.3161.msi
破解下载,解压覆盖安装目录下的vsphp.dll即可。注意备份原dll文件。
该破解适用于2.1.3.3161版本。

常用shell命令

Filed under: I.T. — 标签: — rocky @ 12:56

1. basename
    strip directory and suffix from filenames
    myscript:
        echo “Usage: `basename $0` [option]”
        exit 1

2. dirname
     strip non-directory suffix from file name

3. fuser
    identify processes using files or sockets
    e.g.:  输出监听tcp 80端口的进程
             for name in `fuser 80/tcp 2>/dev/null` ; do echo $name; done | awk ‘{print “ps -fp “, $1}’ | sh| grep -v UID

4. strings, hexdump
    查看二进制文件内容。

5. awk
    pattern scanning and processing language

6. sed
    stream editor for filtering and transforming text

2007-01-07

胡杨林 – 香水有毒

Filed under: Life — 标签: — rocky @ 22:44

WordPress的coolplayer插件

Filed under: I.T. — 标签: — rocky @ 16:14

由于有些歌曲的URL并不以mp3等真实后缀名结束,而后缀名正是目前coolplayer判断媒体类型的唯一依据,故修改了一下coolplayer使得可预先指定文件的媒体类型(后缀名)。
点击下载修改后的coolplayer

使用方法:

[coolplayer width=”400″ height=”70″ charset=”GBK” autoplay=”false” loop=”true” download=”show”
mediatype=”mp3″]
<a href=”http://211.94.188.97:9000/download.php?filepath=L25ldy9tcDMvMDYwOS8wNS9qYXlfY2hvdV8tX3N0aWxsX2ZhbnRhc3kvMTAubXAz&free=N&username=ROCKY” rel=”nofollow”>
菊花台</a>[/coolplayer]

今日推荐:周杰伦-菊花台

Filed under: Life — rocky @ 15:10
« Newer Posts

Powered by WordPress