Skip to content

Instantly share code, notes, and snippets.

Working from home

Fil Sviatoslav filsv

Working from home
View GitHub Profile
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() {
private let session: WCSession? = WCSession.isSupported() ? WCSession.default : nil
PurpleBooth /
Last active Sep 22, 2021
A template to make good

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.


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:
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management