I hereby claim:
- I am zeroows on github.
- I am zeroows (https://keybase.io/zeroows) on keybase.
- I have a public key ASBPKNsPnNjBOWkQbpcjRbrt-3CgfYCrZ_E6A0xaP7y3xgo
To claim this, I am signing this object:
defmodule HelloServer do | |
use GenServer | |
## Server API | |
def init(initial_value) do # initiating the state with the value 1 passed | |
{:ok,initial_value} | |
end | |
# add the value to the state and returns :ok | |
def handle_call({:add,value},_from,state) do |
cmake -D CMAKE_BUILD_TYPE=RELEASE \ | |
-D CMAKE_INSTALL_PREFIX=/usr/local \ | |
-D INSTALL_PYTHON_EXAMPLES=ON \ | |
-D INSTALL_C_EXAMPLES=OFF \ | |
-D OPENCV_EXTRA_MODULES_PATH='~/Downloads/opencv/opencv_contrib-3.4.2/modules/' \ | |
-D PYTHON3_INCLUDE_DIR='~/anaconda3/envs/tf/include/python3.6m' \ | |
-D PYTHON_EXECUTABLE='~/anaconda3/envs/tf/bin/python' \ | |
-D PYTHON3_LIBRARY='~/anaconda3/envs/tf/lib/libpython3.6m.so' \ | |
-D PYTHON3_PACKAGES_PATH='~/anaconda3/envs/tf/lib/python3.6/site-packages' \ | |
-D PYTHON3_NUMPY_INCLUDE_DIRS='~/anaconda3/envs/tf/lib/python3.6/site-packages/numpy/core/include' \ |
I hereby claim:
To claim this, I am signing this object:
rules_version = '2'; | |
service cloud.firestore { | |
match /databases/{database}/documents { | |
match /shoppinglist/{lists} { | |
function isSignedIn() { | |
return request.auth != null; | |
} | |
function isEmailVerified() { | |
return request.auth.token.email_verified != false; | |
} |
import string | |
CHARS = {c: str(ord(c) % 55) for c in string.ascii_uppercase} | |
BANK = { | |
'Al Bilad Bank': '15', | |
'Al Inma Bank': '05', | |
'Al Jazira Bank': '60', | |
'Al Rajhi Bank': '80', | |
'Alawwal Bank': '50', |
from flask import Flask, jsonify, request | |
from waitress import serve | |
import logging | |
logger = logging.getLogger('waitress') | |
logger.setLevel(logging.INFO) | |
app = Flask(__name__) |
FROM ubuntu:latest | |
WORKDIR /app | |
COPY gcloud_configs/config_firebase_adminsdk_file.json . | |
RUN apt update 2>/dev/null && apt install curl -y | |
RUN curl -o firebase -L --progress-bar https://firebase.tools/bin/linux/latest | |
RUN chmod +rx firebase |