Skip to content

Instantly share code, notes, and snippets.

View carnoxen's full-sized avatar
😊
I want to make code lighter

Kaben carnoxen

😊
I want to make code lighter
View GitHub Profile
@carnoxen
carnoxen / README.md
Created January 25, 2023 03:09 — forked from minibox24/README.md
Get cookies.txt는 당신의 정보를 훔쳐갑니다
use std::{iter, slice, vec};
use std::iter::FromIterator;
/// A unique identifier with an associated usize index. Indexes are valued proportional to the
/// number of indexes allocated, are reused after being freed, and do not grow without bound. When
/// an index is re-used, an associated "generation" is incremented, so that within the life of a
/// single allocator, no two GenerationalIndex values will ever be equal. Since the indexes do not
/// grow without bound, GenerationalIndex values are particularly suited to being stored by their
/// index in extremely fast contiguous arrays.
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy, Debug)]
@carnoxen
carnoxen / renew-cert.sh
Last active November 10, 2025 11:32 — forked from ttkaka7200/renew-cert.sh
Renew Cloudflare Origin Certificate in AWS Lightsail Wordpress
#!/bin/sh
# This is a script for renewing Cloudflare Origin Certificate in AWS Lightsail Wordpress.
# Thank Digicert for making [Easy CSR](https://www.digicert.com/easy-csr/openssl.htm).
#
# Please put this file to `/opt/bitnami/letsencrypt/certificates/` folder,
# and register cron like this:
# ```bash
# 0 15 * * * sudo sh /opt/bitnami/letsencrypt/certificates/renew-cert.sh
# ```