Skip to content

Instantly share code, notes, and snippets.


Prince desi-programmer

View GitHub Profile
desi-programmer / AndroidManifest.xml
Created Dec 10, 2021
Some possible Permission for android
View AndroidManifest.xml
<manifest xmlns:android=""
Internet permissions do not affect the `permission_handler` plugin, but are required if your app needs access to
the internet.
<uses-permission android:name="android.permission.INTERNET"/>
desi-programmer / config.cson
Created Sep 10, 2021
Configuration for Different Code Editors. config.cson is for Atom
View config.cson
telemetryConsent: "no"
themes: [
defaultFontSize: 18
fontFamily: "FantasqueSansMono NF,Menlo, Consolas, DejaVu Sans Mono, monospace"
desi-programmer / api.js
Last active Sep 5, 2021
Simple Code Files for Flutter Node JS Pagination
View api.js
const express = require('express');
const router = express.Router();
const Ideas = require('../model/ideas');
// The Idea Model for reference
// const mongoose = require('mongoose');
// const ideaSchema = new mongoose.Schema({
// owned : {
desi-programmer / index.js
Created Aug 30, 2021
Node JS Express JS Sending Streamed Response
View index.js
const express = require('express');
const cors = require('cors');
const app = express();
app.use(express.json({ extended: true }));
// use browser to see the response
app.get('/stream', (req, res) => {
res.setHeader('Content-Type', 'application/json; charset=utf-8');