This file contains hidden or 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
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
This file contains hidden or 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
public class TestVec1 { | |
private static int[] strToVec(String str, int len) { | |
int[] vec = new int[len]; | |
for (int i = 0;i < len;i++) { | |
if (i < str.length()) { | |
vec[i] = str.charAt(i); | |
} else { | |
vec[i] = 0; | |
} | |
} |
This file contains hidden or 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
const string2 = ` | |
0 The Class-Path | |
0 :: Spring Boot :: | |
0 name: default | |
1 1:34:23.868 | |
1 1:34:23.868 | |
1 1:34:23.870 | |
1 1:34:23.871 | |
1 1:34:23.917 | |
1 1:34:23.917 |
This file contains hidden or 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
// Save as "HelloJNI.c" | |
#include <jni.h> // JNI header provided by JDK | |
#include <stdio.h> // C Standard IO Header | |
#include <math.h> | |
#include <immintrin.h> | |
#include "HelloJNI.h" // Generated | |
JNIEXPORT jfloat JNICALL Java_HelloJNI_calcCoff | |
(JNIEnv * env, jobject jObj, jfloatArray array1, jint len1, jfloatArray array2) { |
This file contains hidden or 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 org.junit.Test; | |
import java.sql.*; | |
import java.util.*; | |
import java.util.stream.Collectors; | |
import static java.lang.Class.forName; | |
public class DBLoader { | |
@Test |
This file contains hidden or 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 org.junit.internal.runners.InitializationError; | |
import org.junit.internal.runners.JUnit4ClassRunner; | |
public class CustomRunner extends JUnit4ClassRunner { | |
public CustomRunner(Class<?> klass) throws InitializationError { | |
super(klass); | |
} | |
protected void validate() throws InitializationError { |
This file contains hidden or 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
package com.github.horitaku1124.java_searcher; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.FileVisitResult; | |
import java.nio.file.Files; | |
import java.nio.file.Path; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<script src="./jquery-3.3.1.min.js"></script> | |
<title>Document</title> | |
<style> | |
body { |
This file contains hidden or 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
FROM centos:latest as builder | |
MAINTAINER Horimatsu Takuya | |
WORKDIR /root | |
RUN yum install -y git ruby gcc make httpd-devel openssl-devel bison | |
RUN git clone https://github.com/matsumotory/mod_mruby.git | |
WORKDIR /root/mod_mruby | |
RUN chmod +x build.sh | |
RUN ./build.sh |
This file contains hidden or 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
<?php | |
$queries = []; | |
while (true) { | |
$query = fgets(STDIN); | |
if (empty($query)) { | |
break; | |
} | |
$queries []= $query; | |
} |