当前位置: 首页 >> '操作系统'分类下的文章

Keepass 2.10 的 Auto-type问题

2010年3月6日,Keepass 2.10正式发布了,更新后发现Keepass在执行Auto-type的时候有很多问题:
1、在Firefox要求输入主密码的时候,无法使用Ctrl + Alt + A来执行Auto-type。
2、在Putty的Pageant增加key的时候,无法使用Auto-type来输入Passphrase。
3、在某些网站也无法使用Auto-type。
此时,只要你切换成2.09,一切问题都迎刃而解,不复存在,因此,出现这些问题肯定是Keepass本身的问题。

Read the rest of this entry »

修改Bat文件运行后窗口的标题

方法一:给这个bat文件创建个快捷方式,把快捷方式的名字修改成你需要的“title”字符串,每次运行的时候使用这个快捷方式即可。

方法二:在bat文件里面修改:

title  title_name

3G上网,FireFox帮你省流量-不显示图片和Flash

在没有网络的地方,通过无线上网确实很方便,但是对于我这种不是包月的来说,流量就是一个很大的问题,每个月之后150M的流量,挺紧张的啊。

于 是想到将firefox设置成不显示图片应该能节省不少流量。

1、不播放flash,需要插件支持:Flashblock

2、 不显示图片:工具(Tools)->选项(Options)->内容(Content)->自动加载图片(Load images automatically),去掉这个选项就OK啦。

对于IE来说,可以在  工具 -> Internet选项 -> 高级 -> 多媒体,把图片去掉就OK啦。

通过iptables的recent模块保护某些私有服务

以前写过一篇《巧用Recent模块加固Linux安全》,后来想想,其实这个题目写得不好,不应该说是加固Linux的安全,应该是加固私有服务的安全

同样,这篇文章也是关于通过recent模块来保护私有服务的。

Read the rest of this entry »

FreeBSD下运行Zabbix出现错误

这次提示:

zabbix_agentd [12234]: Can not create Semaphore [No space left on device]
zabbix_agentd [12234]: Unable to create mutex for log file

这次又是另外一个错误,根据上次的经验,通过修改sysctl.conf试试

kern.ipc.shmall=40960000
kern.ipc.shmmax=204800000

居然好用了

对PHPDisk做一点点小的调整

需求:要求公共文件只有已注册帐号才能浏览和下载。无帐号用户拥有提取码仍然可以下载到该下载的文件。

想了许多方法,最终还是觉得这个方法比较快捷:

1、在includes/header.inc.php增加:

if(!$pd_uid && $dont_need_login != 1 ){
 header("Location: ".urr("account","action=login"));
}

2、分别在account.php extract.php viewfile.php文件头部增加

$dont_need_login = 1;

FreeBSD Ports变化带来的一点小麻烦

平常使用Linux比较多,为熟悉和了解FreeBSD,在虚拟机下安装了一个FreeBSD,为了了解FreeBSD的升级功能,特意安装7.2版本,通过网络升级,升级到8.0版本。

Read the rest of this entry »

AutoHotKey-梦里寻她千百度

在此之前,由于工作需要,曾经使用过其他一些鼠标点击软件,如:鼠标点击精灵,但是软件的功能、稳定性和可扩展性都不够,程序相对说来比较死板。近日,使用VLC转播电视节目,在Win下的VLC长期运行会意外出错,并且询问是否提交反馈,此时就需要人为干预,一开始试着找寻关闭此对话框的方法,最终Google到这样一篇文章,还好通过Google翻译后还是能够看懂的:http://www.wenzk.com/archives/539,作者提到使用AutoHotKey这个软件,并且提供一个可以关闭VLC错误对话框的脚本,感觉这个软件应该比较强大。

Read the rest of this entry »

AutoHotkey is a free, open-source utility for Windows

AutoHotkey is a free, open-source utility for Windows. With it, you can:

Read the rest of this entry »

VLC disable error messages (error messages suppressed)

VLC from throws and not turn-off errors in a separate error window [1] [2] [3]. These errors particularly annoying when VLC is operated with a remote control or keyboard. Also setting the “verbose level” ( “Verbosity”) to “0″ or the quiet switch “be quiet” ( “Be”) under “Tools-> Settings” ( “Tools-> Preferences) does not prevent VLC still sporadic error messages. The problem can be solved but with AutoHotkey and a corresponding script. This script monitors the open window in Windows and includes an error occurs, the information window of VLC.

Read the rest of this entry »