Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Fil Sviatoslav filsv

🏠
Working from home
View GitHub Profile
@filsv
filsv / WatchSessionManager.swift
Last active Apr 29, 2021
WatchConnectivity Singleton (Swift 5+, iOS+WatchOS Targets) + How to (comment below)
View WatchSessionManager.swift
import WatchConnectivity
class WatchSessionManager: NSObject, WCSessionDelegate {
static let sharedManager = WatchSessionManager()
private override init() {
super.init()
}
private let session: WCSession? = WCSession.isSupported() ? WCSession.default : nil
@PurpleBooth
PurpleBooth / README-Template.md
Last active Sep 22, 2021
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@stephenll
stephenll / .bash_profile
Created Feb 2, 2014 — forked from jernejcic/.bash_profile
.bash_profile file on Mac OS X
View .bash_profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases.
# Much of this was originally copied from:
# http://natelandau.com/my-mac-osx-bash_profile/
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management