To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch YOUR_FILE' --prune-empty --tag-name-filter cat -- --all |
docker run -itd —net host -p 0.0.0.0:51826:51826 $(find /dev/snd/ -type c | sed ‘s/^/ — device /’) -v /path/to/homebridge/config/folder/:/root/.homebridge hugoch/rpi-python-homebridge:v1 /root/run_homebridge.sh |
{ | |
"bridge": { | |
"name": "Homebridge", | |
"username": "8A:F8:2A:66:42:92", | |
"port": 51826, | |
"pin": "031-45-154" | |
}, | |
"description": "This is an example configuration file with Phillips Hue platform.", |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import numpy as np | |
import pandas as pd | |
from mpl_toolkits.basemap import Basemap | |
import matplotlib.pyplot as plt | |
from matplotlib.colors import Normalize, LinearSegmentedColormap, PowerNorm |
#!/usr/bin/env python | |
import pandas as pd | |
from gcmap import GCMapper, Gradient | |
# define CSV colum names | |
CSV_COLS = ('dep_lat', 'dep_lon', 'arr_lat', 'arr_lon', 'nb_flights', 'CO2') | |
routes = pd.read_csv('data.csv', names=CSV_COLS, | |
na_values=['\\N'], sep=';', skiprows=1) |
import pandas as pd | |
# define the expected CSV columns | |
CSV_COLS = ('airline', 'dep_lat', 'dep_lon', 'arr_lat', | |
'arr_lon', 'nb_flights', 'route') | |
routes = pd.read_csv(in_filename, names=CSV_COLS, na_values=['\\N'], | |
sep=';', skiprows=1) |