This file contains hidden or 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
| <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.39/pdfmake.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.39/vfs_fonts.js"></script> |
This file contains hidden or 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
| ... | |
| $sendData = [ | |
| 'id' => $request->get('id'), | |
| ]; | |
| $content = new Content( | |
| 'text/plain', | |
| strval( | |
| view( |
This file contains hidden or 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
| let formData = new FormData(); | |
| formData.append('picture', this.$refs.picture.files[0]); | |
| let config = { | |
| headers: { | |
| 'content-type': 'multipart/form-data', | |
| }, | |
| }; |
This file contains hidden or 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 MailTest extends TestCase | |
| { | |
| public function testMailSend() | |
| { | |
| Mail::fake(); | |
| $email = 'test@gmail.com'; | |
| // 任意の実際のリクエスト処理 | |
| $this->put( |
This file contains hidden or 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 ja from 'vee-validate/dist/locale/ja'; | |
| Vue.use(VeeValidate, { | |
| locale: 'ja', | |
| dictionary: { | |
| ja: { | |
| custom: { | |
| password: { | |
| regex: 'パスワードは半角英数字をそれぞれ1種類以上含む8文字以上100文字以下で入力してください', | |
| }, |
This file contains hidden or 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
| dependencies: | |
| override: | |
| - echo "assert.exception = 1" >> /opt/circleci/php/$(phpenv global)/etc/php.ini |
This file contains hidden or 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
| machine: | |
| php: | |
| version: 7.1.0 | |
| node: | |
| version: 7.10.0 | |
| environment: | |
| PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" | |
| dependencies: | |
| override: |
This file contains hidden or 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
Show hidden characters
| { | |
| "extends": "google", | |
| "plugins": [ | |
| "html" | |
| ], | |
| "env": { | |
| "browser": true, | |
| "es6": true | |
| }, | |
| "parserOptions": { |
This file contains hidden or 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
| password_hash('password', PASSWORD_DEFAULT); | |
| // $2y$10$BN2hH0B3gnZceNlW1JXiNOUN8NWybLlfqZh6WQ/imah4htM8fktFW | |
| password_hash('password', PASSWORD_BCRYPT); | |
| // $2y$10$CuZkO0N29B1YtHHI9mwvIOCSUitQh4ptyfxYWvHhHoHHP2GZqC5Ga |