Skip to content

Instantly share code, notes, and snippets.

View ramakser's full-sized avatar
🏠
Working from home

Maksym Rachytskyy ramakser

🏠
Working from home
  • Solar System, Planet Earth
View GitHub Profile
@ethanhuang13
ethanhuang13 / FacebookAuth.swift
Last active March 28, 2024 08:24
FacebookAuth is for iOS app developers who need to support Facebook login but don't want to use the official SDK
//
// FacebookAuth.swift
// GitHub: ethanhuang13
// Twitter: @ethanhuang13
import AuthenticationServices
import SafariServices
/*
Updated:
From within KeyChain export the following both in p12 format, without giving password:
Apple Development Push Services certificate as cert.p12
primary key under Apple Development Push Services as pkey.p12
In terminal go to the directory where you have exported the certificates and convert the p12 files to pem format and concatenate them as follows:
$ openssl pkcs12 -in pkey.p12 -out pkey.pem -nodes -clcerts
$ openssl pkcs12 -in cert.p12 -out cert.pem -nodes -clcerts
$ cat cert.pem pkey.pem > iphone_ck.pem
@hofmannsven
hofmannsven / README.md
Last active July 16, 2024 01:30
Git CLI Cheatsheet