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 class="container"> | |
<div class="row"> | |
<div class="col-md-8 col-md-offset-2"> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Example Component</div> | |
<div class="panel-body"> | |
I'm an example component! | |
</div> |
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
fetchArticles() { | |
this.$http({ | |
url: '/api/getAllExamination', | |
method: 'GET' | |
}).then(res => { | |
this.articles = res.data | |
}) | |
} |
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
class ExaminationController extends Controller | |
{ | |
/** | |
* すべての試験区分を取得 | |
* | |
* | |
* @return \Illuminate\Database\Eloquent\Collection|\Illuminate\Database\Eloquent\static[] | |
*/ | |
public function getAll() |
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
<?php | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateRoundsTable extends Migration | |
{ | |
/** | |
* マイグレーション実行 |
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
$ docker-compose exec {サービス名} php artisan make:seeder {任意の名前 例:***TableSeeder} | |
Seeder created successfully. |
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
<?php | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateRoundsTable extends Migration | |
{ | |
/** | |
* マイグレーション実行 |
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
user@xxx ~/colejo/laradock (master) | |
$ docker-compose exec workspace composer create-project --prefer-dist laravel/laravel ./ | |
Do not run Composer as root/super user! See https://getcomposer.org/root for details | |
Installing laravel/laravel (v5.5.22) | |
- Installing laravel/laravel (v5.5.22): Downloading (100%) | |
Created project in ./ | |
> @php -r "file_exists('.env') || copy('.env.example', '.env');" | |
... 略 ... |
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
$ docker-compose exec {サービス名} {コマンド} |
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
$ sudo chown -R $(whoami) /usr/local/Cellar |
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 webdriver = require('selenium-webdriver'); | |
const By = webdriver.By; | |
driver.findElement(By.xpath("//a[@data-selenium='login']")).click(); |
NewerOlder