Skip to content

Instantly share code, notes, and snippets.

@ncrash
ncrash / Brewfile
Last active September 10, 2024 23:59
맥 신규 셋팅할때 사용하는 Brewfile, 2번째 Brewfile 파일은 맥앱스토어 한국계정에 구입이력이 있는 프로그램 설치, Brewfile - https://github.com/Homebrew/homebrew-bundle 링크참고
# preperation install
sudo softwareupdate --install-rosetta
# how to install
# > brew bundle
# tap brew
tap "homebrew/bundle"
tap "homebrew/services"
tap "hashicorp/tap"
#!/usr/bin/env php
<?php
$url = $argv[1];
$bytes = $argv[2];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Junk: ' . bin2hex(openssl_random_pseudo_bytes($bytes / 2)),
@ncrash
ncrash / README.md
Last active May 12, 2019 12:49
속초-평창 어린이날 가족여행 사진
@ncrash
ncrash / README.md
Last active September 17, 2019 16:09
독도 가족여행