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
ssl_protocols TLSv1.2 TLSv1.3; | |
ssl_prefer_server_ciphers off; | |
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; | |
ssl_ecdh_curve secp384r1; # Requires nginx >= 1.1.0 | |
ssl_session_cache shared:SSL:10m; | |
ssl_session_tickets off; # Requires nginx >= 1.5.9 | |
ssl_stapling on; # Requires nginx >= 1.3.7 |
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
#!/bin/sh | |
PACKAG="php" | |
dnf list installed | grep ${PACKAG} | awk 'BEGIN {printf "dnf install -y " } {printf $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
UINT Ver = GetVersion(); | |
UINT MajorVersion = LOBYTE(uVer); | |
UINT MinorVersion = HIBYTE(uVer); | |
if (MajorVersion < 3 || MinorVersion < 10) { | |
Error("This program requires Windows 3.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
#!/usr/bin/env bash | |
SLEEP_SECOND=7 | |
iter=0; | |
PARAM="s:h" | |
MUTEX=${HOME}/.run-x-seconds | |
LOGFILE=${HOME}/run-logfile |
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
#!/bin/bash | |
## install devel package | |
sudo pacman -Sy base-devel git | |
## install AUR-helper | |
sudo pacman -Sy yay | |
## install chrome | |
yay -Sy google-chrome |
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
unix is great os. unix is opensource. unix is free os. | |
learn operating system. | |
unix linux which one you choose. | |
unix is easy to learn.unix is a multiuser os.Learn unix .unix is a powerful. |
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 | |
$password = 'secret'; | |
$options = [ | |
'memory_cost' => 1<<17, // 128 Mb | |
'time_cost' => 4, // time_cost | |
'threads' => 2, // parallel thread | |
]; |
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
from argon2 import PasswordHasher | |
from argon2.exceptions import VerifyMismatchError | |
memory_cost = 1 << 17 | |
time_cost = 4 | |
parallelism = 2 | |
ph = PasswordHasher(time_cost, memory_cost, parallelism) | |
## 암호 |
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) | |
{ |