Skip to content

Instantly share code, notes, and snippets.

View EkkoG's full-sized avatar

Ekko EkkoG

View GitHub Profile
@catchdave
catchdave / replace_synology_ssl_certs.sh
Last active March 31, 2025 06:31
CLI script to programmatically replace SSL certs on Synology NAS
# MOVED to public repo: https://github.com/catchdave/ssl-certs/blob/main/replace_synology_ssl_certs.sh
// Original article here: https://www.fivestars.blog/code/swiftui-hierarchy-list.html
import SwiftUI
struct FileItem: Identifiable {
let name: String
var children: [FileItem]?
var id: String { name }
@imk2o
imk2o / RxPublished.swift
Last active January 17, 2024 15:12
RxPublished (property wrapper)
import Foundation
import RxSwift
import RxCocoa
// NOTE
// 参考実装
// https://www.swiftbysundell.com/articles/property-wrappers-in-swift/
//
// Exclusively Enforcement問題
// (購読の仕方によって wrappedValue.setter 内で getter が呼ばれるケースがある)