Skip to content

Instantly share code, notes, and snippets.

View GeyseR's full-sized avatar

Sergey Fursov GeyseR

View GitHub Profile
#coding=utf-8
from __future__ import unicode_literals
from bs4 import BeautifulSoup
import urlparse
import re
import requests
import socket
import time
DELAY = 0.001
@GeyseR
GeyseR / py codestyle clarification
Last active September 1, 2020 10:16 — forked from dcramer/args.py
Python Standards(that I would change and enforce if I could)
# file for git rename
@GeyseR
GeyseR / gist:363b4b9d2d1cd8c91d51ebfe9369a7ac
Last active November 17, 2018 11:45
Char field IExact Index
from django.db.backends.ddl_references import (
Columns, IndexName, Statement, Table,
)
from django.db.backends.utils import split_identifier
from django.db import models
class UpperColumns(Columns):
def __init__(self, *args, optclass='', **kwargs):
self.optclass = optclass