Archive for the ‘app’ Category
Firefox 3.6 beta 5 隐藏菜单栏
Posted in app, firefox on 12/30/2009 12:03 下午 by tunpishuangFirefox 3.6 beta 5 加入隐藏菜单栏的功能。右击导航栏或者菜单栏,反选“菜单栏”就隐藏掉了菜单栏。
根据现有的主流分辨率来看,可以节省出20到40像素。

当你需要使用菜单栏的时候,按住Alt键,菜单栏会临时弹出。
如果你需要在Firefox 3.5中隐藏菜单栏,你需要类似于Personal Menu 或者 Compact Menu 2 的扩展。
[Wed Dec 09 20:08:30 2009] [error] (OS 10038)在一个非套接字上尝试了一个操作。 : Child 7852: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.
Posted in apache, app on 12/09/2009 08:31 下午 by tunpishuang今日电脑上的APACHE启动后CPU占用率一直高居100%, PHP程序也无法执行了。
查看错误日志里面记录了很多:
[error] (OS 10038)在一个非套接字上尝试了一个操作。 : Child 3356: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.
去到网上搜索,找到下面的解决方法:
编辑httpd.conf
Win32DisableAcceptEx ##加入这行
ThreadsPerChild 250
MaxRequestsPerChild 0
重启apache就解决了。
修改后还是不行,任然有错误记录,CPU占用率是降低了,但是还是没有恢复到原来的状态.logs里面还是一直在记录下面的错误报告。
[Mon Dec 24 16:48:06 2007] [error] (OS 10038)在一个非套接字上尝试了一个操作。 : Too many errors in select loop. Child process exiting.
[Mon Dec 24 16:48:06 2007] [notice] Child 1916: Exit event signaled. Child process is ending.
[Mon Dec 24 16:48:07 2007] [notice] Child 1916: Released the start mutex
[Mon Dec 24 16:48:07 2007] [notice] Child 1916: Waiting for 250 worker threads to exit.
[Mon Dec 24 16:48:07 2007] [notice] Child 1916: All worker threads have exited.
[Mon Dec 24 16:48:07 2007] [notice] Child 1916: Child process is exiting
[Mon Dec 24 16:48:07 2007] [notice] Parent: child process exited with status 0 — Restarting.
[Mon Dec 24 16:48:07 2007] [notice] Apache/2.0.55 (Win32) configured — resuming normal operations
[Mon Dec 24 16:48:07 2007] [notice] Server built: Oct 9 2005 19:16:56
[Mon Dec 24 16:48:07 2007] [notice] Parent: Created child process 3028
[Mon Dec 24 16:48:07 2007] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Dec 24 16:48:07 2007] [notice] Child 3028: Child process is running
[Mon Dec 24 16:48:07 2007] [notice] Child 3028: Acquired the start mutex.
[Mon Dec 24 16:48:07 2007] [notice] Child 3028: Starting 250 worker threads.
[Mon Dec 24 16:48:08 2007] [notice] Child 3028: Listening on port 80.
最后搜索到与winsock有关,有网友也出现了这个问题,他认为是金山毒霸或者升级精灵修改了WINSOCK导致的。由于我电脑上也安装了金山毒霸,而且最近几天也升级过了,应该是同样的问题。于是搜索到恢复Winsock的方法:
netsh winsock reset
使用此条命令恢复后,重启电脑,这下Apache恢复当原先的良好状态了。
希望遇见这样问题的朋友们能得到帮助~~!
————–
我可以肯定又是dr.com在篡改winsock。
解决Firefox连接example.com:443时发生错误。 由于SSL协议被禁用,无法安全的连接。 (错误码: ssl_error_ssl_disabled)
Posted in app, firefox on 10/08/2009 09:43 下午 by tunpishuang打开firefox出现警告框,然后https协议的网站都打不开,错误提示:“连接example.com:443时发生错误。 由于SSL协议被禁用,无法安全的连接。 (错误码: ssl_error_ssl_disabled)”
出现问题的可能有:
硬盘空间不足
查看自己的硬盘分区,看有没有快空间耗尽的,有就清理下。
文件权限不够
检查profile目录下面cert8.db是否为只读,请务必不要勾选只读选项。我的系统现在是windows 7,profile目录是C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox\Profiles\b05uoda1.default
文件损坏
cert8.db文件可能因为系统原因而损坏,关闭firefox,删除cert8.db,然后启动firefox。
以下听说是cert8d.db损坏的原因:
Non-Latin characters in username
There seems to be a bug with non-Latin (For example Chinese or Russian) characters in your username. There’s no fix yet but a workaround is to make another account with a Latin characters only username.
via,
刚才好像是灵魂出窍了,blogspot可直接访问。
UltraEdit未知文件后缀名自动语法高亮
Posted in app on 07/14/2009 10:06 上午 by tunpishuang这几天在学cakephp框架出现了一个问题,我使用的编辑器是ultraedit, cakephp在基于mvc的理念来开发的,其中用来写视图(view)的文件不是默认的.php后缀,而是.ctp (cakephp template pages) 后缀。这样在ultraedit打开ctp文件的时候,貌似ultraedit不是根据文件内容来判定这是一个用了啥语言的源代码,最后找到了答案:进入“高级”->”配置”->”编辑器显示”->”语法高亮” :
所有关于语法高亮的定义的文件都保存在d:\app\ue32\wordfiles ,这个路径是我以前自定义的,默认应该是系统用户application data目录,下面的语言选择PHP ,打开, 就会打开php.uew文件,转到第一样看到 如下代码:
File Extensions 就是定义了哪些后缀需要当php语法格式高亮,在后面加入ctp就达到目的了,其他可以举一反三。
firefox 3.5壁纸和t-shirt
Posted in app, firefox on 07/01/2009 09:39 下午 by tunpishuang
firefox在09.6.30放出后,就有了巨大的下载量,因为firefox一直是我的首选浏览器,我也按不住内心的冲动,今天升级了一下。
升级之前我都用的版本是3.0.11 ,装了10个左右的扩展,安装在D:\app\firefox目录,升级之前用mozbackup备份一下资料,然后安装firefox 3.5到d:\app\firefox ,不用mozbackup还原,所有的cookie、浏览历史、扩展、配置 都在,只是在运行firefox 3.5之前的扩展兼容性检查中有几个不兼容,有迅雷,bitcomet,嘀址,如果非要使用,可以手动修改xpi文件,应该影响不大,因为这些扩展没有使用到firefox的一些高级接口,比如右击添加链接之类的,所有和以后的3.5版本应该没有多大的冲突。google toolbar虽说通过兼容性检查,但是所有按钮都点不起,及时单词翻译也只出现一个小空格。
firefox 3.5相关资料:
面向开发人员的firefox 3.5 new features https://developer.mozilla.org/En/Firefox_3.5_for_developers
Firefox 地理位置定位 http://zh-cn.www.mozilla.com/zh-CN/firefox/geolocation/
firefox video http://www.mozilla.com/en-US/firefox/video/
发行说明 http://www.mozilla.com/en-US/firefox/3.5/releasenotes/
update:Google Toolbar 5.0.20090324 这个最新版本使用没有问题。
现在周边的东西已经推出 t-shirt到这里mozilla商店有卖,突然就是本文配图,叫做word cloud. 价格24$,太贵了,买不起。
不过可以下点壁纸安慰一下,以下分辨率都支持。
800×600
1024×768
1280×1024
1440×900
1680×1050
1920×1200
—-irrellevant————–
今天下午去吃饭的路上,摔了一跤,因为穿的拖鞋,很滑,pp很痛,也很囧。啥倒霉的事都让我碰得上,下次估计就是尝试汽车炸弹了。
Firefox 无法将文件安装至 http://xxxx原因为: 不预期的安装错误 详情请查看错误控制台日志。 -203
Posted in app, firefox on 05/27/2009 07:08 下午 by tunpishuang
前几天安装了win7,在安装之前把firefox的资料都用mozbackup备份了一次,然后安装好了后还原,问题就来了。cookie,密码,缓存都正常,就是扩展里面一片空白,于是心想估计是丢了,无所谓就重新下载,结果安装任何的扩展都出现这样的错误:
Firefox 无法将文件安装至 http://xxxx原因为: 不预期的安装错误 详情请查看错误控制台日志。 -203
google了,也有人出现这样的问题,但是没有明确的解决方法,最后在http://kb.mozillazine.org/Unable_to_install_themes_or_extensions_-_Firefox找到了答案。里面列出了所有的出现无法安装卸载扩展的原因和解决方案,用查找搜索“203”定位到这里:
Corrupt extension files
Files that store information about the extensions you have installed can sometimes be corrupted. Deleting them can fix a number of extension issues; they will be regenerated the next time you start Firefox. [17][18]. Exit Firefox completely, then open your Firefox profile folder (read the linked article for its location) and delete* these three files:
- extensions.ini
- extensions.cache
- extensions.rdf
- Note : Although unwanted files/folders can be deleted, renaming them is generally considered a safer option. This achieves the same result, but allows the user to retrieve any possibly required information from them later on. In the case above, rename the above 3 files as , ‘extensionsOLD.ini’, ‘extensionsOLD.cache’, ‘extensionsOLD.rdf’
Unexpected installation error -203
Installing themes or extensions may fail with the message, Unexpected installation error -203. (If this occurs after a Software Update you may find that add-ons that were previously installed also do not work.) Follow the above directions to remove corrupt extension files. [19] If the problem is not resolved and you use ZoneAlarm or CA Firewall, disable it temporarily (enable Windows Firewall in the interim) to allow the installation. [20] If the problem persists, your profile may be corrupt (bug 361358). Use the Profile Manager to create a new profile [21] or create a new default profile [22] and then transfer your data to the newly-created profile.
——————————-
搞了半天结果是扩展损坏造成的,解决方法是:删除 C:\Users\tun\AppData\Roaming\Mozilla\Firefox\Profiles\3neukyyj.default (win7系统是这个目录,找不到这些文件,用windows搜索。)目录下的extensions.ini extensions.cache extensions.rdf 这3个文件,当然最好是备份,免得数据丢失。删除后这3个文件重新生成,也就是说里面关于扩展的记录都消失了,全部扩展需要重新安装。
推荐两个在线免费pdf转excel,pdf转word
Posted in app on 05/21/2009 07:36 下午 by tunpishuangpdf to excel : http://www.pdftoexcelonline.com/
pdf to word: http://www.pdftoword.com/
同一个人开发的,转换效果还不错的说。:)
Firefox3.5最后更新:新logo
Posted in app, firefox on 05/17/2009 03:08 下午 by tunpishuangFirefox3.5(Shiretoko)即将发布,Mozilla公司正在准备最后一个更新:新的firefox logo。
所有logo比较:
这个是iteration 2,看起来最大的区别就是尾巴相当的”fire”。![]()
更多关于firefox设计的信息,请参见Alex Faaborg的博客(Mozilla首席设计师)







