Sommaire
Apply style to IE11 only
Put the style in this media query:
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { // Put CSS here }
Sommaire
Put the style in this media query:
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { // Put CSS here }
Sommaire
Add PYTHONUNBUFFERED=1 in run config or .env (only use .env if you use the plugin). This is meant to immediately view the output …
Sommaire
Useful to have a notification when a long command completes.
To enable it, add zbell to your plugins array if you are using oh-my-zsh or source the definition file.
To configure:
By default there is no editor on Heroku. To get one, you can use the heroku-nano plugin like this (or by installing as a plugin):
mkdir bin
cd bin
curl https://github.com/Ehryk/heroku-nano/raw/master/heroku-nano-2.5.1/nano.tar.gz --location --silent > nano.tar …Use the snippet below to capture and inspect the certificates of a distant site and its chain with requests.
import requests HTTPResponse = requests.packages.urllib3.response.HTTPResponse orig_HTTPResponse__init__ = HTTPResponse.__init__ def new_HTTPResponse__init__(self, *args, **kwargs): orig_HTTPResponse__init__(self, *args, **kwargs …
This will, for instance, allow you to redirect all matching domains to a certain server: dnsmasq will intercept the DNS query and return the ip you specified.
To do this, edit NetworkManager configuration in /etc/NetworkManager/NetworkManager.conf and add in the main section dns=dnsmasq:
[main] dns=dnsmasq
You …
read more