Skip to content

Instantly share code, notes, and snippets.

View qwexvf's full-sized avatar

Marcelo Higa qwexvf

  • Tokyo, Japan
  • 19:10 (UTC +09:00)
View GitHub Profile
@qwexvf
qwexvf / Dockerfile
Created September 19, 2018 12:15
Simple docker-compose for nodejs project
# create a folder called docker and insode create another folder called node then put this file in there.
# note: change the node version the your preferred one.
FROM node:10
WORKDIR /app
# you may also want to change the location of package.json
COPY . /app/
RUN npm i
@qwexvf
qwexvf / docker-compose.yml
Created September 19, 2018 07:35
simple docker-compose postgresql
version: '3'
services:
datastore:
image: busybox
volumes:
- db_data:/var/lib/psql
postgresql:
image: postgres
environment:
POSTGRES_USER: username

Keybase proof

I hereby claim:

  • I am qwexvf on github.
  • I am qwexvf (https://keybase.io/qwexvf) on keybase.
  • I have a public key whose fingerprint is 1FEE E9CD 2ED2 0477 5BBA 1720 B884 5784 F4D2 4CE6

To claim this, I am signing this object:

@qwexvf
qwexvf / app.py
Created October 17, 2017 07:17
Python Steam Login
from flask import Flask, redirect
from urllib import parse
import requests
import json
app = Flask(__name__)
@app.route('/')
def hello_world():
steam_openid_url = 'https://steamcommunity.com/openid/login'