I hereby claim:
- I am HanbitGaram on github.
- I am gwiyomisaranghae (https://keybase.io/gwiyomisaranghae) on keybase.
- I have a public key whose fingerprint is E8FF DC1A 7944 F0B3 BA6C 5506 BB27 9326 5C30 5D9C
To claim this, I am signing this object:
<?php | |
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 | |
function get_hanbit_cache(string $cacheName, int $cacheTime=5){ | |
$cacheName = preg_replace("#[^a-zA-Z0-9\-\_]#", "", $cacheName); | |
$file = G5_PATH.'/data/cache/hanbit-cache-'.$cacheName.'-final.bin'; | |
if(!is_file($file)) return false; | |
$currentTime = time(); |
<?php | |
class SimpleFile{ | |
protected ?string $saveFunctions = null; | |
protected ?string $loadFunctions = null; | |
public function __construct(){ | |
/*** | |
* file_***_contents 는 fopen을 랩핑한 것이지만, | |
* 서버에 따라서 보안상 실행을 차단하여 사용이 안되는 경우가 은근히 존재함. | |
* 설정을 따로 두는 이유는, 혹시 모를 get만 차단했다던가... 등의 사유 |
<?php | |
/*** | |
* MySQL 설정 | |
*/ | |
const MYSQL_HOST = 'localhost'; | |
const MYSQL_ID = 'asdf'; | |
const MYSQL_PASS = 'asdf'; | |
const MYSQL_DB = 'asdf'; | |
$_ENV['mLink'] = @mysqli_connect(MYSQL_HOST, MYSQL_ID, MYSQL_PASS, MYSQL_DB) or die(json_encode(['status'=>'false', 'reason'=>'DB Error!'])); |
<?php | |
function httpRequest($method='GET', $args=[]){ | |
if(!isset($args['ua'])) | |
$args['ua'] = "Mozilla/5.0 Application"; | |
$method = strtoupper($method); | |
$args = [ | |
'url'=>'', | |
'headers'=>[], |
# Docker Update usage | |
- https://walialu.com/updating-mastodon-instance-docker-version |
http://timestamp.digicert.com | |
http://timestamp.globalsign.com/tsa/r6advanced1 | |
http://rfc3161timestamp.globalsign.com/advanced | |
http://timestamp.sectigo.com | |
http://timestamp.apple.com/ts01 | |
http://tsa.mesign.com | |
http://time.certum.pl | |
https://freetsa.org | |
http://timestamp.globalsign.com/scripts/timstamp.dll | |
http://timestamp.globalsign.com/?signature=sha2 |
I hereby claim:
To claim this, I am signing this object: