Skip to content

Instantly share code, notes, and snippets.

View L-Soft's full-sized avatar

CatslSoft, 캣츠소프트 L-Soft

View GitHub Profile
import java.time.OffsetDateTime;
import java.time.ZoneOffset;
public class CodeTest {
public static void main(String[] args) {
// https://currentmillis.com
// https://perfectacle.github.io/2018/09/26/java8-date-time/
OffsetDateTime offsetDateTime = OffsetDateTime.of(2019, 12, 2, 0, 0, 0, 0, ZoneOffset.UTC);
System.out.println(offsetDateTime.toInstant().toEpochMilli());
}
#!/bin/bash
print_usage () {
echo "Usage: $0 filename lines"
exit 2
}
# 아규먼트가 없으면 종료된다.
if [ "$#" -eq 0 ]; then
print_usage
import org.json.JSONObject;
import org.springframework.http.*;
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
import org.springframework.util.StopWatch;
import java.util.Collections;
import java.util.concurrent.CyclicBarrier;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import org.json.JSONObject;
import java.io.*;
import java.net.HttpURLConnection;
import java.net.URL;
public class RestfulAPI {
public void post (String sURL, String sJSON) {
try {
URL url = new URL(sURL);
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<title>Vue, Example</title>
</head>
<body>
<div id="app" class="container">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Table, Template</title>
<link rel="stylesheet" type="text/css" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
</head>
<body>
<div id="items" class="container">
<table class="table table-striped table-dark">
$npm install -g vue-cli # 주석, Vue CLI 관련된 부분을 설치합니다.
$cd /Users/<User Name>/ # 주석, 적당한 위치에서 시작하시면 됩니다.
$mkdir -pv workspace/vue_example && cdworkspace/vue_example
$npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See `npm help json`fordefinitive documentation on these fields
and exactly what they do.
@L-Soft
L-Soft / selected.html
Last active September 18, 2019 09:46
<html>
<head>
<title>Selecall Checkbox sample</title>
</head>
<body>
<table bgcolor="#E9E9E9" border="1">
<tr>
<td>
<B>Selectall Sample</B><BR><BR>
<table border='1'>