Skip to content

Instantly share code, notes, and snippets.

Philamer Sune pvsune

Block or report user

Report or block pvsune

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pvsune
pvsune / sample.drone.yml
Created Apr 7, 2019
Drone CI sample caching config
View sample.drone.yml
kind: pipeline
name: default
steps:
- name: publish
image: plugins/ecr
environment:
PLUGIN_STORAGE_DRIVER: overlay2
PLUGIN_CACHE_FROM: xxxxx.dkr.ecr.ap-southeast-1.amazonaws.com/pvsune/myapp:latest
settings:
@pvsune
pvsune / serializers.py
Created Feb 25, 2019
Zapier-Code-Preview
View serializers.py
from django.contrib.contenttypes.models import ContentType
from django.db import transaction
from rest_framework import serializers
from rest_framework.validators import UniqueValidator
from ..models import (
Points,
Product,
ProductTxn,
Txn,
You can’t perform that action at this time.