This file contains 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
import Foundation | |
import ShellOut | |
import ECSharedModels | |
public struct PassGenerator { | |
/// Generate a pass. Note the certificates and the assets should already be located at the url provided before this method is called | |
/// - Parameters: | |
/// - pass: the pass you want to generate | |
/// - url: where you want the pass to appear | |
/// - certificateName: p12 certificate. See how to generate one at https://www.raywenderlich.com/2855-beginning-passbook-in-ios-6-part-1-2#toc-anchor-007 |
This file contains 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
{% extends 'base.html' %} | |
{% load widget_tweaks %} | |
{% block content %} | |
<br> | |
<br> | |
<br> |
This file contains 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
# Use ARG to define the default application directory, allowing override if needed | |
ARG APP_DIR=/app1 | |
FROM python:3.9.18-bullseye | |
# Set environment variables | |
ENV PYTHONDONTWRITEBYTECODE=1 \ | |
PYTHONUNBUFFERED=1 | |
# Use the ARG in WORKDIR, setting the working directory |
This file contains 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
import BSON | |
import NukeUI | |
import SwiftUI | |
import Foundation | |
import LPGSharedModels | |
import LocationReducer | |
import UserDefaultsClient | |
import ComposableArchitecture | |
import ComposableCoreLocation |
This file contains 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
import Vapor | |
import WebSocketKit | |
extension Application { | |
private struct WebsocketClientsKey: StorageKey { | |
typealias Value = WebsocketClients | |
} | |
var wsClients: WebsocketClients { | |
get { |
This file contains 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
// | |
// LearnPlayGrowApp.swift | |
// LearnPlayGrow | |
// | |
// Created by Saroar Khandoker on 20.03.2023. | |
// | |
import UIKit | |
import SwiftUI | |
import AppView |
This file contains 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
import AVFoundation | |
import Contacts | |
import CoreLocation | |
import Foundation | |
import UserNotifications | |
@DependencyClient | |
public struct DevicePermissions { | |
enum PermissionError: Error { |
This file contains 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
import ComposableArchitecture | |
import ComposableUserNotifications | |
import Foundation | |
import SettingsFeature | |
import RemoteNotificationsClient | |
import LPGSharedModels | |
import UIKit | |
import os | |
import NotificationHelpers | |
import BSON |
This file contains 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
import SwiftUI | |
import PhotosUI | |
import SwiftUIExtension | |
import ComposableArchitecture | |
public enum ImageState: Equatable { | |
public static func ==(lhs: ImageState, rhs: ImageState) -> Bool { | |
switch (lhs, rhs) { | |
case (let .loading(lhsString), let .loading(rhsString)): |
This file contains 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
import Foundation | |
import ComposableArchitecture | |
import LPGSharedModels | |
import BSON | |
import ComposableCoreLocation | |
import LocationReducer | |
import UserDefaultsClient | |
import SwiftUI | |
import NukeUI |
NewerOlder