Skip to content

Instantly share code, notes, and snippets.

View ohayon's full-sized avatar

David Ohayon ohayon

View GitHub Profile
# Pickle Brine
**Organize your pickleball games with ease.**
## Features
### Group Management
Create and manage your pickleball groups. Invite players with a simple shareable link and keep everyone connected.
### Game Sessions
@ohayon
ohayon / gist:726112ee3719ef6d87a3717e77d090e4
Last active December 9, 2025 15:15
Pickle Brine Support
# Pickle Brine Support
Need help with Pickle Brine? You're in the right place!
## Frequently Asked Questions
### Getting Started
**How do I create an account?**
Pickle Brine uses Sign in with Apple for secure, private authentication. Just tap "Sign in with Apple" and follow the prompts.
@ohayon
ohayon / gist:abae23bdc7c867718442657f3ded53f3
Last active December 9, 2025 15:15
Pickle Brine Privacy Policy
# Privacy Policy for Pickle Brine
**Last Updated: December 8, 2024**
## Overview
Pickle Brine ("the App") is designed to help you organize pickleball games with friends. We respect your privacy and are committed to protecting your personal data.
## Data Collection
@ohayon
ohayon / DraggableView.swift
Last active April 5, 2023 16:24
Example of making a reusable `draggable()` modifier for SwiftUI Views
struct DraggablePita: View {
var body: some View {
Image(uiImage: UIImage(named: "pita.png")!)
.draggable() // Add the new, custom modifier to make this draggable
}
}
// Handle dragging
struct DraggableView: ViewModifier {
@State var offset = CGPoint(x: 0, y: 0)
@ohayon
ohayon / init.lua
Created March 29, 2018 16:23
hammerspoon config
SHOULD_HIDE_ON_DEACTIVATE = true
function applicationWatcher(appName, eventType, appObject)
if (eventType == hs.application.watcher.deactivated) then
if (appName == "Terminal") then
if (SHOULD_HIDE_ON_DEACTIVATE == true) then
appObject:selectMenuItem({"Terminal", "Hide Terminal"})
end
end
end
end

Keybase proof

I hereby claim:

  • I am ohayon on github.
  • I am ohayon (https://keybase.io/ohayon) on keybase.
  • I have a public key ASCHvqOTfRRij1bAMobMuyf0cgzDkrY0cPYMD54FWSs1dwo

To claim this, I am signing this object:

@ohayon
ohayon / gist:f6aefd26cfd0ca8f35b1
Created December 7, 2015 22:11
Bundler Error
Environment
Bundler 1.10.6
Rubygems 2.4.5
Ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
Git 2.4.2.740.g0ae71d1-twtrsrc
Gemfile
source 'https://rubygems.org'
### Keybase proof
I hereby claim:
* I am ohwutup on github.
* I am ohayon (https://keybase.io/ohayon) on keybase.
* I have a public key whose fingerprint is A7A6 8AD5 C55C 681B A30F A9D8 0BCF 969E B879 FB41
To claim this, I am signing this object:
@ohayon
ohayon / gist:5657895
Created May 27, 2013 16:22
CocoaPods No matter what I do, changing file extensions, the podspec file, etc. When I run `pod spec lint` it passes validation, but then prints `Unable to read the license file ` twice. Thanks for the help.
~/Code/iOS/AFRedditAPIClient
‣ pod spec lint --verbose master
> AFRedditAPIClient
AFRedditAPIClient (0.0.2) - Analyzing on iOS 5.0 platform.
Analyzing dependencies
Fetching external sources
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import <CoreLocation/CoreLocation.h>
#import "AFJSONRequestOperation.h"
#import <SSToolkit/SSToolkit.h>
@interface DOViewController : UIViewController<CLLocationManagerDelegate, UITableViewDelegate, UITableViewDataSource>{
CLLocationManager* _locationManager;
}