「継続的デリバリーが行える環境/仕組み作り」 「マルチスレッドでの疑似サーバの実装完了」
「継続的デリバリーが行える環境/仕組み作り」
- ReactNative
- メリット
- Viewのコードを、iOSエンジニア以外にも触れるよう敷居を下げられる
'use strict'; | |
var blacklist = require('./node_modules/react-native/packager/blacklist'); | |
var path = require('path'); | |
/** | |
* Default configuration for the CLI. | |
* | |
* If you need to override any of this functions do so by defining the file |
(define (square x) | |
(* x x)) | |
(define (abs x) | |
(cond ((< x 0) (- x)) | |
((>= x 0) x))) | |
(define (sqrt-iter guess x) | |
(if (good-enough? guess x) | |
guess |
"use strict"; | |
// count : Number | |
var count = 0; | |
function p(obj) { | |
console.log(obj); | |
} | |
// sumcountup5 : Number, Number -> Countup(Number) 副作用なし |
class Person | |
@name | |
def hello | |
p @name ||= 'Michael' | |
end | |
end | |
man = Person.new |
class Checker | |
attr_accessor :reguler_array | |
def initialize | |
string = gets.chomp | |
ary = string.split("") | |
@reguler_array = make_good_ary(ary) | |
end | |
def make_good_ary(array) | |
_ary = array |
func char(str: String) -> ParseFunction { | |
var letters = Set<Character>(str.characters) | |
return { (target: String, position: Int) -> ParseResult in | |
let range = stringRange(target, start: position, advance: 1) | |
let char: Character = target.substringWithRange(range).characters.first! | |
if letters.contains(char) { | |
return (true, [String(char)], position) | |
} else { |
extension Int { | |
func fizzBuzz() -> String { | |
switch (self % 3, self % 5) { | |
case (0, 0): return "FizzBuzz" | |
case (0, _): return "Fizz" | |
case (_, 0): return "Buzz" | |
case _: return String(self) | |
} | |
} |
'use strict'; | |
const HTTP = require('http'); | |
/* | |
@param url: String ゆーあーるえる | |
@param conv: String -> String 型の関数 | |
*/ | |
function getURL(url, conv) { | |
/* | |
resolve, rejectはそれぞれ 処理成功時、失敗時に(利用ユーザが)呼びだす関数 |
'use strict'; | |
const Iconv = require('iconv').Iconv; | |
const Chardet = require('jschardet'); | |
/** | |
* convertEncode: 生バイト列のエンコードを変換する | |
* @param {Buffer} buf バイト列 | |
* @param {String} decoding 期待する変換後の文字エンコード | |
* @return {Promise(String)} 変換対象文字列を包んだPromise | |
*/ |