Skip to content

Instantly share code, notes, and snippets.

@isnotempty
isnotempty / proxy_cheker.py
Created September 3, 2019 21:58 — forked from SakuradaJun/proxy_cheker.py
Twisted proxy checker
# -*- coding: utf-8 -*-
from pprint import pformat
from urllib2 import _parse_proxy
from twisted.python.log import err
from twisted.web.client import ProxyAgent
from twisted.internet import reactor
from twisted.internet.defer import Deferred
from twisted.internet.protocol import Protocol
from twisted.internet.endpoints import TCP4ClientEndpoint
@isnotempty
isnotempty / bootstrap-3-vert-offset-shim.css
Created August 25, 2019 06:48 — forked from erobert17/bootstrap-3-vert-offset-shim.css
Adds a vertical offset top and bottom to Bootstrap 3 to be used within columns. Currently no vertical offset is available as standard in Bootstrap 3.
/*
Include this after bootstrap.css. Add class of
vert-offset-top-value or vert-offset-bottom-value
to your Bootstrap 3 default rows to prevent row content
from touching the row content above or below.
*/
/* Vertical Offset Bottom */
.vert-offset-top-12{
margin-top: 12em;
FROM php:7.0.4-fpm
RUN apt-get update && apt-get install -y libmcrypt-dev \
mysql-client libmagickwand-dev --no-install-recommends \
&& pecl install imagick \
&& docker-php-ext-enable imagick \
&& docker-php-ext-install mcrypt pdo_mysql