Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
Why is this even a feature?

Zachary Waldowski zwaldowski

🤔
Why is this even a feature?
View GitHub Profile
View tagfilter.md

<title> <style>

<xmp> is disallowed. <XMP> is also disallowed.
View sigil.md

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent luctus libero at ex auctor, non mattis leo fringilla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque eget magna id tellus feugiat dapibus. Nam ullamcorper finibus efficitur. Maecenas sit amet leo ipsum. Curabitur id ante eleifend, mattis lectus in, convallis enim. Suspendisse potenti. Quisque id urna velit. Mauris fringilla pulvinar quam in lacinia. Nulla odio tortor, viverra eu interdum at, commodo a erat. Phasellus molestie efficitur turpis eget facilisis. Nam facilisis lobortis feugiat. Cras in nulla ac metus vestibulum efficitur a sit amet nulla. Vivamus mattis consectetur ipsum in suscipit. Fusce quam odio, venenatis at risus a, pellentesque consequat nulla. Mauris euismod, libero quis volutpat congue, sem sem commodo justo, ac pellentesque nunc ipsum vitae felis.

Aliquam faucibus sapien in facilisis tempus. Integer mi lacus, finibus eget eleifend id, luctu

View super-sub.md

N^2^O

H2O is a liquid.

2^10^ is 1024.

Pa\ cat

Pa cat

View NavigationPopTransitionController.swift
final class NavigationPopTransitionController: UIPercentDrivenInteractiveTransition {
let navigationController: UINavigationController
private lazy var interactivePopGestureRecognizer = UIScreenEdgePanGestureRecognizer(target: self, action: #selector(handle))
var ifInteractive: Self? {
interactivePopGestureRecognizer.state == .began ? self : nil
}
View OrString.swift
import Foundation
@propertyWrapper
struct OrString<Wrapped>: Decodable where Wrapped: Decodable, Wrapped: LosslessStringConvertible {
var wrappedValue: Wrapped
init(wrappedValue: Wrapped) {
self.wrappedValue = wrappedValue
}
@zwaldowski
zwaldowski / AtGlobalVisitor.swift
Last active Apr 13, 2020
SwiftSyntax: Scanning for property wrappers
View AtGlobalVisitor.swift
import Foundation
import SwiftSyntax
class AtGlobalVisitor: SyntaxVisitor {
struct Result {
let name: String
let type: String
let location: SourceRange
let url: URL
View ffmpeg-lite.rb
class FfmpegLite < Formula
desc "Play, record, convert, and stream audio and video"
homepage "https://ffmpeg.org/"
url "https://ffmpeg.org/releases/ffmpeg-4.3.tar.xz"
sha256 "1d0ad06484f44bcb97eba5e93c40bcb893890f9f64aeb43e46cd9bb4cbd6795d"
head "https://github.com/FFmpeg/FFmpeg.git"
depends_on "nasm" => :build
depends_on "pkg-config" => :build
View 0000-split-every.md
View workflow-release-pr.yml
name: Release checks
on:
pull_request:
branches:
- master
types:
- opened
- labeled
- unlabeled
jobs: