Skip to content

Instantly share code, notes, and snippets.

View perseusrealdeal's full-sized avatar
focusing on

Mikhail A. Z. perseusrealdeal

focusing on
  • Siberia lifer, Novosibirsk native.
  • Novosibirsk
  • 22:17 (UTC +07:00)
View GitHub Profile
@perseusrealdeal
perseusrealdeal / PerseusCompassDirection.swift
Last active January 12, 2024 16:45
Home-made Swift compass. Use it to know cardinal point by wind degree.
//
// PerseusCompassDirection.swift
// PerseusRealDeal
//
// Created by Mikhail Zhigulin in 7532.
//
// Copyright © 7532 Mikhail Zhigulin of Novosibirsk.
// Copyright © 7532 PerseusRealDeal.
// All rights reserved.
//
@perseusrealdeal
perseusrealdeal / JsonDataPrettyPrintedGift.swift
Last active January 15, 2024 10:46
Pretty printed Json Data object as a NSString.
//
// JsonDataPrettyPrintedGift.swift
// Gifts
//
// Just a gift, tested with Swift 4.2 compiler.
// https://gist.github.com/perseusrealdeal/945c9050cb9f7a19e00853f064acacca
//
/* Perseus Logger source code */
/* https://gist.github.com/perseusrealdeal/df456a9825fcface44eca738056eb6d5 */
@perseusrealdeal
perseusrealdeal / JsonDataDictionaryGift.swift
Last active March 3, 2024 11:54
Json Data to [String: Any]. Give it a path by closure.
//
// JsonDataDictionaryGift.swift
// Gifts
//
// Just a gift. Tested with Swift 4.2 compiler.
// https://gist.github.com/perseusrealdeal/918c25633122e64d51f363f00059f6f8
//
/* Perseus Logger source code */
/* https://gist.github.com/perseusrealdeal/df456a9825fcface44eca738056eb6d5 */
@perseusrealdeal
perseusrealdeal / CurrentSystemLanguageGift.swift
Last active January 28, 2024 22:27
The code of the current system language.
//
// CurrentSystemLanguageGift.swift
// Gifts
//
// Just a gift. Tested with Swift 4.2 compiler.
// https://gist.github.com/perseusrealdeal/98b082b136d574dd1b5aa760036dac8b
//
/* Perseus Logger source code */
/* https://gist.github.com/perseusrealdeal/df456a9825fcface44eca738056eb6d5 */