Skip to content

Instantly share code, notes, and snippets.

View henrik-dmg's full-sized avatar

Henrik Panhans henrik-dmg

View GitHub Profile
@henrik-dmg
henrik-dmg / multipeer-measurements.csv
Last active August 11, 2025 21:12
The measurements made as part of my bachelor thesis, using Multipeer Connectivity
connectionInitiatedTimestamp connectionReadyTimestamp dataDispatchedTimestamp dataReceivedTimestamp bytesReceived connectionReadyDelta dataReceivedDelta
1752000392874 1752000393781 1752000398669 1752000400983 2406157 907 2314
1752000408383 1752000408925 1752000413212 1752000414926 2406157 542 1714
1752000430541 1752000431070 1752000434791 1752000436666 2406157 529 1875
1752000548185 1752000548671 1752000552776 1752000554970 2406156 486 2194
1752000598005 1752000598661 1752000602123 1752000604261 2406157 656 2138
1752000613533 1752000613870 1752000618228 1752000620097 2406157 337 1869
1752000651134 1752000651624 1752000657475 1752000658918 2406157 490 1443
1752000670017 1752000670442 1752000674204 1752000675908 2406157 425 1704
1752000687357 1752000687898 1752000691885 1752000694345 2406157 541 2460
@henrik-dmg
henrik-dmg / bonjour-measurements.csv
Last active August 11, 2025 21:13
The measurements made as part of my bachelor thesis, using Bonjour
connectionInitiatedTimestamp connectionReadyTimestamp dataDispatchedTimestamp dataReceivedTimestamp bytesReceived connectionReadyDelta dataReceivedDelta
1752001088701 1752001088709 1752001095365 1752001095597 2406178 8 232
1752001161804 1752001161812 1752001165324 1752001165525 2406178 8 201
1752001173810 1752001173818 1752001177169 1752001177367 2406178 8 198
1752001183894 1752001183902 1752001188090 1752001188322 2406178 8 232
1752001197780 1752001197788 1752001201338 1752001201551 2406178 8 213
1752001209415 1752001209422 1752001212868 1752001213053 2406178 7 185
1752001219666 1752001219675 1752001223268 1752001223631 2406178 9 363
1752001229709 1752001229716 1752001236085 1752001236301 2406178 7 216
1752001251775 1752001251782 1752001255453 1752001255627 2406178 7 174
@henrik-dmg
henrik-dmg / bluetooth-measurements.csv
Last active August 11, 2025 21:13
The measurements made as part of my bachelor thesis, using Bluetooth
connectionInitiatedTimestamp connectionReadyTimestamp dataDispatchedTimestamp dataReceivedTimestamp bytesReceived connectionReadyDelta dataReceivedDelta
1752001923465 1752001924311 1752001929010 1752001929910 6136 846 900
1752001963746 1752001964484 1752001968804 1752001969662 6136 738 858
1752001979207 1752001979963 1752001992466 1752001993391 6136 756 925
1752002007290 1752002008159 1752002013422 1752002014392 6136 869 970
1752002021717 1752002022594 1752002026667 1752002027503 6136 877 836
1752002079021 1752002079771 1752002084071 1752002084923 6136 750 852
1752002096266 1752002096990 1752002101828 1752002102683 6136 724 855
1752002136147 1752002136893 1752002140866 1752002141652 6135 746 786
1752002148561 1752002149281 1752002153585 1752002154571 6136 720 986
@henrik-dmg
henrik-dmg / SignInWithAppleFirebaseButton.swift
Last active December 22, 2024 17:10
A SwiftUI wrapper around the new Sign in with Apple button that returns OAuthCredentials directly to login with Firebase
import AuthenticationServices
import CryptoKit
import FirebaseAuth
import Foundation
import SwiftUI
// Adapted from https://firebase.google.com/docs/auth/ios/apple?authuser=0
@available(iOS 14.0, OSX 10.16, tvOS 14.0, *)
@available(watchOS, unavailable)
@henrik-dmg
henrik-dmg / ioslocaleidentifiers.csv
Last active July 18, 2019 13:49 — forked from jacobbubu/ioslocaleidentifiers.csv
iOS Locale Identifiers
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
af Afrikaans
af_NA Afrikaans (Namibia)
af_ZA Afrikaans (South Africa)
agq Aghem
agq_CM Aghem (Cameroon)
ak Akan
ak_GH Akan (Ghana)
am Amharic
am_ET Amharic (Ethiopia)
ar Arabic