This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class JsonParser { | |
static List<String> execute(List<String> ret, String source) { | |
final s = source.indexOf('{'); | |
if (s < 0) return ret; | |
final s2 = source.substring(s); | |
var e = 0; | |
var count = 0; | |
while (e < s2.length) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GestureDetector( | |
onTap: () => aaaaa?.call(), | |
child: SizedBox( | |
width: 375.0, | |
height: 139.0, | |
child: Stack( | |
children: <Widget>[ | |
Pinned.fromSize( | |
bounds: Rect.fromLTWH(0.0, 0.0, 375.0, 139.0), | |
size: Size(375.0, 139.0), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homesに転職した酒井さんのインタビュー。 | |
もと西村あさひ法律事務所で、起業しようとして僕に相談してきた。 | |
僕をどうやって見つけましたか?Twitter で探してきた。 | |
エンジニアさんの知り合いはいるものの、お願いした人もいるものの | |
そもそもプロダクトマネージメント、エンジニアもサービスよくわからない完成イメージわからない。 | |
PM的な動きをする人を探していた。必ず必要。 | |
人づてもある。 | |
エンジニア経由で、こんな人いるよ。個人的に繋がりのある起業家 | |
VCにはいってない、若手の学生起業家コミュニティなのでは、大人のベンチャーではそこではない | |
プロフェショナルファーム起業が多くなってる。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class StatelessWidgetWithEntity<P extends ChangeNotifier> extends StatelessWidget { | |
Widget build(BuildContext context) => buildWithEntity(context, Provider.of<P>(context)); | |
Widget buildWithEntity(BuildContext context, P entity); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class StatelessWidgetWithEntity<P extends ChangeNotifier> extends StatelessWidget { | |
Widget build(BuildContext context) => buildWithEntity(context, Provider.of<P>(context)); | |
Widget buildWithEntity(BuildContext context, P entity); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SampleService | |
class Success < Struct.new(:json); end | |
class Failure < Struct.new(:error); end | |
def self.execute | |
#return Success.new({success: 1}) | |
return Failure.new('エラーが起きたよ') | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
以下に掲載がない場合 | |
飯田橋 | |
一番町 | |
岩本町 | |
内神田 | |
内幸町 | |
大手町(次のビルを除く) | |
大手町JAビル(地階・階層不明) | |
大手町JAビル(1階) | |
大手町JAビル(2階) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.swift | |
// ReverseCollectionView | |
// | |
// Created by enomoto on 2015/10/01. | |
// Copyright © 2015年 enomoto. All rights reserved. | |
// | |
import UIKit | |
import CoreData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name @server_name; | |
access_log /var/log/nginx/@server_name.acc.log; | |
location / { | |
root /home/@uname/@env; | |
index index.php; | |
} | |
error_page 500 502 503 504 /50x.html; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
uname="hajime" #案件ユーザ名 | |
github_account="sarukun99" #githubアカウント | |
host="my-sommelier.tokyo" | |
#selinux off | |
sudo setenforce 0 | |
#nginxをインストール |
NewerOlder