This file contains 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
Dir['*'].each do |d| | |
Dir.chdir(d){`convert * #{d}.pdf`} if File.directory? d | |
end |
This file contains 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
node_modules/.bin/jest e2e --config=e2e/config.json --runInBand | |
server listening on localhost:62008... | |
onOpen [object Object] | |
send: {"type":"login","params":{"sessionId":"88453d00-8a51-5ceb-8488-c701def3ca20","role":"tester"},"messageId":0} | |
onMessage: {"type":"loginSuccess","params":{"sessionId":"88453d00-8a51-5ceb-8488-c701def3ca20","role":"tester"},"messageId":0} | |
rbx | |
: applesimutils --list "iPhone 7" --maxResults=1 | |
: Searching for device matching iPhone 7... | |
[ stdout: | |
{tdout: |
This file contains 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
> detox-test@0.0.1 build:ios /Users/r-sherling/detox/detox/test | |
> detox build --configuration ios.sim.release | |
set -o pipefail && export CODE_SIGNING_REQUIRED=NO && export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -scheme example_ci -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcpretty | |
▸ Building React/yoga [Release] | |
▸ Check Dependencies | |
▸ Building React/double-conversion [Release] | |
▸ Check Dependencies | |
▸ Running script 'Install Third Party' | |
▸ Compiling bignum.cc |
This file contains 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
// function FUNCTIONAME (引数1、引数2){ | |
// 何かの計算か行動をして | |
// 値を返す(任意) | |
// return SOMESTUFF | |
// } | |
function addTwoThings(thingOne, thingTwo){ | |
return thingOne + thingTwo; | |
} | |
words = addTwoThings('bat ', 'man'); // wordsの入っている値は 'bat man' |
This file contains 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
module.exports = { | |
extends: 'universe/native', | |
plugins: ['react', 'react-native'], | |
rules: { | |
'react/jsx-closing-bracket-location': 2, | |
'brace-style': [2, '1tbs'], | |
'react/jsx-max-props-per-line': [ | |
'error', | |
{ maximum: 1, when: 'multiline' } | |
], |
This file contains 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
AllCops: | |
Exclude: | |
- 'vendor/**/*' | |
- 'bin/**/*' | |
- 'spec/fixtures/**/*' | |
- 'db/schema.rb' | |
- 'db/seeds.rb' | |
TargetRubyVersion: 2.3 | |
Rails: |
This file contains 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 * as functions from 'firebase-functions'; | |
import * as admin from 'firebase-admin'; | |
export const signUp = functions.https.onRequest(async (request, response) => { | |
admin.initializeApp() | |
if (request.method !== "POST") { | |
return response.status(400).send(); | |
} | |
var data = request.body; | |
if (data.token !== "TOKEN FROM ENV HERE") { |