This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT | |
// by Alexey Grigorev, Ivan Oparin | |
// A thread-safe service for subscribing to network status updates on Apple's platforms. It | |
// utilizes Apple's Network framework to monitor network conditions. The service | |
// uses the actor model for thread safety, protecting from data | |
// races. Updates are emitted via Combine publishers, for easy integration with | |
// reactive or async code. Updates include network connection status, if the | |
// connection is expensive, and if the status has changed." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT | |
// by Alexey Grigorev, Ivan Oparin | |
import Swinject | |
class DIContainerBuilder { | |
public static func build() -> Container { | |
let container = Container() | |
return container |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT | |
// Alexey Grigorev, Ivan Oparin | |
@MainActor | |
static private func configureIoC() { | |
ObjectFactory.initialize(with: DIContainerBuilder.container) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT | |
// Alexey Grigorev, Ivan Oparin | |
import Foundation | |
@discardableResult | |
public func measure(_ action: () -> ()) -> Double { | |
let start = Date() | |
action() | |
let end = Date() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# --------------------------------------------------------------------------------- | |
# Script Name: git-branch-cleanup | |
# Version: 1.0.0+2023-06-11 | |
# Author: Ivan Oparin <[email protected]> | |
# | |
# License: | |
# MIT License | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# --------------------------------------------------------------------------------- | |
# Script Name: xcgen_perdux_module | |
# Version: 1.0.0+2023-06-10 | |
# Author: Ivan Oparin <[email protected]> | |
# | |
# License: | |
# MIT License | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Transcoder.swift | |
// | |
// Copyright (c) 2020 Changbeom Ahn, 2023 Ivan Oparin | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// License: MIT | |
// 2023 Ivan Oparin | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License | |
// | |
// Copyright (c) 2024 Ivan Oparin | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# mkipa - iOS Archive to IPA Converter | |
# Copyright (c) 2024 Ivan Oparin | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
OlderNewer