Skip to content

Instantly share code, notes, and snippets.

View dpr-dev's full-sized avatar
🏠
Working from home

Arthur Irgashev dpr-dev

🏠
Working from home
View GitHub Profile
@dpr-dev
dpr-dev / cleanup-objbin.ps1
Created August 19, 2023 19:43 — forked from xtrmstep/cleanup-objbin.ps1
PowerShell script to delete all \bin and \obj folders
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse }
@dpr-dev
dpr-dev / gist:a9bf26f43a142c2f49230da9f21526b7
Created September 16, 2022 19:12 — forked from daominhsangvn/gist:f2d369ab4aafe9783e96fbe05285cfbd
Push Notifications in React-Native with FireBase
  1. Add new App in Firebase Console, select iOS and follow exactly instruction. 1a. In the GoogleService-Info.plist step, after download the file, open xCode, in Project Navigator right click Supporting folder and select Add files to ... then select the downloaded file.
  2. Following this to create App Id, APNs (.p8) and Provisioning Profile for iOS: https://firebase.google.com/docs/cloud-messaging/ios/certs 2a. Add APN file (.p8) to Firebase App
  3. Edit Podfile, add following below pod 'Firebase/Core': pod 'Firebase/Messaging' then $ pod install again
  4. Install react-native-fcm module then rnpm link react-native-fcm
  5. Following this https://github.com/evollu/react-native-fcm#shared-steps and this https://github.com/evollu/react-native-fcm#xcode-post-installation-steps
  6. Write Component to handle Push Notifications:
# main.js
@dpr-dev
dpr-dev / README-Template.md
Created November 17, 2017 13:01 — forked from PurpleBooth/README-Template.md
A template to make good README.md

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.

Prerequisites

@dpr-dev
dpr-dev / README.md
Created September 25, 2017 07:05 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@dpr-dev
dpr-dev / Sublime Text 3 Build 3103 License Key - CRACK
Created July 16, 2017 10:37
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04