React NativeでiOSサンプルアプリケーションを起動するまでを試す。
$ brew update
$ brew watchman
Facebook開発のファイル監視サービス「Watchhman」をインストールする。
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
package main | |
import ( | |
"fmt" | |
) | |
type ErrNegativeSqrt float64 | |
func (e ErrNegativeSqrt) Error() string { | |
return fmt.Sprint("cannot Sqrt negative number: %v", float64(e)) |
<? | |
///////////////////// | |
// slack2html | |
// by @levelsio | |
///////////////////// | |
// | |
///////////////////// | |
// WHAT DOES THIS DO? | |
///////////////////// | |
// |
#!/bin/bash | |
commit_message=`git log --format=%B -n 1 ${CIRCLE_SHA1}` | |
if [[ $commit_message != "Merge"* ]] ; then | |
echo 'deploy skip [excluded build]'; | |
exit 0; | |
fi | |
pr_title=`curl -H "User-Agent: ${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}" \ |
import { allowUnsafeEval, allowUnsafeNewFunction } from 'loophole'; | |
const { createRunner } = allowUnsafeEval(() => { | |
return allowUnsafeNewFunction(() => { | |
return require('atom-mocha-test-runner'); | |
}); | |
}); | |
const chai = allowUnsafeEval(() => { | |
return allowUnsafeNewFunction(() => { |
version: 2 | |
defaults: &defaults | |
working_directory: ~/workspace | |
docker: | |
- image: circleci/node:6.12.0 | |
environment: | |
CIRCLE_BUILD_IMAGE: ubuntu | |
ATOM_CHANNEL: stable | |
DISPLAY: :99 |
2 books / month 532 pages / month 18 pages / day
import React, {useCallback, useEffect, useState} from 'react'; | |
import styled from '@emotion/styled/macro'; | |
import * as yup from 'yup'; | |
import { FontSize } from '../constants/base'; | |
import MessageBox from './MessageBox'; | |
import { authenticate } from '../service/user'; | |
const Form = styled.form` | |
font-family: Noto Sans JP; | |
width: 25%; |