class: center, middle
テクノロジー開発2部 岡田 遥来
| #import <UIKit/UIKit.h> | |
| @interface CustomCell : UICollectionViewCell | |
| @property (weak, nonatomic) IBOutlet UIActivityIndicatorView *indicatorView; | |
| @property (weak, nonatomic) IBOutlet UIImageView *imageView; | |
| @end |
| $ rails g model Image tag:string data:binary | |
| $ rake db:migrate |
| <!doctype html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="UTF-8"/> | |
| <title>TODO</title> | |
| </head> | |
| <body> | |
| <div id="app"></div> | |
| <script src="https://fb.me/react-0.14.0.min.js"></script> | |
| <script src="https://fb.me/react-dom-0.14.0.min.js"></script> |
| for(s<-"33."+:114.to(213))print(s+""tail) | |
| "33."+:114.to(213)map(_+""tail)map print |
| import shapeless._, ops.nat._ | |
| trait ズン | |
| trait ドコ | |
| trait `キ・ヨ・シ!` | |
| case object ズン extends ズン | |
| case object ドコ extends ドコ | |
| case object `キ・ヨ・シ!` extends `キ・ヨ・シ!` | |
| trait GenZD[A <: Nat, C <: Nat, M <: Nat, X <: Nat, T <: Nat, ズンドコ, OutX <: Nat] { |
| package com.example | |
| import org.apache.hadoop.fs.Path | |
| import org.apache.hadoop.io.{Text, NullWritable} | |
| import org.apache.hadoop.mapred.lib.MultipleTextOutputFormat | |
| import org.apache.spark.rdd.{PairRDDFunctions, RDD} | |
| import org.apache.spark.{SparkConf, SparkContext} | |
| case class PageView(accountId: Long, cookieId: String, timestamp: Long) |
| package net.ceedubs.ficus | |
| package readers | |
| import com.typesafe.config.ConfigFactory | |
| import net.ceedubs.ficus.Ficus._ | |
| import net.ceedubs.ficus.readers.EnumerationReader._ | |
| import net.ceedubs.ficus.readers.ArbitraryTypeReader._ | |
| import ConfigSerializerOps._ | |
| object CaseClassReadersSpec { |
| implicit class CodePointOps(val self: String) extends AnyVal { | |
| // take | |
| def takeCodePoints(n: Int): String = { | |
| val itr = java.text.BreakIterator.getCharacterInstance | |
| itr.setText(self) | |
| val codePointCount = Iterator.continually(itr.next()).takeWhile(_ != java.text.BreakIterator.DONE).take(n).size |