Skip to content

Instantly share code, notes, and snippets.

{
"id": 267685466,
"username": "buzova86",
"full_name": "Ольга Бузова",
"biography": "Телеведущая, актриса, дизайнер, певица 🎤👸🏻\nДиректор : Арам \n+7 (919) 771-17-77; \nPR, реклама: Антон \n +7 968 740-74-74 \nНенормальный вайб 🎯 ⬇️",
"business_category_name": null,
"avatar": "https://scontent-sjc3-1.cdninstagram.com/v/t51.2885-19/118975124_3222342581212037_1347381379777699984_n.jpg?_nc_ht=scontent-sjc3-1.cdninstagram.com&_nc_ohc=2hO5333WadMAX9kSb-O&oh=dbbf11f39672d34c64ccbc5840e40b30&oe=5FBAAC75",
"url": "https://band.link/NyFHD",
"is_private": false,
"is_verified": true,
class CommentForm(forms.ModelForm):
class Meta:
model = Comment
fields = ('content',)
def __init__(self, user, post, *args, **kwargs):
self.user = user
self.post = post
super(CommentForm, self).__init__(*args, **kwargs)
{"notifications": {"trustedPartners": 0, "invoices": 0, "opportunities": 3, "connections": 0, "activity": 0,
"calendar": 7, "itTools": 0, "data": 0, "emailTemplates": 1},
"user": {"username": "pinkevich", "_model": "auth.user", "email": "[email protected]", "pk": 6061}, "tags": {"_data": [
{"_model": "captain.tag", "items_count": 4, "name": "test", "created": "2016-09-02T10:29:25", "color": 2,
"color_name": "Green", "get_items": [{"uri": "/all-accounts/6061", "name": "pinkevich"},
{"uri": "/trustedpartners/30",
"name": "AIdAF (Associazione Italiana delle Aziende Familiari)"},
{"uri": "/all-accounts/1395", "name": "aPrl Bnsliaa"},
{"uri": "/all-accounts/22", "name": "aPrl Bnsliaa"}], "pk": 1,
"slug": "test"},
@pinkevich
pinkevich / README.md
Created February 1, 2016 12:55 — forked from Lazza/README.md
VPNGate Python script

vpngate.py

This script allows to use the free VPN service provided by VPNGate in an easy way. The user just needs to provide the desidered output country, and the script automatically chooses the best server.

After this step, OpenVPN is launched with the proper configuration. The VPN can be terminated by pressing Ctrl+C.

Usage

Run the script by providing the desired output country:

@pinkevich
pinkevich / nginx.conf
Last active August 29, 2015 14:26 — forked from vilisov/nginx.conf
nginx.conf and supervisord.conf
user webmaster;
worker_processes 2;
error_log /home/webmaster/logs/nginx/error.log;
pid /run/nginx.pid;
events {
worker_connections 2048;
use epoll;