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
<mxfile host="embed.diagrams.net" modified="2020-07-28T13:27:02.676Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.47.3 Chrome/78.0.3904.130 Electron/7.3.2 Safari/537.36" etag="Wid7gWhNb4vKBZUmwGyS" version="13.5.4" pages="2"> | |
<diagram id="6hGFLwfOUW9BJ-s0fimq" name="Athena_1"> | |
<mxGraphModel dx="1154" dy="796" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> | |
<root> | |
<mxCell id="0"/> | |
<mxCell id="1" parent="0"/> | |
<mxCell id="16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="6" target="17"> | |
<mxGeometry relative="1" as="geometry"> | |
<mxPoint x="210" y="315" as="targetPoint"/> | |
</mxGeometry> |
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
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary5aJB0dB2B5PV7h8H | |
------WebKitFormBoundary5aJB0dB2B5PV7h8H | |
Content-Disposition: form-data; name="userfile"; filename="file.txt" | |
Content-Type: text/plain | |
test | |
------WebKitFormBoundary5aJB0dB2B5PV7h8H |
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 Foundation | |
fileprivate let LINEFEED = "\r\n" | |
fileprivate class MultipartParser { | |
// MARK: API | |
static func parseHeader(contentType: String) -> MultipartContentType { | |
// Example -> Content-Type: multipart/form-data; boundary=----WebKitFormBoundary5aJB0dB2B5PV7h8H | |
let headerLines = contentType.components(separatedBy: LINEFEED) | |
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
class Solution { | |
fun climbStairs(n: Int): Int { | |
if (n == 1) { | |
return 1 | |
} else if (n == 2) { | |
return 2 | |
} | |
val list = mutableListOf(1, 2) | |
for (i in 3..n) { |
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
class Solution { | |
fun mergeTwoLists(l1: ListNode?, l2: ListNode?): ListNode? { | |
val list = mutableListOf<Int>() | |
if (l1 != null) { | |
toList(l1!!, list) | |
} | |
if (l2 != null) { | |
toList(l2!!, list) |
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
Kintoneでのつらみ | |
https://developer.cybozu.io/hc/ja/articles/214479043-Chart-js%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%83%80%E3%83%83%E3%82%B7%E3%83%A5%E3%83%9C%E3%83%BC%E3%83%89%E3%82%92%E4%BD%9C%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%88%E3%81%86- | |
vueのダッシュボード | |
https://panjiachen.github.io/vue-element-admin/#/dashboard | |
https://vue-chartjs.org/ja/ |
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
fs = require("fs"); | |
http = require("http"); | |
url = require("url"); | |
Jimp = require("jimp"); | |
http.createServer(function (req, res) { | |
var request = url.parse(req.url, true); | |
var action = request.pathname; | |
if(action == "/image.bmp") { |
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 org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
plugins { | |
id("org.springframework.boot") version "2.1.4.RELEASE" | |
id("org.jetbrains.kotlin.jvm") version "1.2.71" | |
id("org.jetbrains.kotlin.plugin.spring") version "1.2.71" | |
id("io.spring.dependency-management") version "1.0.6.RELEASE" | |
} | |
group = "jp.takeda" |
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 org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
plugins { | |
id 'org.springframework.boot' version '2.1.4.RELEASE' | |
id 'org.jetbrains.kotlin.jvm' version '1.2.71' | |
id 'org.jetbrains.kotlin.plugin.spring' version '1.2.71' | |
} | |
apply plugin: 'io.spring.dependency-management' |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class RightArmController : MonoBehaviour { | |
[SerializeField] | |
Animator mAnimator; | |
void Update () { |
NewerOlder