Search This Blog

2017/08/26

删除驱动精灵的dgbased服务组件

卸载驱动精灵后,软件并没有完全删除干净,留下了dgbased服务组件。

删除方法:
开始 》 运行 》 输入"regedit"并确定 》 找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services下的dgbased 》 右键点击选择删除

另,360的为同文件夹HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services下的scan

Delete 360 security software service from pc

彻底删除“360 杀毒全盘扫描辅助服务”服务

When you uninstall 360 security software, there are something need to delete manually. Like full scan service.

360 security software will register full scan under name of microsoft Co, not 360 XXX.

How to check?
start > run > input "msconfig" and enter > tab [service]
Then you may find it as "360 杀毒全盘扫描辅助服务"

How to delete?
start > run > input "regedit" and enter > navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services > find it and right click to delete
It may be name as "scan". HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\scan

how to add/remove iis7 in win7

1.
start > control panel > program > window service
[or]
ctrl+r  > input "cmd" and enter > input "control panel" and enter > program > window service

2.
check/uncheck intnet information service

3.
reboot pc and done.

2017/08/24

Forbid file but css/js/img etc. by htaccess

By FILE
<Files ~ "^.*">   # to all files/すべでのファイルに対する
  Deny from all    # forbid access/すべで禁止
</Files>

<Files ~ "^index\.php|css|js|.*\.png|.*\.jpg|.*\.gif">  # the kind of files/ファイルの種類
  Allow from all   # allow access/全部許可する
# Allow from [ip]  # allow from special ip or other/特定なIPなどからのみ許可
</Files>

In this way, you can still use include/fopen to get the css/js/png in php.

2017/08/05

vue.js: templateのclassを変数をつける

loopでarrayを出力する際、vueのclassをデータより変わりたい場合がある。
下記のようにarrayのデータをclassにつける。(':' + つけたいattr名) = "設定したい値"

array = [[value => value1],[value => value2]]

<Template>
<div v-for:"data in array">
<a href="" :class="'link' + data.value">
</div>
</Template>

実際出力の内容:
<div>
<a href="" class="link value1">
</div>
<div>
<a href="" class="link value2">
</div>
...

そのた:<img :src="データ値">

2017/08/01

curl command line

curl https://randinblogger.blogspot.com/
curl --head --header "User-Agent: agentName" https://randinblogger.blogspot.com/