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
from flask import Flask, request | |
from flask_sqlalchemy import SQLAlchemy | |
import pickle | |
import config | |
import json | |
from apscheduler.schedulers.background import BackgroundScheduler | |
from geoalchemy2 import Geometry | |
# init app | |
app=Flask(__name__) |
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 com.google.gson.Gson | |
import org.apache.http.client.config.RequestConfig | |
import org.apache.http.client.methods.HttpPost | |
import org.apache.http.entity.StringEntity | |
import org.apache.http.impl.client.HttpClients | |
import java.io.BufferedReader | |
import java.io.File | |
import java.util.LinkedList | |
// apache http client |
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
package com.around.wmmarket.controller; | |
import com.around.wmmarket.common.Constants; | |
import com.around.wmmarket.common.ResponseHandler; | |
import com.around.wmmarket.common.SuccessResponse; | |
import com.around.wmmarket.controller.dto.notification.NotificationSearchRequestDto; | |
import com.around.wmmarket.domain.notification.NotificationType; | |
import com.around.wmmarket.domain.user.Role; | |
import com.around.wmmarket.domain.user.SignedUser; | |
import com.around.wmmarket.domain.user.User; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>SSE TEST</title> | |
</head> | |
<body> | |
<input id="userId"/> | |
<button id="enter">enter</button> | |
<br> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>TEST IMAGE</title> | |
</head> | |
<body> | |
<input id="userId"/> | |
<button id="enter">enter</button> | |
<br><img id="user-image"> |
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.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.util.*; | |
class B11779_SOL{ | |
private static int n,m,from,to; | |
private static final int INF=987654321; | |
private static List<List<Node>> graph=new ArrayList<>(); | |
private static int[] dist,route; |