Skip to content

Instantly share code, notes, and snippets.

@hasanalisiseci
hasanalisiseci / WebViewHTMLContent.swift
Last active March 14, 2025 23:27
A view derived from WKWebView that returns a dynamically calculated height value based on HTML content using the UIViewRepresentable protocol in SwiftUI.
//
// WebViewHTMLContent.swift
// WebViewHTMLContent
//
// Created by Hasan Ali Şişeci on 20.06.2023.
//
import WebKit
import SwiftUI
@witmin
witmin / ffmpeg-mp4-to-animated-webp.md
Last active April 24, 2025 01:56
Convert MP4 file to animated WebP in ffmpeg

Convert MP4 file to animated WEBP file in ffmpeg CLI

1. Install ffmpeg CLI through homebrew

In terminal.app, install ffmpeg through homebrew

brew install ffmpeg

Validate the installation:

@parmentf
parmentf / GitCommitEmoji.md
Last active May 9, 2025 10:13
Git Commit message Emoji