海运的博客

Windows下Firefox/火狐Mactype渲染字体削头解决

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

Firefox17.01用Mactype渲染字体后地址栏网址显示一半,如下:
mactype渲染firefox字体削头.png
使用Stylish扩展自定义网址栏字体大小解决:

.textbox-input{
font-size:13px !important;
font-family:"Microsoft Yahei" !important;
font-style:normal!important
}

.urlbar-input{
font-size:13px !important;
font-family:"Microsoft Yahei" !important;
}

Sandboxie配置文件

发布时间:January 8, 2013 // 分类:Sandboxie // No Comments

备份下自己的Sandboxie配置文件:

[GlobalSettings]

FileRootPath=R:\Sandbox\%USER%\%SANDBOX%\
ProcessGroup=<StartRunAccess_Firefox>,firefox.exe,plugin-container.exe,imeutil.exe,rundll32.exe,wubiup.exe,explorer.exe,thunderliveud.exe,winrar.exe
ProcessGroup=<StartRunAccess_IE>,iexplore.exe
ProcessGroup=<InternetAccess_IE>,iexplore.exe
ProcessGroup=<StartRunAccess_Cradio>,cradio.exe
ProcessGroup=<InternetAccess_Cradio>,cradio.exe
ProcessGroup=<InternetAccess_Firefox>,firefox.exe,plugin-container.exe,wubiup.exe
InjectDll=C:\Program Files\Sandboxie\sbiextra\sbiextra.dll
InjectDll64=C:\Program Files\Sandboxie\sbiextra\sbiextra_x64.dll
Template=OfficeLicensing

[UserSettings_4BC00582]

SbieCtrl_UserName=administrator
SbieCtrl_NextUpdateCheck=1357643165
SbieCtrl_UpdateCheckNotify=n
SbieCtrl_ShowWelcome=n
SbieCtrl_HideWindowNotify=n
SbieCtrl_AutoApplySettings=n
SbieCtrl_SettingChangeNotify=n
SbieCtrl_BoxExpandedView_Firefox=n
SbieCtrl_BoxExpandedView_Program=y
SbieCtrl_BoxExpandedView_QQ=n
SbieCtrl_BoxExpandedView_USB=y
SbieCtrl_BoxExpandedView_Cradio=n
SbieCtrl_BoxExpandedView_IE=y
SbieCtrl_ReloadConfNotify=n
SbieCtrl_EditConfNotify=n
SbieCtrl_AddDesktopIcon=n
SbieCtrl_AddQuickLaunchIcon=n
SbieCtrl_AddContextMenu=y
SbieCtrl_AddSendToMenu=y
SbieCtrl_WindowLeft=295
SbieCtrl_WindowTop=150
SbieCtrl_WindowWidth=660
SbieCtrl_WindowHeight=450
SbieCtrl_ActiveView=40021
SbieCtrl_ColWidthProcName=250
SbieCtrl_ColWidthProcId=70
SbieCtrl_ColWidthProcTitle=310

[QQ]

Enabled=y
ConfigLevel=6
ForceProcess=qq.exe
LeaderProcess=qq.exe
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
ClosedFilePath=D:\
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
OpenFilePath=%Personal%\Tencent Files\
OpenFilePath=%AppData%\LocalLow\SogouWB*

[Firefox]

Enabled=y
ConfigLevel=6
Template=Firefox_Profile_DirectAccess
DropAdminRights=y
ForceProcess=firefox.exe
LeaderProcess=firefox.exe
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
OpenFilePath=firefox.exe,D:\下载专用\
OpenFilePath=firefox.exe,D\Downloads\Image
OpenFilePath=firefox.exe,%Local AppData%\*\safebrowsing\*
OpenFilePath=%AppData%\LocalLow\SogouWB*
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Http\*
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Nsi
ClosedFilePath=!<InternetAccess_Firefox>,\Device\RawIp6
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Udp6
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Tcp6
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Ip6
ClosedFilePath=!<InternetAccess_Firefox>,\Device\RawIp
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Udp
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Tcp
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Ip
ClosedFilePath=!<InternetAccess_Firefox>,\Device\Afd*
ClosedIpcPath=!<StartRunAccess_Firefox>,*

[IE]

FileRootPath=R:\IE\
Enabled=y
ConfigLevel=6
Template=IExplore_ProtectedStorage
Template=IExplore_Feeds_DirectAccess
Template=IExplore_Cookies_DirectAccess
Template=IExplore_Favorites_RecoverFolder
Template=IExplore_Favorites_DirectAccess
Template=IExplore_Force
DropAdminRights=y
LeaderProcess=iexplore.exe
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
ClosedFilePath=D:\
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
ClosedFilePath=!<InternetAccess_IE>,\Device\Http\*
ClosedFilePath=!<InternetAccess_IE>,\Device\Nsi
ClosedFilePath=!<InternetAccess_IE>,\Device\RawIp6
ClosedFilePath=!<InternetAccess_IE>,\Device\Udp6
ClosedFilePath=!<InternetAccess_IE>,\Device\Tcp6
ClosedFilePath=!<InternetAccess_IE>,\Device\Ip6
ClosedFilePath=!<InternetAccess_IE>,\Device\RawIp
ClosedFilePath=!<InternetAccess_IE>,\Device\Udp
ClosedFilePath=!<InternetAccess_IE>,\Device\Tcp
ClosedFilePath=!<InternetAccess_IE>,\Device\Ip
ClosedFilePath=!<InternetAccess_IE>,\Device\Afd*
ClosedIpcPath=!<StartRunAccess_IE>,*

[USB]

Enabled=y
ConfigLevel=6
DropAdminRights=y
ForceFolder=I:\
ForceFolder=H:\
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
ClosedFilePath=C:\
ClosedFilePath=D:\
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
ClosedFilePath=\Device\Http\*
ClosedFilePath=\Device\Nsi
ClosedFilePath=\Device\RawIp6
ClosedFilePath=\Device\Udp6
ClosedFilePath=\Device\Tcp6
ClosedFilePath=\Device\Ip6
ClosedFilePath=\Device\RawIp
ClosedFilePath=\Device\Udp
ClosedFilePath=\Device\Tcp
ClosedFilePath=\Device\Ip
ClosedFilePath=\Device\Afd*
ClosedIpcPath=*

[Program]

Enabled=y
ConfigLevel=6
FileRootPath=R:\Program Files\

[Cradio]

Enabled=y
ConfigLevel=6
DropAdminRights=y
NeverDelete=n
ForceProcess=cradio.exe
LeaderProcess=cradio.exe
NotifyInternetAccessDenied=y
NotifyStartRunAccessDenied=y
ClosedFilePath=E:\
ClosedFilePath=F:\
ClosedFilePath=\Device\Mup\
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Http\*
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Nsi
ClosedFilePath=!<InternetAccess_Cradio>,\Device\RawIp6
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Udp6
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Tcp6
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Ip6
ClosedFilePath=!<InternetAccess_Cradio>,\Device\RawIp
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Udp
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Tcp
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Ip
ClosedFilePath=!<InternetAccess_Cradio>,\Device\Afd*
ClosedIpcPath=!<StartRunAccess_Cradio>,*

Sandboxie常用变量及设置变量

发布时间:January 8, 2013 // 分类:Sandboxie // No Comments

Sandboxie编写配置文件时可使用变量,常用变量如下:

sandbox 当前的沙盘名称
user/username 当前系统用户名称
ProgramFiles 程序安装目录,如C:\Program Files
SystemRoot 系统目录,如C:\Windows 
SystemDrive 系统分区,如C:
UserProfile 当前用户目录,如C:\Users\Administrator
tmp 系统临时目录,如C:\Windows\Temp 
AppData 用户数据目录,如C:\Users\Administrator\AppData
Local AppData C:\Users\Administrator\AppData\Local

更改Sandboxie默认变量:

Ovr.Tmpl.Firefox=C:\Firefox\Profiles\

设置Sandboxie变量:

Reg.Desktop=%USERPROFILE%\Desktop

此内容被密码保护

发布时间:January 5, 2013 // 分类:虚拟化 // No Comments

请输入密码访问

Centos/Debian重置root密码方法

发布时间:January 5, 2013 // 分类:Linux基础 // No Comments

Centos下进入单用户模式修改root密码,添加GRUB引导参数:

single

Debian直接引导进入Bash环境,添加GRUB引导参数:

init=/bin/bash

进入Bash后挂载系统为读写并修改root密码:

mount -no remount,rw /
passwd
分类
最新文章
最近回复
  • opnfense: 谢谢博主!!!解决问题了!!!我之前一直以为内置的odhcp6就是唯一管理ipv6的方式
  • liyk: 这个方法获取的IPv6大概20分钟之后就会失效,默认路由先消失,然后Global IPV6再消失
  • 海运: 不好意思,没有。
  • zongboa: 您好,請問一下有immortalwrt設定guest Wi-Fi的GUI教學嗎?感謝您。
  • 海运: 恩山有很多。
  • swsend: 大佬可以分享一下固件吗,谢谢。
  • Jimmy: 方法一 nghtp3步骤需要改成如下才能编译成功: git clone https://git...
  • 海运: 地址格式和udpxy一样,udpxy和msd_lite能用这个就能用。
  • 1: 怎么用 编译后的程序在家里路由器内任意一台设备上运行就可以吗?比如笔记本电脑 m参数是笔记本的...
  • 孤狼: ups_status_set: seems that UPS [BK650M2-CH] is ...