Skip to content

Instantly share code, notes, and snippets.

@kyonmm
kyonmm / kyon_mm-resume.adoc
Last active Jul 28, 2021
kyon_mmの職務経歴書 (Resume)
View kyon_mm-resume.adoc

kyon_mmの職務経歴書 (Resume)

Table of Contents

1. 連絡先 (Contact Info)

  1. name : kyon_mm

  2. email : contact[at]kyon-mm.com

  3. twitter : kyon_mm

@kyonmm
kyonmm / sample.adoc
Last active Jul 28, 2021
研修でおしえたほうがいいとおもったメモ
View sample.adoc

研修でおしえたほうがいいとおもったメモ

Table of Contents

1. Javaまわり

  1. Gradle

  2. Lombok

  3. IntelliJ

  4. VSCode + Language Server

  5. VSCode LiveShare

View setup.ps1
choco install vscode --yes
choco install git.install --yes
choco install 7zip --yes
choco install discord.install --yes
choco install git-fork --yes
choco install p4merge --yes
choco install microsoft-windows-terminal --yes
choco install vlc --yes
choco install sysinternals --yes
choco install corvusskk --yes
View game-of-yukko-life.py
class LifeGame:
def __init__(self, width, hight):
rows = []
for x in range(width):
row = []
for y in range(hight):
row.append(0)
rows.append(row)
self.cells = rows
def print_cells(self):
View results.adoc

Request

Header

x-api-key=foo

Body

{"id":"5001"}

Response

Header

x-api-key=foo

@kyonmm
kyonmm / websocket.xml
Created Nov 26, 2018 — forked from georgeOsdDev/websocket.xml
Tsungによるwebsocket負荷テスト(日本語説明付き)
View websocket.xml
<!--
http://george-osd-blog.heroku.com/25
http://george-osd-blog.heroku.com/26
-->
<?xml version="1.0"?>
<!-- インストールしたTsungのPathとあっていること -->
<!DOCTYPE tsung SYSTEM "/home/ec2-user/opt/tsung-latest/share/tsung/tsung-1.0.dtd">
<tsung loglevel="notice" version="1.0">
@kyonmm
kyonmm / Example.groovy
Created Jun 18, 2018
groovyc Example.groovy && java -cp "groovy-all-2.4.13.jar;." Example
View Example.groovy
import java.util.concurrent.ConcurrentHashMap
def a = new ConcurrentHashMap();
for (int i = 0; i < 1000000; i++) {
a.put(UUID.randomUUID().toString(), UUID.randomUUID().toString())
}
println ((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / (1024 * 1024))
def t = new Thread(new Runnable() {
View setup-mac.sh
!#/bin/sh
echo 1
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
View ultrasonic-python.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys, time, requests, json, hcsr04
# you can specify interval(seconds) as first argument
interval=5 if len(sys.argv)==1 else int(sys.argv[1])
# inifinite loop
while True:
start_time = time.time()
View gist:365617087bd9258f1dd8604f9b7b9d54
[user]
name = kyonmm
email = kyon.mm@gmail.com
[core]
editor = emacsclient
quotepath = true
[difftool "sourcetree"]
cmd = /Applications/p4merge.app/Contents/MacOS/p4merge \"$LOCAL\" \"$REMOTE\"
path =
[merge]