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 Head from 'next/head'; | |
import Script from 'next/script'; | |
import React from 'react'; | |
// Scriptコンポーネントで定義すると、Prefetchされても重複でloadされなくなる | |
// dangerouslySetInnerHTMLは、描画のたびに実行されるため、通常Render時もPrefetch時でも呼び出される | |
const Advertisement: React.FC = () => { | |
// 表示のたびにIDが代わるようにする | |
const scriptId = "adreset" + new Date().getTime() | |
return ( |
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
/** | |
* 通知設定を取得し、ユーザーに通知を送るかどうかを判断するプログラム | |
*/ | |
object Main { | |
def main(args: Array[String]): Unit = { | |
// フラグ立ってるのが通知してOKなのかどうかがもはやわからない | |
getConfig("User1") match { | |
case Some(config) if config.flag => { |
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
[ | |
{ | |
"PolicyName": "FMSServiceRolePolicy", | |
"Arn": "arn:aws:iam::aws:policy/aws-service-role/FMSServiceRolePolicy" | |
}, | |
{ | |
"PolicyName": "AmazonSQSFullAccess", | |
"Arn": "arn:aws:iam::aws:policy/AmazonSQSFullAccess" | |
}, | |
{ |
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
2020-04-10 13:40:22.901 JSTExecuting operation saveAsTextFile@{WordCount.scala:25}:1/WriteFiles/WriteUnshardedBundlesToTempFiles/GroupUnwritten/Create | |
2020-04-10 13:40:22.939 JSTExecuting operation saveAsTextFile@{WordCount.scala:25}:1/WriteFiles/FinalizeTempFileBundles/Reshuffle.ViaRandomKey/Reshuffle/GroupByKey/Create | |
2020-04-10 13:40:22.941 JSTStarting worker pool setup. | |
2020-04-10 13:40:22.975 JSTStarting 1 workers in us-central1-c... | |
2020-04-10 13:40:22.975 JSTExecuting operation countByValue@{WordCount.scala:23}:1/pApply:1/Combine.perKey(Count)/GroupByKey/Create | |
2020-04-10 13:40:23.025 JSTFinished operation saveAsTextFile@{WordCount.scala:25}:1/WriteFiles/WriteUnshardedBundlesToTempFiles/GroupUnwritten/Create | |
2020-04-10 13:40:23.041 JSTFinished operation countByValue@{WordCount.scala:23}:1/pApply:1/Combine.perKey(Count)/GroupByKey/Create | |
2020-04-10 13:40:23.041 JSTFinished operation saveAsTextFile@{WordCount.scala:25}:1/WriteFiles/FinalizeTempFileBundles/Reshuffle.ViaRandomKey/Reshuffle/GroupByKey/Crea |
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 scala.util._ | |
// ウォーターフォールとヘッダービディングの収益性の違いのシミュレーター | |
object Main { | |
def main(args: Array[String]): Unit = { | |
/*val r = new Random() | |
println((0 to 10000).count(i => Math.abs(r.nextGaussian()) < 1.96))*/ |
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.util.concurrent.ConcurrentHashMap | |
import scala.collection.JavaConverters._ | |
import scala.concurrent.Future | |
import scala.reflect.macros.blackbox.Context | |
import scala.language.experimental.macros | |
/** | |
* | |
* メッソドの呼び出しをキャッシュし、一回しか実行されないようにする機能を提供するためのマクロ |
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
メインキャラ数 | 声優 | |
---|---|---|
15 | 花澤香菜 | |
14 | M・A・O | |
13 | 佐倉綾音 | |
13 | 沢城みゆき | |
12 | 小澤亜李 | |
11 | 内田真礼 | |
11 | 小松未可子 | |
10 | 金元寿子 | |
10 | 東山奈央 |
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
出演数 | 声優 | |
---|---|---|
30 | M・A・O | |
25 | 堀江由衣 | |
24 | 悠木碧 | |
23 | 茅野愛衣 | |
22 | 早見沙織 | |
22 | 日笠陽子 | |
22 | 村中知 | |
21 | 沢城みゆき | |
20 | 上田麗奈 |
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 scala.reflect.runtime.universe._ | |
import scala.reflect._ | |
/** | |
* | |
* User: takeshita | |
* DateTime: 13/09/18 11:39 | |
*/ |
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
var doc = app.activeDocument; | |
var sels = doc.selection; | |
function saveAsPNG( doc , filename){ | |
var exportOptions = new ExportOptionsPNG24(); | |
var type = ExportType.PNG24; | |
var fileSpec = new File(filename); |
NewerOlder