This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Xms128m | |
-Xmx8192m | |
-XX:+UseG1GC | |
-XX:MaxGCPauseMillis=100 | |
-XX:ReservedCodeCacheSize=280m | |
-XX:+UseCompressedOops | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-ea | |
-XX:CICompilerCount=2 | |
-Dsun.io.useCanonPrefixCache=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ( | |
modkernel32 = windows.NewLazySystemDLL("kernel32.dll") | |
procCreateServiceW = modkernel32.NewProc("GetDiskFreeSpaceW") | |
) | |
func getClusterSizeOfCurrentDirectory() (int64, error) { | |
var lpSectorsPerCluster, lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters int64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- if sysStat, ok := originalStat.Sys().(*syscall.Stat_t); ok { | |
- // In case of | |
- // | |
- // * inode is preserved after cloned. (Not available in MacOS) | |
- // * we can recover ctime & atime.. | |
- // | |
- // Git can skip update index step after finished de-dup because file stat is same with index information. | |
- err := os.Chtimes(dstFile, | |
- time.Unix(sysStat.Ctimespec.Sec, sysStat.Ctimespec.Nsec), | |
- time.Unix(sysStat.Atimespec.Sec, sysStat.Atimespec.Nsec)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build darwin | |
package tools | |
import ( | |
"fmt" | |
"io" | |
"os" | |
"strconv" | |
"strings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see http://editorconfig.org/ for docs on this file | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf ; help with sharing files across os's (i.e. network share or through local vm) | |
charset = utf-8 | |
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Encountered 1 file(s) that should have been pointers, but weren't: | |
Assets/xxx.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations.all { | |
exclude | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.AWTException; | |
import java.awt.Robot; | |
import java.awt.event.KeyEvent; | |
import java.io.IOException; | |
import lombok.Cleanup; | |
import org.openqa.selenium.safari.SafariDriver; | |
public class SafariCustomDriverProvider { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import javax.servlet.ServletException; | |
import javax.servlet.annotation.WebServlet; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
@WebServlet("/") | |
public class Test extends HttpServlet { |
NewerOlder