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
@echo off | |
REM -------------- | |
REM config file | |
REM -------------- | |
cd /d %~dp0 | |
REM Directory with virtualization software (VirtualBox.exe) | |
REM (* It may be possible to use VMware, but I have not tried it.) |
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
3w42r42wgd1c51d0142ba23dr8vsiovssle752vsds... |
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="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<select name="prefectures"> | |
<option value="" selected>都道府県</option> | |
<option value="1">北海道</option> | |
<option value="2">青森県</option> | |
<option value="3">岩手県</option> | |
<option value="4">宮城県</option> | |
<option value="5">秋田県</option> | |
<option value="6">山形県</option> | |
<option value="7">福島県</option> |
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
self::where('user_id', $user_id)->distinct()->select('team_id')->get(); |
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
ini_set('xdebug.var_display_max_children', -1); | |
ini_set('xdebug.var_display_max_data', -1); | |
ini_set('xdebug.var_display_max_depth', -1); | |
var_dump($hoge); | |
exit; |
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
$('#idとか').append('HTMLタグ'); |
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
public function destroy($id) | |
{ | |
$user = User::find($id); | |
// 処理やら | |
if ($user->delete()) { | |
return redirect('/top')->with('message', '削除しました。'); | |
} | |
return redirect('/top')->with('message', 'エラー'); |
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
// 1号機以外は処理を実行しない | |
if (gethostname() === 'server_one') { | |
// 1号機のみ実行する処理 | |
} |
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
php artisan make:migration create_users_table --create=users |
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
MAIL_HOST= | |
MAIL_PORT= | |
MAIL_USERNAME= | |
MAIL_PASSWORD= | |
MAIL_ENCRYPTION=tls | |
[email protected] | |
MAIL_FROM_NAME=System | |
MAIL_TO_ADDRESS= | |
MAIL_TO_NAME= | |
MAIL_CC_01_ADDRESS= |
NewerOlder