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
#!/usr/bin/env bash | |
## | |
REPOS_FILES="AppStream BaseOS" | |
PARAM="hn" | |
#KAKAO="mirror.kakao.com\/centos" | |
NAVER="mirror.navercorp.com\/rocky" |
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
#!/usr/bin/env bash | |
BASE_REPOS=/etc/yum.repos.d/CentOS-Linux-BaseOS.repo | |
PARAM="r:hkn" | |
KAKAO="mirror.kakao.com\/centos" | |
NAVER="mirror.navercorp.com\/centos" | |
if [ "$(id -u)" != "0" ]; then | |
echo "'$0' must be run as root" 1>&2 |
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
## copy from https://gist.github.com/cdekkerpossibilit/d023602c29fdf039c7eabadf64f708e9 | |
function Confirm-Choice { | |
param ( | |
[string]$Message | |
) | |
$yes = new-Object System.Management.Automation.Host.ChoiceDescription "&Yes","Yes"; | |
$no = new-Object System.Management.Automation.Host.ChoiceDescription "&No","No"; | |
$choices = [System.Management.Automation.Host.ChoiceDescription[]]($yes, $no); | |
$answer = $host.ui.PromptForChoice("", $message, $choices, 1) | |
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
includes: | |
- ./vendor/nunomaduro/larastan/extension.neon | |
parameters: | |
paths: | |
- app | |
# The level 8 is the highest level | |
level: 5 |
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 | |
namespace App; | |
class Temperature | |
{ | |
private $service; | |
public function __construct($service) | |
{ |
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 | |
namespace Tests\Feature; | |
use App\Temperature; | |
use Illuminate\Foundation\Testing\RefreshDatabase; | |
use Illuminate\Foundation\Testing\WithFaker; | |
use Mockery; | |
use Tests\TestCase; |
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 | |
/** | |
* 사업자 번호 유효성 검증 | |
* | |
* @param string $bizNumberParam 검증할 사업자 번호 | |
* | |
* @return bool | |
* | |
* @see https://www.lesstif.com/pages/viewpage.action?pageId=93126973 사업자 번호 검증 규칙 |
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 | |
namespace App\Providers; | |
use App\Listeners\LoggingEloquentQueryListener; | |
use Illuminate\Auth\Events\Registered; | |
use Illuminate\Auth\Listeners\SendEmailVerificationNotification; | |
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; | |
use Illuminate\Support\Facades\Event; |
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
// This file was initially generated by Windows Terminal 0.11.1191.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
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
# For advice on how to change settings please see | |
# See MySQL 5.7 - http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html | |
# MySQL 8.0 - https://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html | |
[mysql] | |
local_infile=true | |
[mysqld] | |
local_infile=true |
NewerOlder