Skip to content

Instantly share code, notes, and snippets.

View tkojitu's full-sized avatar

aka. bakaiku or @gdgdiler tkojitu

View GitHub Profile

モチベーションと業績

モチベーションは業績にも大きな影響を与えていて:

業績 = 能力 × モチベーション

といわれています。この式は乗算であることがポイントで、モチベーションがゼロなら業績もゼロになってしまいます。

能力は安定的な要素であるのに対してモチベーションは不安定な要素です。そのため、業績を上げるにはモチベーションを高く維持する必要があります。

@tkojitu
tkojitu / 多数決以外で意見をまとめたいとき.md
Last active July 19, 2021 04:25
多数決以外で意見をまとめたいとき

ハーフ&ハーフ

2つの考えを合体させてみよう。

よくばりクォーター

いくつかの考えを合体させちゃおう。

ワンプレート

@tkojitu
tkojitu / ojt.txt
Last active June 15, 2021 06:50
OJT Resume
助けを呼ぶことも仕事のうち
3つの知識ドメイン
テクノロジー ← 今日・明日の飯のタネ(プログラミング言語を含む開発環境など)
ビジネス ← 一番お金になる知識
ソフトウェア開発 ← この仕事を長く続けるための知識
ツールに習熟する
IDE 統合開発環境
プログラミング言語
export default class {
constructor() {
this.services = [];
this.instances = [];
}
define(name, fn) {
this.services[name] = fn;
}
@tkojitu
tkojitu / nudge.md
Last active October 31, 2019 10:24

『今注目される「ナッジ」その設計と使い方 (大竹文雄 中央公論2019.11)』の読書メモ

そもそも「ナッジ」とは?

ナッジはもともと「ヒジで軽くつつく」という意味。

私たちの意思決定には合理的なものからのズレが予測可能な形で存在する。予測可能なズレが存在するのであれば、そのズレを逆に利用することで、意思決定をよりよいものに変えることができる。

人々の選択の自由を確保しつつ、しかし金銭的なインセンティブを用いずに、行動変容を引き起こすことができる。

@tkojitu
tkojitu / kaigi.md
Last active November 5, 2017 00:40

とちぎRuby会議07のレポート

書いた人

gdgdiler@toRuby

口上

元気ですかーーッ?!元気があれば何でもできる!

require 'stringio'
module Bmp
class BmpObject
def initialize(file_header, info_header, image_data)
@file_header = file_header
@info_header = info_header
@image_data = image_data
end
attr_reader :file_header, :info_header
class Mtail
def initialize(dirname)
@dirname = dirname
@filename = nil
@input = nil
end
def tail
Encoding.default_external = "ASCII-8BIT"
Encoding.default_internal = "ASCII-8BIT"
#include "stdafx.h"
#include <Windows.h>
static HANDLE s_mutex;
bool lock() {
s_mutex = CreateMutex(NULL, TRUE, L"TextMutex");
if (!s_mutex) {
fprintf(stderr, "CreateMutex failed %d\n", GetLastError());
return false;
#include "stdafx.h"
#include "DyMenuDemo.h"
#include "DyMenuDemoDlg.h"
#include "afxdialogex.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
class CAboutDlg : public CDialogEx