- Create a 144x144 pixels
favicon.png
from a svg
inkscape -z -e favicon.png -w 144 -h 144 icon.svg
- Convert to
favicon.ico
convert favicon.png -define icon:auto-resize=128,64,48,32,16 favicon.ico
blueprint: | |
name: Light switch for multiple lights | |
description: "## Light switch for multiple lights | |
This automation controls multiple lights with a single light switch. | |
It is tested with the follwoing Zigbee2MQTT devices: | |
#!/bin/bash | |
set -e | |
configfiles=( | |
/etc/kubernetes/kubelet.conf | |
/etc/kubernetes/admin.conf | |
/etc/kubernetes/scheduler.conf | |
/etc/kubernetes/controller-manager.conf | |
) |
favicon.png
from a svginkscape -z -e favicon.png -w 144 -h 144 icon.svg
favicon.ico
convert favicon.png -define icon:auto-resize=128,64,48,32,16 favicon.ico
#!/bin/sh | |
# make sure you have inotify-tools installed: https://github.com/rvoicilas/inotify-tools/wiki | |
# process you want to execute | |
PROCESS="php server.php" | |
# directory you want to watch for modified files | |
SOURCE_PATH=src | |
$PROCESS & |
This script imports a .json.gz
file to BigQuery as a stream without any filesize limitation.
Make sure you have exported an account.json
for authentication in the GCE console or run this script on a GCE server with the right scopes.
Install npm packages:
docker run -it --rm -v $PWD:/app -w /app \
node:6.3 npm install
[alias] | |
co = checkout | |
cm = commit | |
cp = cherry-pick | |
br = branch | |
me = merge | |
rb = rebase | |
st = status | |
sm = submodule | |
lol = log --graph --decorate --pretty=format:'%C(yellow)%h%Creset%C(auto)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --all |