Skip to content

Instantly share code, notes, and snippets.

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

Nilesh Singh n1lesh

🏠
Working from home
View GitHub Profile
@n1lesh
n1lesh / AndroidManifest.xml
Created June 12, 2017 11:00
Sample Code for Push Notifications (FCM) on Android
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mynotificationsapp.android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
@n1lesh
n1lesh / NodeHTTPs1.js
Last active October 19, 2019 14:32
HTTPs Server with Node.js and Express
var express = require('express');
var app = express();
var fs = require('fs');