Skip to content

Instantly share code, notes, and snippets.

View pbnkp's full-sized avatar
💭
Endlessly working like a little OinK🐽🐽

pbnkp pbnkp

💭
Endlessly working like a little OinK🐽🐽
  • 03:48 (UTC -07:00)
View GitHub Profile
//
// GenrericNetworkCallViewController.swift
// Medium Tutorials
//
// Created by Mukesh Shakya on 2/4/20.
// Copyright © 2020 MukY. All rights reserved.
//
import UIKit
//
// NetworkCallViewController.swift
// Medium Tutorials
//
// Created by Mukesh Shakya on 2/4/20.
// Copyright © 2020 MukY. All rights reserved.
//
import UIKit
//
// UIViewController+Extension.swift
// Medium Examples
//
// Created by Mukesh Shakya on 2/4/20.
// Copyright © 2020 MukY. All rights reserved.
//
extension UIViewController {
//
// PasswordTextField.swift
// Medium Examples
//
// Created by Mukesh Shakya on 4/10/20.
// Copyright © 2020 MukY. All rights reserved.
//
import UIKit
@muk-y
muk-y / NotificationService.swift
Created April 17, 2020 05:06
The class which will download the image and save it to disk
//
// NotificationService.swift
// NotificationService
//
// Created by Mukesh Shakya on 4/8/20.
// Copyright © 2020 MukY. All rights reserved.
//
import UserNotifications
@shahdhiren
shahdhiren / P12toPEM.txt
Created September 9, 2016 14:57
Convert P12 file for Push Notification to PEM format
Development Phase:
Step 1: Create Certificate .pem from Certificate .p12
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
Step 2: Create Key .pem from Key .p12
Command : openssl pkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-key.p12
Step 3: Optional (If you want to remove pass phrase asked in second step)
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem