Skip to content

Instantly share code, notes, and snippets.

View nov-'s full-sized avatar
🚀
swift...

Smirnov Yuriy nov-

🚀
swift...
View GitHub Profile
@nov-
nov- / debounce-throttle.swift
Created April 28, 2017 16:21 — forked from simme/debounce-throttle.swift
Swift 3 debounce & throttle
//
// debounce-throttle.swift
//
// Created by Simon Ljungberg on 19/12/16.
// License: MIT
//
import Foundation
extension TimeInterval {
// ==UserScript==
// @name EmuParadise Download Workaround - 1.1.1
// @version 1.1.2
// @description Replaces the download button link with a working one
// @author Eptun
// @match https://www.emuparadise.me/*/*/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant none
// ==/UserScript==
@nov-
nov- / DiskSpaceLightbulb.sh
Created March 26, 2021 14:35 — forked from kuglee/DiskSpaceLightbulb.sh
Homebridge disk space as Lightbulb with homebridge-cmd4 plugin
#!/usr/bin/env bash
# Plugin: https://github.com/ztalbot2000/homebridge-cmd4
#
# config.json
#
# ...
# {
# "platform": "Cmd4",
# "name": "Cmd4",
@nov-
nov- / Tappable-SwiftUI.swift
Created February 1, 2023 20:55 — forked from romiroma/Tappable-SwiftUI.swift
Tappable Text in SwiftUI
import Foundation
import SwiftUI
struct TappableColoredText: View {
enum Component {
case text(String)
case tappable(String, () -> Void)
}
let components: [Component]