SVG Circular Progress CSS Animated Angle Gradient
By Pouya Saadeghi
Forked from Pouya Saadeghi (پویا صادقی)'s Pen SVG circular progress: CSS animated & Angle gradient .
SVG Circular Progress CSS Animated Angle Gradient
By Pouya Saadeghi
Forked from Pouya Saadeghi (پویا صادقی)'s Pen SVG circular progress: CSS animated & Angle gradient .
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
On my Macbook Pro (OS X El Capitan) I was having issues on Electron based apps. These apps had visual issues/glitches like blank screens, visual components showing only when hovering or transparent menus.
By opening with these comands, the problems disappeared.
open /Applications/Slack.app/ --args --disable-gpu
open /Applications/Trello.app/ --args --disable-gpu
open /Applications/Whatsapp.app/ --args --disable-gpu
# 1) Create a middlewares/middlewares.py file and copy this: | |
import threading | |
class RequestMiddleware: | |
def __init__(self, get_response, thread_local=threading.local()): | |
self.get_response = get_response | |
self.thread_local = thread_local | |
# One-time configuration and initialization. |
$ python -c 'import random; print "".join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)])' |
# ... | |
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
root html; | |
index index.html index.htm; | |
} |
>>> import pytz | |
>>> | |
>>> for tz in pytz.all_timezones: | |
... print tz | |
... | |
... | |
Africa/Abidjan | |
Africa/Accra | |
Africa/Addis_Ababa | |
Africa/Algiers |
from django.http import HttpResponseRedirect | |
from django.core.exceptions import PermissionDenied | |
from django.urls import reverse | |
from django.shortcuts import render | |
from django.shortcuts import redirect | |
def role_required(allowed_roles=[]): | |
def decorator(view_func): | |
def wrap(request, *args, **kwargs): |