Skip to content

Instantly share code, notes, and snippets.

View dobestan's full-sized avatar
๐Ÿ˜Ž

Suchan An dobestan

๐Ÿ˜Ž
View GitHub Profile
@dobestan
dobestan / cloudflare-waf.md
Last active April 15, 2026 05:22
Cloudflare WAF Gold Standard โ€” 3-rule strategy for 189 zones (Free plan)

Cloudflare WAF Gold Standard

189๊ฐœ zone, Free plan (5 custom rules/zone). 3 rules ์‚ฌ์šฉ, 2 slots ์˜ˆ๋น„. ๋ชจ๋“  ์‚ฌ์ดํŠธ๋Š” Django + Next.js. PHP/WordPress/ASP ์—†์Œ.

WAF Rule ๊ตฌ์„ฑ (3 of 5 slots)

Slot Rule Name Action ๋ชฉ์  Chars
1 Block Vulnerability Scanners Block Path ๊ธฐ๋ฐ˜ ๊ณต๊ฒฉ ํŒจํ„ด ์ฐจ๋‹จ (58 patterns) 2,803
@dobestan
dobestan / infra-cost-optimization-report.md
Created April 14, 2026 08:02
AWS ์ธํ”„๋ผ ๋น„์šฉ ์ตœ์ ํ™” ๋ณด๊ณ ์„œ โ€” Hetzner/iwinv ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ œ์•ˆ (2026-04-14)

AWS ์ธํ”„๋ผ ๋น„์šฉ ์ตœ์ ํ™” ๋ณด๊ณ ์„œ

์ž‘์„ฑ์ผ: 2026-04-14 ๋Œ€์ƒ: SEO ํฌํŠธํด๋ฆฌ์˜ค (70+ Django ์‚ฌ์ดํŠธ) ํ˜„์žฌ ์›” ๋น„์šฉ: ~$896/mo (wallet-kr ์ข…๋ฃŒ ํ›„) ๋ชฉํ‘œ: ๋™์ผ ์„ฑ๋Šฅ ์œ ์ง€ํ•˜๋ฉด์„œ ๋น„์šฉ 30-60% ์ ˆ๊ฐ


1. ํ˜„์žฌ ์ธํ”„๋ผ ์ƒ์„ธ ๋ถ„์„

@dobestan
dobestan / ccs-opencode-multi-account-guide.md
Created March 15, 2026 11:36
OpenCode + CCS ๋‹ค๊ณ„์ • ์„ค์ • ๊ฐ€์ด๋“œ โ€” Claude Max ๊ณ„์ • ์ž๋™ ๋กœํ…Œ์ด์…˜

OpenCode + CCS ๋‹ค๊ณ„์ • ์„ค์ • ๊ฐ€์ด๋“œ

Claude Code Max ๊ณ„์ • ์—ฌ๋Ÿฌ ๊ฐœ๋ฅผ OpenCode์—์„œ ์ž๋™ ๋กœํ…Œ์ด์…˜ํ•˜์—ฌ ํ† ํฐ ํ•œ๋„ ์—†์ด ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•.

๊ตฌ์กฐ

oc (alias) โ†’ ANTHROPIC_BASE_URL + API_KEY ์ฃผ์ž… โ†’ OpenCode โ†’ opencode-anthropic-auth ํ”Œ๋Ÿฌ๊ทธ์ธ (ํŒจ์น˜)
                                                                    โ†“
 URL ๊ฒฝ๋กœ ์ •๊ทœํ™” (/v1/ ์‚ฝ์ž…)
@dobestan
dobestan / fyipedia-ecosystem-demo-gifs-report.md
Created March 5, 2026 14:20
FYIPedia Ecosystem โ€” Demo GIFs & Backlink Optimization Report (2026-03-05)

FYIPedia Ecosystem โ€” Demo GIFs & Backlink Optimization Report

2026-03-05 | All 20 packages now have animated terminal demo GIFs across 5 distribution channels

Summary

Metric Count
Demo GIFs created 20
GitHub repos updated 33 (20 packages + 12 Django apps + 1 Homebrew tap)
@dobestan
dobestan / Exchange.sol
Created October 29, 2022 12:27
๋””์‚ฌ์ดํผ
// SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract Exchange is ERC20 {
IERC20 public token;
@dobestan
dobestan / Factory.sol
Created October 15, 2022 13:18
Decipher Solidity #20221015
// SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
import "./Token.sol"; // Token Contract
contract Factory {
function createTokenContract(
string memory _name,
// SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
contract TokenStandardInterface {
// Events
event Transfer(address indexed _from, address indexed _to, uint256 _value);
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
// Data
@dobestan
dobestan / TokenStandardInterface.sol
Created October 8, 2022 11:31
Decipher 2022-10-08
// SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
interface TokenStandardInterface {
// Events
event Transfer(address indexed _from, address indexed _to, uint256 _value);
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
// Functions
@dobestan
dobestan / Counters.sol
Created October 1, 2022 12:28
Decipher Solidity #20221001
// SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
contract Counter {
uint private _value;
address public owner;
constructor() {
@dobestan
dobestan / contracts...MainToken.sol
Created July 24, 2022 11:49
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MainToken is ERC20 {
constructor(uint _initialSupply) ERC20("MainToken", "MT") {
// Assume that msg.sender is ManagerContract.
_mint(msg.sender, _initialSupply);