Skip to content

Instantly share code, notes, and snippets.

View bigwheel's full-sized avatar

k.bigwheel (kazufumi nishida) bigwheel

View GitHub Profile
@utahta
utahta / memo-tmux-2.4.md
Last active May 17, 2017 06:06
patches for tmux 2.4
@drhuffman12
drhuffman12 / gist_edit_textbox_height.js
Created April 16, 2018 03:11
Modify Gist Edit Textbox Height
// xpath: '//*[@id="gists"]/div[2]/div[2]/div[2]/div'
// selector: '#gists > div.js-gist-file > div.file.js-code-editor.container-preview.show-code > div.commit-create > div'
// reset to orig:
$('#gists > div.js-gist-file > div.file.js-code-editor.container-preview.show-code > div.commit-create > div').style.height = '352px'
// expand to 600px high:
$('#gists > div.js-gist-file > div.file.js-code-editor.container-preview.show-code > div.commit-create > div').style.height = '600px'
// expand to 900px high:
@gakuzzzz
gakuzzzz / sbt-coursier.md
Last active June 27, 2019 03:23
あなたの sbt update を爆速にする sbt-coursier の紹介

あなたの sbt update を爆速にする sbt-coursier の紹介

この記事は Scala Advent Calendar 2016(Adventar) 10日目の記事です。

今は 12/10 の 625時です。年明けなんて無かった。いいね?

さてさて、sbt の依存jarのダウンロードが遅い、というのは割とよく言われる事であります。

で、この原因の一旦に、sbtが Apache Ivy を使っている、という点があります。

@pahud
pahud / main.workflow
Last active July 24, 2023 08:20
Github Actions with Amazon EKS CI/CD
workflow "Demo workflow" {
on = "push"
resolves = ["SNS Notification"]
}
action "Build Image" {
uses = "actions/docker/cli@c08a5fc9e0286844156fefff2c141072048141f6"
runs = ["/bin/sh", "-c", "docker build -t $IMAGE_URI ."]
env = {
IMAGE_URI = "xxxxxxxx.dkr.ecr.ap-northeast-1.amazonaws.com/github-action-demo:latest"
@matsu-chara
matsu-chara / DerivingTest.scala
Last active February 2, 2024 01:24
case classをtupleに変換したり、tupleをcase classに変換できるIso trait
package Deriving
// (だいたい)任意のcase classをマクロでtupleに変換
object DerivingTest extends App {
// テスト用ケースクラス
case class Bar()
case class Foo(i: Int, s: String, d: Double)
case class Baz(i: Int, s: String, d: Double, f: Foo)
@j5ik2o
j5ik2o / gist:2970973
Last active April 12, 2024 07:19
ペアプロの心得

ペアプロの心得

休憩をとる

1.定期的に休憩をとっていますか? ペアプログラミングは、精神的な体力を消耗します。定期的に休憩をとってリフレッシュすることがとても大切です。

謙虚になる

2.「色々な実装方針がある」という認識がありますか?