Skip to content

Instantly share code, notes, and snippets.

@daijinload
daijinload / gist:57c55b82d6e2c3bd5cd9
Created December 4, 2014 10:16
centos6系にfabric入れてみた。
// root de go
sudo su -
// development tools install
yum -y groupinstall "Development tools"
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-deve
// python 2.7 install
wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz
tar xvzf Python-2.7.8.tgz
@daijinload
daijinload / gist:d6679e1a382358e12622
Created December 5, 2014 06:55
youtubeとcolorboxのサンプル
<link rel="stylesheet" href="https://code.google.com/p/pwi/source/browse/trunk/jquery.pwi/js/jquery.colorbox/colorbox.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://code.google.com/p/pwi/source/browse/trunk/jquery.pwi/js/jquery.colorbox/jquery.colorbox-min.js"></script>
<script>
$(document).ready(function(){
$(".youtube").colorbox({iframe:true, innerWidth:640, innerHeight:390});
$("#click").click(function(){
$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
return false;
});
@daijinload
daijinload / git-credential.md
Created December 26, 2015 11:53
Git credential最初のみ、IDとパスワードを聞かれるが、それ移行は指定した時間、必要なくなる♪
git config --global http.sslverify false
git credential-cache exit
git config --global credential.helper cache --timeout=360000
git clone https://github.com/daijinload/test.git
@daijinload
daijinload / create-system.md
Last active December 30, 2015 07:18
システムを作るときに考えること

システムを作るときに考えること

概要

システムを作るときに、こんなことを考えてるよ的なことを書いておきます。(追記があれば追記します。) 設計は正解が無いので、自分はそうは思わないとかあると思いますが、 一個人の考えと、参考程度に見て欲しいです。

考える要素

  • コーディング規約について
  • 開発言語の静的チェック(Linter)について
@daijinload
daijinload / netbeans-error.php
Last active June 28, 2016 05:16
PHP7 NetBeans Dev 201606080002で何故かエラー表示される
<?php
class StaticClass
{
public static function sRun()
{
echo 'static run!!';
}
}
class useClass
{
@daijinload
daijinload / designdoc.md
Last active February 15, 2024 03:57
Googleのデザインドックのマークダウンサンプルらしい
@daijinload
daijinload / designdoc-mini.md
Last active July 16, 2016 01:31
機能別の仕様書(GoogleDesignDocだと重いので、シュリンクしてみた)

概要

説明

仕様

これが出来ればゴール的な話がある。

テスト

仕様に対するテスト。BDDのような感じで書く。
テストコードがBDDなら、中身が空のdiscribeとitだけ書いてリンクを記載

2016年良かったと思う記事と本を書いて行きます。(2016年以前の記事も含まれます。)

まとめ記事読んで読んだ気になるもの良いですが、個人的には本を読んだほうが伝わると思います。 また、読んだ時の実力で、本の内容が変わるらしいので、そういう意味でも自分で読まないといけないと思います。 (amazonのレビュー見ていると人それぞれのレベルで読んでいることが垣間見れると思います。)

@daijinload
daijinload / gist:3ba79af2caaa73967fe627ce5310bf58
Last active July 22, 2016 02:27
尾原 和啓さんのお話

仕事の話

  • 「衣食住 仕事 学ぶ」これらが自由に出来て、初めて住む場所などが自由になる
  • ニッチなブルーオーシャンは、海外にいる
  • 海外では、給料が安かったり、住む際のコストが安かったりする。
  • 仕事 24時間リレー(常に起きている国に仕事をバトンタッチしていく)
  • プロトタイピング 早くなった pdca回しやすい
  • リモートワークのコツ、架橋やイスラエル人をベンチマークするといい。

バリの話

@daijinload
daijinload / file0.ini
Last active July 9, 2017 11:08
Windowsでmysql5.7をzipインストールする ref: http://qiita.com/daijinload/items/cf3e2e548f5008973140
[mysqld]
# dirs
basedir="C:/mysql"
datadir="C:/mysql/data"
tmpdir = "C:/mysql/temp"
# logging
log_output=TABLE,FILE
log_error_verbosity=3