Skip to content

Instantly share code, notes, and snippets.

View kbrx93's full-sized avatar
✌️
RUNNING

kbrx93 kbrx93

✌️
RUNNING
View GitHub Profile
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00000001067ecde8, pid=92932, tid=6915
#
# JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-debug-kbrx93_2018_05_04_00_48-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.0-b70-debug mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V [libjvm.dylib+0x9ecde8] PerfData::~PerfData()+0x8
#
This file has been truncated, but you can view the full file.
## Starting langtools
Compiling 2 files for BUILD_TOOLS
Compiling 31 properties into resource bundles
Compiling 777 files for BUILD_BOOTSTRAP_LANGTOOLS
Creating langtools/dist/bootstrap/lib/javac.jar
Updating langtools/dist/lib/src.zip
Compiling 780 files for BUILD_FULL_JAVAC
Creating langtools/dist/lib/classes.jar
## Finished langtools (build time 00:00:23)
public class MyQuickSort {
public static void quickSort(int[] arr, int low, int high) {
if (arr == null || arr.length <= 1 || low >= high)
return;
int i = low;
int j = high;
int midInArray = arr[(low + high) / 2];
while (i <= j) {
while (arr[i] < midInArray)
++i;

架构是对客观不足的妥协,规范是对主观不足的妥协

@charset "UTF-8";/*! Theme.css v1.7.7 */html {
font-family: sans-serif;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
@charset "UTF-8";/*! Theme.css v1.7.6d */html {
font-family: sans-serif;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
@kbrx93
kbrx93 / commToDDWin.sh
Last active December 5, 2018 10:55
[commToDDWin] DD成 Win 萌咖版 #tags: cmd
# win10 修复版
## DHCP
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -dd "https://image.moeclub.org/GoogleDrive/1OVA3t-ZI2arkM4E4gKvofcBN9aoVdneh"
## 非 DHCP
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -dd "https://image.moeclub.org/GoogleDrive/1OVA3t-ZI2arkM4E4gKvofcBN9aoVdneh" --ip-addr xx.xx.xx.xx --ip-gate xx.xx.xx.xx --ip-mask xx.xx.xx.xx
> 激活
> slmgr /skms kms.moeclub.org
@kbrx93
kbrx93 / TerminalVim.scpt
Created December 6, 2018 15:59 — forked from MondoGao/TerminalVim.scpt
Open file in iTerm vim/neovim for MacOS High Sierra
-- TerminalVim.app
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm
-- To use this script:
-- 1. Open Automator and create a new Application
-- 2. Add the "Run Applescript" action
-- 3. Paste this script into the Run Applescript section
-- 4. Save the application as TerminalVim.app in your Applications folder
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default
@kbrx93
kbrx93 / TerminalVim.scpt
Created December 6, 2018 16:38 — forked from charlietran/TerminalVim.scpt
Open file in iTerm vim for MacOS Sierra 这个版本每个文件都是新窗口
-- TerminalVim.app
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm
-- To use this script:
-- 1. Open Automator and create a new Application
-- 2. Add the "Run Applescript" action
-- 3. Paste this script into the Run Applescript section
-- 4. Save the application as TerminalVim.app in your Applications folder
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default
on run {input, parameters}
@kbrx93
kbrx93 / ssh.md
Created December 13, 2018 15:53 — forked from suziewong/ssh.md
SSH端口转发

ssh

    -C  压缩数据传输
    -f  后台登录用户名密码
    -N  不执行shell[与 -g 合用]
    -g  允许打开的端口让远程主机访问        
    -L  本地端口转发
    -R  远程端口转发

-p ssh 端口