海运的博客

Gvim打开文件错误信息一闪而过解决

发布时间:January 24, 2013 // 分类:Vim // No Comments

最近通过VundleGvim转移到其它电脑上,打开txt文本时显示红色错误一闪而过,可使用以下命令查看详细错误信息。

:messages

绿化Firefox火狐及运行多个实例

发布时间:January 18, 2013 // 分类:Firefox // No Comments

火狐安装后备份安装目录和插件目录就可当绿色软件使用了,插件目录在:

%AppData%\Mozilla\Firefox\Profiles

然后在Firefox启动参数中定义数据目录:

"D:\Program Files\Firefox\firefox.exe" -profile "D:\Program Files\Imacros\firefox" -no-remote

也可修改配置文件定义Profiles目录

%AppData%\Mozilla\Firefox\profiles.ini

提取Flash插件到Firefox下plugins目录:

#32位
%WINDIR%\System32\Macromed\Flash\NPSWF32_11_5_502_146.dll
#64位
%WINDIR%\SysWOW64\Macromed\Flash\NPSWF64_11_5_502_146.dll

备份恢复Office2010激活信息

发布时间:January 18, 2013 // 分类:Windows // No Comments

备份Office2010激活信息文件:

#Windows XP
C:\Documents and Settings\All Users\Microsoft\OfficeSoftwareProtectionPlatform\tokens.dat
#Windows 7/Vista
C:\ProgramData\Microsoft\OfficeSoftwareProtectionPlatform\tokens.dat

恢复Office2010激活信息,先导入原先Office安装的Key:

C:\Program Files\Microsoft Office\Office14
cscript ospp.vbs /inpkey:PYFGB-4RDKK-KG4BW-9MKVJ-CM84K

停止osppsvc服务并覆盖之间备份的Office2010授权信息文件。

net stop osppsvc

Adobe Flash Player更新历史版本归档下载

发布时间:January 14, 2013 // 分类:Firefox // No Comments

Adobe Flash Player更新历史版本下载:
http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
Adobe Flash下载链接,修改版本号可使用迅雷下载。
Download Adobe Flash Player v11.2.x (for Internet Explorer) 32-bit from here:
http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_ax_32bit.exe
Download Adobe Flash Player v11.2.x (for Internet Explorer) 64-bit from here:
http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_ax_64bit.exe
Download Adobe Flash Player v11.2.x (for All Other Browsers) 32-bit from here:
http://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_32bit.exe
Download Adobe Flash Player v11.2.x (for All Other Browsers) 64-bit from here:
http://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_64bit.exe

Windows下VBS脚本延时启动软件

发布时间:January 11, 2013 // 分类:Windows // No Comments

WindowsVBS脚本延时启动程序:

wscript.sleep 10000
set ws=createobject("wscript.shell")
ws.run "psexec.exe -l -d ""C:\Program Files (x86)\Tencent\QQ\Bin\QQ.exe"""
wscript.quit

将VBS脚本添加到自动启动项:

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v autovbs /t reg_sz /d "c:\program files\auto.vbs" /f
分类
最新文章
最近回复
  • jiangker: good, very helpful to me
  • fengfeng: N1 armbian 能有编译下内核吗。。我要开启can 不懂怎么操作
  • 1: 方法一ngtcp2要改下:./configure PKG_CONFIG_PATH=/usr/l...
  • 海运: 关闭服务器
  • 海风: override.battery.charge.low以及override.battery.r...
  • koldjf: 不能过滤
  • 杰迪武士: 此文甚好甚强巨,依照此文在树莓派2 + Rasbian上部署成功 感谢博主美文共赏
  • 海运: ups不知有没选项可设置此参数,不过你可以在另外一台电脑上安装nut客户端自动关机。
  • kgami: 想请教一下,设置了的电脑自动关机之后,几秒后UPS怎么也跟着关机了,导致另外一台电脑没关机就断...
  • 海运: 写的很详细了啊,/etc/nut/hosts.conf用以nut-cgi连接nut服务器参数,...