네트워커의 보안 티스토리

Prev 1 2 3 4 5 6 7 8 ··· 50 Next

출처 : https://corset.tistory.com/139

 

##앞에 주소는 그 도메인에 한해서 적용한다는 것

 

gall.dcinside.com##div[id^="ads_"]
-: id 속성이 "ads_"로 시작하는 div 요소를 숨김

 

gall.dcinside.com##div[class^="banner_"]

-: class 속성이 "banner_"로 시작하는 div 요소를 숨김 


gall.dcinside.com##*[href*="sponsor"] 
- 링크 주소에 "sponsor"를 포함하는 모든 요소를 숨김

gall.dcinside.com##*[href*="analytics.ad"] 

- 링크 주소에 "analytics.ad"를 포함하는 모든 요소를 숨김 

 

 

 

https://raw.githubusercontent.com/gfmaster/adblock-korea-contrib/master/filter.txt

 

이런거 URL로 통으로 추가해도됨.

인식이 안되는 문제 때문에 SAS 드라이브를 찾다가

 

싱글하드를 Raid 0로 묶으면 인식이 된다는 글을 보고.

 

Raid 0 으로 묶으니 인식이 됨.

 

새 시스템 파티션을 만들거나 기존 시스템 파티션을 찾을수 없습니다.

자세한 내용은 설치 로그파일을 참조하십시오.


파티션들을 포맷하고 윈도우 설치 파티션을 잡으려고 다음을 누르니 위와 같은 에러가 뜸.

 

구글링 해보니 해결법은 아래와 같음.

 

윈도우 설치 창에서 Shift + F10 .

 

DOS 창이 뜬다.

 

> diskpart

 

> list disk

 

> sel disk 0 (list disk로 확인한 disk 번호를 넣어준다.)

 

0 디스크가 선택한 디스크 입니다.

 

> clean

 

DiskPart에서 디스크를 정리했습니다.

 

> cre par pri

 

DiskPart에서 지정한 파티션을 만들었습니다.

 

> sel par 1

 

1 파티션이 선택한 파티션입니다.

 

> active

 

DiskPart에서 현재 파티션을 활성으로 표시했습니다.

 

> format fs=ntfs quick       파일시스템을 ntfs형식으로 빠른포맷

 

   100퍼센트 완료

 

DiskPart가 볼륨을 성공적으로 포맷했습니다.

 

> assign

 

DiskPart에서 드라이브 문자 또는 탑재 지점을 할당했습니다.

 

> exit

 

DiskPart 마치는 중...

 

> exit



재부팅하고 설치를 재시도 해본다. 

 

'Windows' 카테고리의 다른 글

[Windows] 서비스팩 모음  (0) 2019.08.06
[윈도우] ICMP 허용하기  (0) 2018.11.26
[윈도우] 잠금화면 배치파일 만들기  (0) 2018.11.21
[윈도우] 작업관리자 실행 명령어  (0) 2018.03.05

#NoEnv
SetWorkingDir, %A_ScriptDir%
 ;SmartZip("test.zip", "dir2")   ; Unpack a number of ZIP files to dir2
; Support flexible form of parameters
SmartZip("dir2", "testdir.zip")   ; Pack the whole folder to ZIP file
;~ SmartZip("*.ahk", "scripts.zip")   ; Pack ahk scripts of the working dir
;~ SmartZip("*.zip", "package.zip")   ; Pack a number of ZIP files to one
;~ SmartZip("*.zip", "dir2")   ; Unpack a number of ZIP files to dir2
;~ SmartZip("*.zip", "")   ; Unpack to the working dir
return
;; ---------    THE FUNCTION    ------------------------------------
/*
SmartZip()
   Smart ZIP/UnZIP files
Parameters:
   s, o   When compressing, s is the dir/files of the source and o is ZIP filename of object. When unpressing, they are the reverse.
   t      The options used by CopyHere method. For availble values, please refer to: http://msdn.microsoft.com/en-us/library/windows/desktop/bb787866
Link:
http://www.autohotkey.com/forum/viewtopic.php?p=523649#523649
*/

SmartZip(s, o, t = 4)
{
IfNotExist, %s%
return, -1        ; The souce is not exist. There may be misspelling.

oShell := ComObjCreate("Shell.Application")

if (SubStr(o, -3) = ".zip") ; Zip
{
IfNotExist, %o%        ; Create the object ZIP file if it's not exist.
CreateZip(o)

Loop, %o%, 1
sObjectLongName := A_LoopFileLongPath

oObject := oShell.NameSpace(sObjectLongName)

Loop, %s%, 1
{
if (sObjectLongName = A_LoopFileLongPath)
{
continue
}
ToolTip, Zipping %A_LoopFileName% ..
oObject.CopyHere(A_LoopFileLongPath, t)
SplitPath, A_LoopFileLongPath, OutFileName
Loop
{
oObject := "", oObject := oShell.NameSpace(sObjectLongName) ; This doesn't affect the copyhere above.
if oObject.ParseName(OutFileName)
break
}
}
ToolTip
}
else if InStr(FileExist(o), "D") or (!FileExist(o) and (SubStr(s, -3) = ".zip")) ; Unzip
{
if !o
o := A_ScriptDir        ; Use the working dir instead if the object is null.
else IfNotExist, %o%
FileCreateDir, %o%

Loop, %o%, 1
sObjectLongName := A_LoopFileLongPath

oObject := oShell.NameSpace(sObjectLongName)

Loop, %s%, 1
{
oSource := oShell.NameSpace(A_LoopFileLongPath)
oObject.CopyHere(oSource.Items, t)
}
}
}

CreateZip(n) ; Create empty Zip file
{
ZIPHeader1 := "PK" . Chr(5) . Chr(6)
VarSetCapacity(ZIPHeader2, 18, 0)
ZIPFile := FileOpen(n, "w")
ZIPFile.Write(ZIPHeader1)
ZIPFile.RawWrite(ZIPHeader2, 18)
ZIPFile.close()
}
;; ---------    FUNCTION END   ------------------------------------

 

;출처: https://autohotkey.com/board/topic/60706-native-zip-and-unzip-xpvista7-ahk-l/page-2

;윈도우 10 64비트 환경에서 실행해서 테스트 완료.