Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<servers>
<server>
<username>${security.getCurrentUsername()}</username>
<password>${security.getEscapedEncryptedPassword()!"*** Insert encrypted password here ***"}</password>
<id>central</id>
</server>
<server>
public static final String escapeLDAPSearchFilter(String filter)
{
// If using JDK >= 1.5 consider using StringBuilder
StringBuffer sb = new StringBuffer();
for (int i = 0; i < filter.length(); i++) {
char curChar = filter.charAt(i);
switch (curChar) {
case '\\':
sb.append("\\5c");
# Download the window 10 iso file from below link
#https://www.microsoft.com/zh-hk/software-download/windows10ISO
#List storage, and get the usb driver name
diskutil list
#Copy the window 10 to "disk2" usb
diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2
hdiutil mount ~/Downloads/Win10_2004_Chinese\(Traditional\)_x64.iso
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_ZH-TW_DV9 /Volumes/WIN10
README Document
docsifyjs/docsify