Skip to content

Instantly share code, notes, and snippets.

プライバシーポリシー

キーボードマーケット運営事務局(以下,「当団体」といいます。)は,及び当会のイベントなどで提供するサービス(以下,「本サービス」といいます。)における,ユーザーの個人情報の取扱いについて,以下のとおりプライバシーポリシー(以下,「本ポリシー」といいます。)を定めます。

第1条(個人情報)

「個人情報」とは,個人情報保護法にいう「個人情報」を指すものとし,生存する個人に関する情報であって,当該情報に含まれる氏名,生年月日,住所,電話番号,連絡先その他の記述等により特定の個人を識別できる情報及び容貌,指紋,声紋にかかるデータ,及び健康保険証の保険者番号などの当該情報単体から特定の個人を識別できる情報(個人識別情報)を指します。

第2条(個人情報の収集方法)

キーボードマーケット トーキョー アンチハラスメントポリシー

キーボードマーケット トーキョー(以下キーケット)ではアンチハラスメントポリシーを定めています。イベントに参加するみなさんが以下のポリシーをご理解いただくことで、安心してイベントに参加していただけるものになっています。

当ポリシーの目的と適用範囲

当ポリシーは、イベントの参加者全員が楽しく、安全に集える場を維持するために策定されました。

「参加者全員が楽しく、安全に集える場を維持する」という目的には、「将来開催されるイベントについてもみなさんが不安や心配を感じることなく、気軽に参加できること」も含まれています。

@Biacco42
Biacco42 / Anycubic_i3_Mega_Klipper_printer.cfg
Created January 30, 2021 12:10
Klipper printer.cfg file for Anycubic i3 Mega w/ BLTouch bed mesh leveling, input shaper (resonance compensation), pressure advance and skew correction.
# This file contains pin mappings for the Anycubic i3 Mega with
# Ultrabase from 2017. (This config may work on an Anycubic i3 Mega v1
# prior to the Ultrabase if you comment out the definition of the
# endstop_pin in the stepper_z1 section.) To use this config, the
# firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
[stepper_x]
step_pin: ar54
(ns study01.core
(:gen-class)
(:require [clojure.core.match :refer [match]]))
(defn fizz-buzz [nums]
(as-> nums input
(map #(match [(mod % 3) (mod % 5)]
[0 0] "FizzBuzz"
[0 _] "Fizz"
[_ 0] "Buzz"
class Po<Element> {
var element: Element?
init(element: Element) {
self.element = element
}
}
protocol ConstPo {
associatedtype Element
class Po {
var po: String
init(po: String) {
self.po = po
}
static func ponction() -> Po {
return Po(po: "Po is Po")
}
object Main extends App{
val forPo = new Forable("Po")
val po = for {
u <- forPo
} yield u
println(po)
// Kaboom! Cannot compile - lack of flatMap
@Biacco42
Biacco42 / Poption.scala
Last active October 13, 2017 04:53
Scala for expression study
object Main extends App {
val poPoption = Poption("Po")
val popoPoption = Poption("PoPo")
val popopo = for {
po <- poPoption
popo <- popoPoption
} yield { po + popo }
println(popopo)
@Biacco42
Biacco42 / Fibonacci.scala
Last active October 11, 2017 11:41
Fibonacci
object Main extends App{
// 真面目に書いた正格評価の fib seq
fib(10).foreach { println }
def fib(n: Int): Seq[Int] = {
assert(n > 0)
def rec(n: Int, a: Int, b: Int, seq: Seq[Int]): Seq[Int] = (n <= 1) match {
case true => seq
case false => rec(n - 1, b, a + b, seq :+ b)
[alias]
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
adda = add -A
addp = add -p
st = status
br = branch
co = checkout
cob = checkout -b
cm = commit -m
diffc = diff --cached