Skip to content

Instantly share code, notes, and snippets.

View vinod1988's full-sized avatar
💭
OpenToWork

Vinod Vishwakarma vinod1988

💭
OpenToWork
View GitHub Profile
@vinod1988
vinod1988 / Android Privacy Policy Template
Created September 10, 2018 05:08 — forked from alphamu/Android Privacy Policy Template
A template for creating your own privacy policy for Android apps. Look for "[" and "<!--" to see where you need to edit this app in order to create your own privacy olicy.
<html>
<body>
<h2>Privacy Policy</h2>
<p>[Individual or Company Name] built the [App Name] app as a [open source | free | freemium | ad-supported | commercial] app. This SERVICE is provided by [Individual or company name] [at no cost] and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding [my|our] policies with the collection, use, and
disclosure of Personal Information if anyone decided to use [my|our] Service.</p>
<p>If you choose to use [my|our] Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that [I|we] collect are used for providing and
improving the Service. [I|We] will not use or share your information with anyone except as described
@vinod1988
vinod1988 / p12_pem
Last active December 19, 2019 12:26
Create p12 to PEM for iOS Push Notification
Creating .pem file for APNS?
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
import 'dart:math';
void main() {
loveCalculator();
}
void loveCalculator() {
@vinod1988
vinod1988 / gist:826d11152af86f16f4b0096e8cdf871d
Last active February 22, 2021 11:49
Physical iPad Devices Width & Height
iPad
H=1024.0
W=768.0
iPad Air (4th Generation)
H=1180.0
W=820.0
iPad Mini (4th Generation)