手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表分类:Software

Firefox4来袭

Firefox4如期来袭,你们准备好了吗?IE9,你在哪里?chrome 100你在哪里(没打错哦,chrome的版本升的太快了。。。)?Safari6?opera 11?

好了不多说了,今天上午就有传闻是FTP中可以下载了,早期还是有人可以下载得到的,但后来的人打开时都显示550 permisson denied。如今到了晚上,终于正式放出来了。

FF4给大家带来了什么 ?更小的内存占用?更漂亮的UI界面?还是更快的速度?估计大家都在折腾了,但是对我来说,大量的插件还没有升级上去,是让我们非常痛苦的事情。
好吧,不说废话了,去下载吧:http://www.mozilla.com/en-US/firefox/new/

顺便:FF可以直接点check for update就可以升级了啦。无需单独下载

Tags: firefox, chrome, ie, opera, safari

Junction 详细使用方法

看到有人回复说想了解junction的使用方法,我在这里就详细介绍一下吧。

下载地址在那篇文章已经有,这里我就不介绍了。

我说一下具体的应用方法吧,虽然可能还是比较简单的。

1、先执行一下junction.exe文件,让它注册到系统(我是将它扔在快盘里面的,这样我就不需要到处下载了)

2、创建引用:junction x:\test c:\test ,第一个参数是在x盘里创建的目录,需要该目录不存在 。第二个参数是目标目录。(也就是将C盘的test目录创建了一个快捷方式到x盘的test目录下),只是这种快捷方式与平时的快捷方式不太一样而已

3、其实,这样就完事了。如果觉得目录创建错误了,可以junction -d x:\test 将它删除

如果知道一个目录是引用来的,如何查看目标目录是啥呢?可以这样:

XML/HTML代码
  1. 假设知道x:\neatpic是引用来的目录,可以这样运行一下  
  2. X:\>junction.exe x:\neatpic  
  3.   
  4. Junction v1.06 - Windows junction creator and reparse point viewer  
  5. Copyright (C) 2000-2010 Mark Russinovich  
  6. Sysinternals - www.sysinternals.com  
  7.   
  8. x:\neatpic: JUNCTION  
  9.    Substitute Name: e:\www\htdocs\neatpic  
  10. OK,这样就知道,目标目录是 e:\www\htdocs\neatpic  

如果想知道所有的junction引用的目录,可以运行想要查看的目录下运行,junction -s,

 

----------------------

由于这种创建快捷方式的功能与平时windows的不一样,对于虚拟盘来说,它认为这就是一个实际存在的文件,所以它就认为这些文件是在这个盘里是物理存在的,所以,就会执行正常的上传下载之类的操作。

【其实junction相当于linux下的管道,这样一来就应该明白了吧?】

Tags: junction

推荐密码管理软件: KeePass

KeePass Password Safe 2,这款软件是同事在用的,看他使用的时候,我觉得还不错,所以就向他找了一份,并尝试着使用了一下,觉得还是感觉不错的,所以用来推荐一下

Keepass有着自己的数据格式,至于能不能被其他软件所破解,就不是我关心的了(不可能说永远不可能破解,只是机率会比较小一点吧)

Keepass打开数据库时,可以指定密码,有三种方式1、密码,2、密码文件3、windows自身的用户

由于我用金山快盘,所以我就每天在单位和家里进行同步喽。使用起来也算方便,也能够自己按照自己的规定生成密码,有一个好处就是可以设定双击复制密码的时候在剪贴板里存放多少时间 ,超过这个时间后就自动被清空,这相对会让人感觉比较安全。

再说一下,这个软件也有很多的插件,比较感觉不错的会有两个插件是我想用的,kefromff,和sync,一个是可以把firefox里存放的密码导入到keepass里,另一个就是帮你把数据库备份啦 。。

其实还有一些插件,比如自动输入密码这个功能,我是觉得不太方便,因为他有顺序要设定,不能根据当初的设定而自动输入(如果顺序不对,就输的不对,我觉得太麻烦了)

当然,作为一个优秀的软件,它还是有汉化包的,所以,对于普通用户来说没有什么难度啦:http://keepass.info/ , 插件地址在:http://keepass.info/plugins.html , 插件地址是:http://keepass.info/translations.html。

以前好象有一个叫roboForm之类的软件,也用过一阵子,不过相对来说,用了这个软件后,我好象就忘了roboForm,不过那个软件好象是支持自动填表的。。而且相对比较准确(firefox也是可以的)

Tags: keepass

Netbeans nightly build的BUG

这次nightly build的BUG太让人郁闷了,已经影响到我的正常开发了。。

动不动就抛个出错的异常,比如:Trying to remove null annotation

有人就提问了(不是我)。。。

http://netbeans-org.1045718.n5.nabble.com/70cat-20110208000-is-not-working-well-at-all-td3376754.html
  1. I have had no end of trouble with 20110208000 (I was unable to get  
  2. latest beta this morning).  
  3.   
  4. My problems have mostly revolved around editing properties files.  
  5.   
  6. So far today I have received:  
  7.   
  8.      IllegalStateException: Trying to remove null annotation 8   
  9.      URL Loading Failed with 502 error 7   
  10.      IllegalStateException: limitOffset=xxxx > docLength=yyyy 6   
  11.      Checking Password Failed 2   
  12.      Read Timed Out 5   
  13.      Junit failed to install properly  
  14.   
  15.   
  16. This is just from editing the single properties file.  
  17.   
  18. I have submitted multiple errors, both through the "report issue" and  
  19. the "review&  
  20.  & report" methods.  The "report issue" is working, but the "review &  
  21. report" appears to be failing consistently,  
  22.   
  23.   
  24. Eric M. Smith   

收到的回复是。。。

XML/HTML代码
  1. Hi Eric,  
  2. we faced a problem during the day with the server logging exceptions. It  
  3. should be fixed now and we'll do our best to avoid such situation in the future.  
  4.   
  5. Thanks for understanding and your help,  
  6. *Marian   

好吧,我就等他们的修复了,只是,等待是最让人难熬的事情。。。我现在是一删除空行什么的就出错,还有就是有时候括号匹配的时候如果多了少了,就立马抛出异常,抛就抛呗,editor居然白屏,看不到编辑的内容。。。这才让人郁闷。

 

Tags: netbeans

Junction

看到cyz的留言,我才知道有Junction这个软件。

google了一下,发现了软件下载的地址:http://technet.microsoft.com/en-us/sysinternals/bb896768,微软官方的地址哦。。。在的版本是1.06,使用起来很方便。

下载到本地后,运行junction.exe,会出现一个安装窗口,然后就什么 都没有了。其实这时候是需要到命令行下运行。。

如果不会使用直接junction.exe -?,就可以了解一些参数和实际的方法了。

官方的例子是英文的,不翻译了,毕竟就两个参数,如果不想折腾,其实就用最简单方法,运行junction.exe -?的时候就有这个例子:junction.exe d:\link c:\windows

创建的时候,在d盘不能有link目录,否则会提示有错误,目录已存在,不能创建。。。。

XML/HTML代码
  1. Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer. For example, if the directory D:\SYMLINK specified C:\WINNT\SYSTEM32 as its target, then an application accessing D:\SYMLINK\DRIVERS would in reality be accessing C:\WINNT\SYSTEM32\DRIVERS. Directory symbolic links are known as NTFS junctions in Windows. Unfortunately, Windows comes with no tools for creating junctions—you have to purchase the Win2K Resource Kit, which comes with the linkd program for creating junctions. I therefore decided to write my own junction-creating tool: Junction. Junction not only allows you to create NTFS junctions, it allows you to see if files or directories are actually reparse points. Reparse points are the mechanism on which NTFS junctions are based, and they are used by Windows' Remote Storage Service (RSS), as well as volume mount points.  
  2.   
  3. Please read this Microsoft KB article for tips on using junctions.  
  4.   
  5. Notethat Windows does not support junctions to directories on remote shares.  
  6.   
  7. If you want to view reparse information, the usage for Junction is the following:  
  8.   
  9.    
  10. Using Junction  
  11.   
  12. Use junction to list junctions:  
  13.   
  14. Usage: [-s]  
  15.   
  16. -s    Recurse subdirectories  
  17.   
  18. Examples:  
  19.   
  20. To determine if a file is a junction, specify the file name:  
  21.   
  22. junction c:\test  
  23.   
  24. To list junctions beneath a directory, include the –s switch:  
  25.   
  26. junction -s c:\  
  27.   
  28. To create a junction c:\Program-Files for "c:\Program Files":  
  29.   
  30. C:\>md Program-Files  
  31.   
  32. C:\>junction c:\Program-Files "c:\Program Files"  
  33.   
  34. To delete a junction, use the –d switch:  
  35.   
  36. junction -d c:\Program-Files  

 

-------

然后再说cyz的那个T盘+junction。于是我在x盘里运行了junction.exe x:\xxx e:\www\htdocs\xxx,直接把我的xxx当成引用目录

大小: 19.21 K
尺寸: 307 x 125
浏览: 1316 次
点击打开新窗口浏览全图

看到这个上传的标记,我终于可以相当于指定目录了,而且存储在了快盘里。嗯,非常开心。指定目录的时候也很方便,不用象sugarsync那样,还得一个个的找目录(因为指定的非常乱)。

最后说一声,感谢cyz介绍的这个方法和软件【当然,它不是没有缺点,它的缺点就是。。。更改junction创建的目录里的文件时,快盘认不出它被修改了。也就是说它无法即时更新,非得我手动更新才行,而快盘又没有命令行,也不能设置多久自动更新一次。】

Tags: junction