This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from flask import Flask,json,jsonify | |
| import requests | |
| app = Flask(__name__) | |
| @app.route("/<options>") | |
| def getdata(options): | |
| url="https://gist.githubusercontent.com/mshafrir/2646763/raw/8b0dbb93521f5d6889502305335104218454c2bf/states_titlecase.json" | |
| if options=="codes": | |
| url="https://gist.githubusercontent.com/mshafrir/2646763/raw/8b0dbb93521f5d6889502305335104218454c2bf/states_hash.json" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM tiangolo/uwsgi-nginx-flask:python3.6 | |
| # copy over our requirements.txt file | |
| COPY requirements.txt /tmp/ | |
| # upgrade pip and install required python packages | |
| RUN pip install -U pip | |
| RUN pip install -r /tmp/requirements.txt | |
| # copy over our app code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from flask import Flask,request | |
| import requests | |
| import json | |
| app = Flask(__name__) | |
| @app.route("/codetostate") | |
| def getstate(): | |
| code = request.args.get('code') | |
| url="http://dataservice.default.svc.cluster.local/codes" | |
| response = requests.get(url) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.app.Notification; | |
| import android.app.NotificationChannel; | |
| import android.app.NotificationManager; | |
| import android.app.Service; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.hardware.Sensor; | |
| import android.hardware.SensorEvent; |
| Criteria | Suggestic White-Label | Tailored Solution |
|---|---|---|
| Time to Launch | 6+ months* – Requires full development cycle | |
| Initial Investment | ✅ Low – Subscription-based, no dev team needed | designers, devs, infrastructure |
| Operational Fit | ❌ Lacks kitchen, inventory, delivery & CRM modules | ✅ Fully cust |
OlderNewer