Skip to content

Instantly share code, notes, and snippets.

View faizanbashir's full-sized avatar
🏠
Working from Home

Faizan Bashir faizanbashir

🏠
Working from Home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am faizanbashir on github.
  • I am faizanbashir (https://keybase.io/faizanbashir) on keybase.
  • I have a public key ASCXjoIMAR2wORQHl7GIn5ZDQ6mXzIs2ErevqoMdC_iEUAo

To claim this, I am signing this object:

FROM alpine:latest
LABEL MAINTAINER="Faizan Bashir <faizan.ibn.bashir@gmail.com>"
# Linking of locale.h as xlocale.h
# This is done to ensure successfull install of python numpy package
# see https://forum.alpinelinux.org/comment/690#comment-690 for more information.
WORKDIR /var/www/
FROM alpine:latest
LABEL MAINTAINER="Faizan Bashir <faizan.ibn.bashir@gmail.com>"
# Linking of locale.h as xlocale.h
# This is done to ensure successfull install of python numpy package
# see https://forum.alpinelinux.org/comment/690#comment-690 for more information.
WORKDIR /var/www/
@faizanbashir
faizanbashir / python-ses-dynamodb-handler.py
Created June 17, 2018 15:50
The handler file for python ses dynamdb tutorial
import boto3
from botocore.exceptions import ClientError
import json
import os
import time
import uuid
import decimal
client = boto3.client('ses')
sender = os.environ['SENDER_EMAIL']
@faizanbashir
faizanbashir / docker-compose.yml
Last active November 20, 2022 16:11
Voting-app
version: "3"
services:
vote:
build: ./vote
command: python app.py
volumes:
- ./vote:/app
ports:
- "5000:80"