Skip to content

Instantly share code, notes, and snippets.

View koron's full-sized avatar
🐱
meow

MURAOKA Taro koron

🐱
meow
View GitHub Profile
今日、近所のいきステいったんです。いきステ。
そしたらなんか人がめちゃくちゃいっぱいで座れないんです。
で、よく見たらなんか垂れ幕下がってて、ワイルド300gが1000円、とか書いてあるんです。
もうね、アホかと。馬鹿かと。390円だよ、390円。
なんか親子連れとかもいるし。一家4人でいきステか。おめでてーな。よーしパパ、ライス特盛頼んじゃうぞー、とか言ってるの。
もう見てらんない。
お前らな、390円やるからその席開けろと。
いきステってのわな、もっと殺伐としてるべきなんだよ。
立食テーブルの向かいに座ったやつといつ喧嘩が始まってもおかしくない刺すか刺されるか、そんな雰囲気がいいんじゃねーか。女子供はすっこんでろ。
で、やっと座れたかと思ったら、隣のやつが「チェンブロで」とか言ってるんです。そこでまたブチ切れですよ。あのな、チェンブロなんてきょうび流行んねーんだよ。ボケが。
@koron
koron / summary-4.16.1.md
Created November 19, 2018 03:52
Linux kernel 4.16.1 での全修正を雑にサマライズした。

https://github.com/torvalds/linux/compare/v4.16...11454943

  1. ビッグエンディアンでの memset の最適化 17ce0c97d1e53b2db5f6e5e2a9c64b8166cf101b
  2. 特定機器向けのシリアルUSBアダプター(ドライバー?)追加 78ac009f865e5693a1a641ce4f3334b55f78daa6
  3. 特定機器向けのシリアルUSBアダプター(ドライバー?)その2追加 351f73bc42d986321986dd211ae5b798272098b1
  4. cp210x - 向けのシリアルUSBアダプターID追加 a2c10adb046e0aef274fb328b3001adab1303dec
// copy from https://github.com/apple/swift/blob/0ba027f04ba553c87d99bdfacdb82c468b7119c9/include/swift/ABI/ValueWitness.def
//===--- ValueWitness.def - Value witness x-macros --------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
package a
type Printer struct {
}
func NewPrinter() *Printer {
return &Printer{}
}
func (p *Printer) Print(s string) {}
" gvim -u emoji.vim -U NONE --noplugin
set encoding=utf-8
scriptencoding utf-8
set guioptions=
set gfn=Segoe_UI_Mono:h18
set buftype=nofile
set linespace=0
set lines=19 columns=36
set rop=type:directx,renmode:5
@koron
koron / live-raspi3.sh
Created October 7, 2017 10:44
ラズパイ3で比較的低遅延な HLS をするための ffmpeg のオプションメモ
#/bin/sh
ffmpeg -f alsa -i hw:1 -s 320x240 -i /dev/video0 \
-vcodec h264_omx -acodec aac \
-f segment \
-segment_format mpegts \
-segment_time 4 \
-segment_list_size 8 \
-segment_list_type m3u8 \
-segment_list stream.m3u8 \
@koron
koron / shutdownable_server.go
Created October 5, 2017 15:47
Sample http.Server with Shutdown
package main
import (
"context"
"log"
"net/http"
"os"
"os/signal"
"time"
)
Vim をまだ使っているんですよ。
いまだに。
びっくりして
「Vim つかってんすか?」って呆れたら、
『ほんじゃ cat で直接書くか?』とイラッとして聞かれた。
IDE で書く、自動生成するという発想が無いんだろうな。
@koron
koron / gist:819c30251a1a66c6cb9d3525c2867c13
Created March 23, 2017 02:10
graph alias from my gitconfig
[alias]
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --date=short
package main
import (
"encoding/json"
"math/rand"
"os"
"strconv"
"testing"
"github.com/boltdb/bolt"