Skip to content

Instantly share code, notes, and snippets.

View kb10uy's full-sized avatar
😋
Coding at home

KOBAYASHI Yū kb10uy

😋
Coding at home
View GitHub Profile
____-------____
__-- --__
/ \
\ _--_ _--_ / あなたはシステム管理者から通常の講習を受けたはずです。
| ,--. ,--. | これは通常、以下の3点に要約されます:
| |()| |()| |
| _______ | #1) 他人のプライバシーを尊重すること。
| \ ||| / |
| `---' | #2) タイプする前に考えること。
@kb10uy
kb10uy / SKK-JISYO.ongeki.utf8
Last active April 2, 2019 03:05
オンゲキの楽曲名、キャラクター名、及び声優名を収録 (2019/04/01収録分まで対応)
;;; -*- coding: utf-8 -*-
;; okuri-ari entries.
;; okuri-nasi entries.
ongeki /オンゲキ/
p4g /P!P!P!P!がおー!!;[オンゲキ] 楽曲名/
あいのう /Ai Nov;[オンゲキ] 楽曲名/
あいはらつばき /藍原椿;[オンゲキ] キャラクター名/
あかおひかる /赤尾ひかる/
あさひなまどか /朝日奈丸佳/
あすてりずむ /ASTERISM;[オンゲキ] ユニット名/
@kb10uy
kb10uy / jquery-erect.js
Created March 8, 2019 13:21
jQuery Erect - Erect elements with jQuery!
(function ($) {
if (!window.requestAnimationFrame || !window.performance) {
console.log('Sorry, jQuery Erect is unsupported on this environment.');
$.fn.erect = function () {};
return;
}
var defaultErection = {
time: 500,
angle: 45,
@kb10uy
kb10uy / 100q.md
Last active January 16, 2019 12:44
日下夏稀 100の質問

1. 年齢は?

19になったばっかり

2. 性別は?

花も恥らう乙女

3. 血液型は?

B型のRh-

4. 何型っぽいってよく言われる?

@kb10uy
kb10uy / yobikomikun.hsp
Created December 10, 2018 12:07
ゲーミング呼び込み君
font msgothic, 40
repeat
redraw 2
color 40, 40, 40
circle 110, 180, 530, 300
//color 40, 80, 40
hsvcolor cnt \ 192, 255, 60
circle 130, 200, 510, 280
pos 160, 220
@kb10uy
kb10uy / yuyushiki.pl
Created November 4, 2018 06:37
stdin に判定したい文字列を流し込む。その文字列に順不同かつ量一致で「ゆゆ式」が含まれていれば成功
use utf8;
binmode(STDIN, ":utf8");
binmode(STDOUT, ":utf8");
<STDIN> =~ /(?{$yu=2;$shiki=1})(ゆ(?{$yu--})|式(?{$shiki--})|.)+/;
if ($yu == 0 && $shiki == 0) {
print "ゆゆ式\n";
}
@kb10uy
kb10uy / LittleRiddle.sus
Created December 2, 2017 14:18
オドリドリ
#SONGID "LittleRiddle"
#TITLE "リトルリドル"
#ARTIST "LittlePOPS"
#DIFFICULTY 3
#PLAYLEVEL 12
#DESIGNER "kb10uy"
#WAVE "リトルリドル.ogg"
#WAVEOFFSET 1.808
#JACKET "jacket.jpg"
@kb10uy
kb10uy / hosts.md
Last active October 13, 2018 16:15
ホスト一覧

kb10uy ホスト一覧

yoshinon

  • 通称: 新鯖
  • 運用開始: 2017/09
  • 構成
    • DeskMini 110
    • Intel Pentium G4560 (2C4T)
    • 8GB DDR4 RAM
  • 250GB SSD
@kb10uy
kb10uy / webpack.config.js
Last active September 4, 2018 16:29
2018/09 オレオレウェッパコ
const webpack = require('webpack');
const path = require('path');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const WebpackManifestPlugin = require('webpack-manifest-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const AutoPrefixer = require('autoprefixer');
const publicDirectory = path.resolve(__dirname, 'dist/public');
@kb10uy
kb10uy / evaluator.ml
Last active August 17, 2018 16:18
compile: ocamlopt -O2 -o prolog tokenizer.ml parser.ml evaluator.ml frontend.ml
open Parser;;
module Evaluator : sig
exception UnifyError of string;;
val eval : Parser.syntax_tree list -> Parser.syntax_tree -> ((string * Parser.syntax_tree) list -> bool ) -> bool;;
end = struct
module P = Parser;;
exception UnifyError of string;;
let uerror s = raise (UnifyError s);;