Skip to content

Instantly share code, notes, and snippets.

View xi1570-krupeshanadkat's full-sized avatar
🍝
The Flutter Spaghetti

Krupesh Anadkat xi1570-krupeshanadkat

🍝
The Flutter Spaghetti
View GitHub Profile
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
final String appTitle = 'Xebia IT Architects';
@xi1570-krupeshanadkat
xi1570-krupeshanadkat / python_heroku.MD
Created July 16, 2020 14:44 — forked from bradtraversy/python_heroku.MD
Python & Postgres Heroku Deployment

Python Heroku Deployment

Steps to create a postgres database and deply a Python app to Heroku

Install guinicorn locally

pipenv install gunicorn
or
pip install gunicorn
@xi1570-krupeshanadkat
xi1570-krupeshanadkat / version-check.dart
Created May 31, 2020 12:26 — forked from naumanahmed19/version-check.dart
Flutter Force Update IOS and Android App Version
//Prompt users to update app if there is a new version available
//Uses url_launcher package
import 'package:url_launcher/url_launcher.dart';
const APP_STORE_URL =
'https://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftwareUpdate?id=YOUR-APP-ID&mt=8';
const PLAY_STORE_URL =
'https://play.google.com/store/apps/details?id=YOUR-APP-ID';
@xi1570-krupeshanadkat
xi1570-krupeshanadkat / repo-reset.md
Created May 27, 2020 04:12 — forked from heiswayi/repo-reset.md
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A