./gradlew addCleanAndTestGitPrePushHook
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
| @RestController | |
| class FooController( | |
| private val fooService: FooService | |
| ) { | |
| @GetMapping("/test") | |
| fun test(): String = fooService.test() | |
| } | |
| @Service | |
| class FooService { |
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
| @RestController | |
| class FooController( | |
| private val fooService: FooService | |
| ) { | |
| @GetMapping("/test") | |
| fun test(): String = fooService.test() | |
| } | |
| @Service | |
| class FooService { |
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
| val resource = ClassPathResource("something.txt") | |
| val content = IOUtils.toString(resource.inputStream, StandardCharsets.UTF_8) |
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 com.fasterxml.jackson.annotation.JsonCreator; | |
| import com.fasterxml.jackson.annotation.JsonProperty; | |
| import com.fasterxml.jackson.annotation.JsonValue; | |
| import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | |
| import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder; | |
| import lombok.Builder; | |
| import lombok.EqualsAndHashCode; | |
| import lombok.Getter; | |
| import lombok.RequiredArgsConstructor; |
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"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | |
| <title>Document</title> | |
| </head> |
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"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | |
| <title>Document</title> | |
| </head> |
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 flask import Flask, render_template, jsonify, request, session, escape | |
| app = Flask(__name__) | |
| app.secret_key = b'_5#y2L"F4Q8z\n\xec]/' | |
| @app.route("/") | |
| def home(): | |
| return render_template("index.html") | |
| @app.route("/a", methods=['POST']) | |
| def a(): |
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 smtplib | |
| from email.mime.text import MIMEText | |
| def send(): | |
| # μ΄κ³³μ λ°μ μ© λ©μΌ μ£Όμμ λ°μ μ© λ©μΌμ λΉλ°λ²νΈ, μμ μ© λ©μΌ μ£Όμλ₯Ό μ λ ₯νμλ©΄ λ©λλ€. | |
| sender = 'λ°μ λ©μΌμ£Όμ' | |
| password = 'λ°μ λ©μΌ λΉλ°λ²νΈ' | |
| receiver = 'μμ λ©μΌμ£Όμ' |
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
| // 241 λΌμΈ μ½λ | |
| function make_table(site, program, date, url, title, reach, keyword) { | |
| let table = ` | |
| <tr> | |
| <td>${program}</td> | |
| <td>${keyword}</td> | |
| <td>${site}</td> | |
| <td>${date}</td> | |
| <td> <a href=${url}> ${title}</a> </td> |
NewerOlder