Skip to content

Instantly share code, notes, and snippets.

View reyesvicente's full-sized avatar
🏠
Looking for freelance work

Vicente Reyes reyesvicente

🏠
Looking for freelance work
View GitHub Profile
@reyesvicente
reyesvicente / Gemfile
Created August 9, 2020 16:13 — forked from dhh/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@reyesvicente
reyesvicente / DRF Soft delete mixin
Created June 5, 2021 03:49 — forked from jadhavmanoj/DRF Soft delete mixin
Django Rest Framework (DRF) Soft delete Mixin.
# in DRF DestroyModelMixin delete row. Using Same DELETE method I can soft delete object.
# ex: URL - DELETE https://<hostnam>/api/v1/books/1/
from rest_framework import mixins, permissions, viewsets
from rest_framework.response import Response
from rest_framework import status
class SlSoftDeleteMixin(mixins.DestroyModelMixin):
""" As we are deleting soft"""
---
title:
published: false
description:
series:
cover_image:
tags:
---
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cloudd 410 vgreyes 57u IPv6 0x6ffe5572b525f4af 0t0 TCP *:* (CLOSED)
cloudd 410 vgreyes 68u IPv6 0x6ffe5572b525fb8f 0t0 TCP *:* (CLOSED)
cloudd 410 vgreyes 69u IPv4 0x6ffe5572b52f2477 0t0 TCP *:* (CLOSED)
cloudd 410 vgreyes 99u IPv6 0x6ffe5572aa8966cf 0t0 TCP *:* (CLOSED)
cloudd 410 vgreyes 101u IPv6 0x6ffe5572aa89824f 0t0 TCP *:* (CLOSED)
cloudd 410 vgreyes 102u IPv6 0x6ffe5572aa89892f 0t0 TCP *:* (CLOSED)
cloudd 410 vgreyes 103u IPv6 0x6ffe5572aa89900f 0t0 TCP *:* (CLOSED)
cloudd 410 vgreyes 104u IPv6 0x6ffe5572aa8996ef 0t0 TCP *:* (CLOSED)
cloudd 410 vgreyes 105u IPv6 0x6ffe5572aa899dcf 0t0 TCP *:* (CLOSED)