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 createAuth0Client, { | |
Auth0Client, | |
Auth0ClientOptions, | |
GetIdTokenClaimsOptions, | |
GetTokenSilentlyOptions, | |
GetTokenWithPopupOptions, | |
IdToken, | |
LogoutOptions, | |
PopupConfigOptions, | |
PopupLoginOptions, |
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
<% | |
options = { | |
url: form_url | |
} | |
options[:as] = resource_name if defined?(resource_name) && resource_name.present? | |
%> | |
<%= form_for(resource, options) do |f| %> | |
<% if !defined?(password_only) || !password_only %> | |
<%= f.email_field :email %> |
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
Error creating load balancer (will retry): Failed to create load balancer for service default/eccube: requested ip xxx.xxx.xxx.xxx is neither static nor assigned to LB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(default/hoge) |
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
version: 2.1 | |
executors: | |
default: | |
working_directory: ~/repo | |
docker: | |
- image: circleci/ruby:2.5.1-node-browsers | |
environment: | |
RACK_ENV: test | |
RAILS_ENV: test |
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
- attached { fixture_file_upload Rails.root.join('spec', 'fixtures', 'files', 'test.jpg'), 'image/jpg' } | |
+ | |
+ after(:build) do |hoge| | |
+ hoge.attached = fixture_file_upload(Rails.root.join('spec', 'fixtures', 'files', 'test.jpg'), 'image/jpg') | |
+ 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
<template> | |
<div> | |
<div class="row"> | |
<div class="col s12 offset-m3 m6"> | |
<div class="card"> | |
<div class="card-content"> | |
<span class="card-title">Sign in</span> | |
<p> | |
<div class="row"> | |
<div class="col s12"> |
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
<template> | |
<a class="google-signin" @click="signInWithGoogleRedirect"></a> | |
</template> | |
<script lang="ts"> | |
import { | |
Component, | |
Vue | |
} from "nuxt-property-decorator" | |
import firebase, { googleProvider } from "~/plugins/firebase" |
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
<template> | |
<div> | |
<div class="row"> | |
<div class="col s12"> | |
<input type="text" placeholder="E-mail" v-model="email"> | |
<input type="password" placeholder="Password" v-model="password"> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="col s12"> |
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
<template> | |
<div> | |
<div class="row"> | |
<div class="col s12"> | |
<input type="text" placeholder="E-mail" v-model="email"> | |
<input type="password" placeholder="Password" v-model="password"> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="col s12"> |
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
const parseArgs = require("minimist") | |
const argv = parseArgs(process.argv.slice(2), { | |
alias: { | |
H: "hostname", | |
p: "port" | |
}, | |
string: ["H"], | |
unknown: parameter => false | |
}) |
NewerOlder