Skip to content

Instantly share code, notes, and snippets.

View DimitarNestorov's full-sized avatar
📞
🔙

Dimitar Nestorov DimitarNestorov

📞
🔙
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dimitarnestorov on github.
  • I am dimitarnestorov (https://keybase.io/dimitarnestorov) on keybase.
  • I have a public key ASD5qnTxm2XMIyy4nNaS5dPxzQzWiiNM-0zxYcQR4H-NIQo

To claim this, I am signing this object:

@DimitarNestorov
DimitarNestorov / TravisGitHub.md
Last active May 12, 2022 15:57 — forked from qoomon/TravisGitHub.md
Setup GitHub Deploy Keys For Travis

Setup Travis Deploy (macOS)

see Travis documentation

gem install travis

ssh-keygen -t rsa -b 4096 -f 'github_deploy_key' -N ''

cat github_deploy_key.pub | pbcopy

Paste deploy key in https://github.com/<USER>/<REPOSITORY>/settings/keys

@DimitarNestorov
DimitarNestorov / supported-image-file-formats.swift
Created February 16, 2025 17:06
Generate a markdown table of supported image file formats in iOS
let sourceUTIs = CGImageSourceCopyTypeIdentifiers() as? [String] ?? []
let destinationUTIs = CGImageDestinationCopyTypeIdentifiers() as? [String] ?? []
var markdownTable = """
| UTI | File Extensions | Source | Destination | Notes |
| - | - | - | - | - |
"""
let allUTIs = Set(sourceUTIs).union(Set(destinationUTIs))