This file contains hidden or 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
FROM php:fpm-alpine | |
RUN set -eux && \ | |
apk update && \ | |
apk add dpkg && \ | |
curl -L https://download.newrelic.com/php_agent/release/newrelic-php5-9.2.0.247-linux-musl.tar.gz | tar -C /tmp -zx && \ | |
NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 /tmp/newrelic-php5-*/newrelic-install install | |
# + curl -L https://download.newrelic.com/php_agent/release/newrelic-php5-9.2.0.247-linux-musl.tar.gz |
This file contains hidden or 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
signInSuccessWithAuthResult: (authResult, redirectUrl) => { | |
authResult.user | |
.getIdToken(false) | |
.then(idToken => { | |
// idToken をサーバーへ送ってdecodeしてuserを取り出す!!!! | |
}); | |
return false; | |
} |
This file contains hidden or 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
import java.io.{File, PrintWriter} | |
import org.jsoup.Jsoup | |
import scalaj.http.BaseHttp | |
object Main extends App { | |
def dumpToFile(text: String) = { | |
val writer = new PrintWriter(new File("dump.md")) | |
writer.write(text) | |
} |
This file contains hidden or 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
pod 'Firebase' | |
pod 'FirebaseCore', '~> 5.1.0' | |
pod 'FirebaseFirestore', '~> 0.16.1' | |
pod 'FirebaseInAppMessagingDisplay' | |
pod 'FirebaseInAppMessaging', '~> 0.12.1' |
This file contains hidden or 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
1章 はじめに | |
1.1 この本で説明する内容 | |
1.1.1 どういうデータを扱うのか | |
1.2 なぜPythonをデータ分析に使うのか | |
1.2.1 「糊(グルー)」としてのPython | |
1.2.2 「2つの言語」問題を解決する | |
1.2.3 Pythonを使うべきではないケース | |
1.3 必須のPythonライブラリ | |
1.3.1 NumPy | |
1.3.2 pandas |
This file contains hidden or 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
const query = firestore | |
.collection(`posts`) | |
.limit(200) | |
forEachDocs(query, docs => { | |
docs.map(doc => { | |
console.log(`${doc.id} do something`) | |
}) | |
}) |
This file contains hidden or 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
---------- Forwarded message --------- | |
From: Martin Raeburn <[email protected]> | |
Date: Thu, Nov 22, 2018 at 10:39 PM | |
Subject: React Native Developer - The Internet of the Future | |
To: [email protected] <[email protected]> | |
Dear laiso, | |
This file contains hidden or 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
const admin = require('firebase-admin') | |
class Notification { | |
constructor(doc, firestore = admin.firestore()) { | |
this.doc = doc | |
this.firestore = firestore | |
} | |
notify(toUser) { | |
const {user} = this.doc.data() |
This file contains hidden or 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
// | |
// GoogleDocsViewController.swift | |
// Created by laiso on 2018/06/12. | |
// | |
// let gdViewController = GoogleDocsViewController(nibName: nil, bundle: nil) | |
// gdViewController.url = "https://docs.google.com/document/.../pub" | |
// let nav = UINavigationController(rootViewController: gdViewController) | |
// self.present(nav, animated: true, completion: nil) | |
// |
This file contains hidden or 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
いつもGMOコインをご利用いただき、誠にありがとうございます。 | |
当社では現在、すべてのアルトコインについてスプレッドを縮小するキャンペーンを実施させていただいておりますが、12月上旬以降のアルトコイン価格高騰に伴い、当初2017年12月27日(水) 15:00終了を予定していた本キャンペーンにつきまして、 | |
「2017年12月22日(金) 10:00終了」 | |
とさせていただきます。 | |
※当社のスプレッドは、変動制であり、相場状況等により変動する場合がございます。 | |
お客様には直前のご案内となり、大変ご不便をおかけいたしますが、ご了承いただけますよう何卒お願い申し上げます。 | |