This code is usable only if you are on Home Assistant 0.114 or older
For Home Assistant 0.115 and newer please go to: https://github.com/AdamNaj/ZWaveGraphHA
This code is usable only if you are on Home Assistant 0.114 or older
For Home Assistant 0.115 and newer please go to: https://github.com/AdamNaj/ZWaveGraphHA
| - name: Compute Vagrant latest version | |
| sudo: yes | |
| shell: wget -qO - https://dl.bintray.com/mitchellh/vagrant/|sed -n 's/.*href=\"\([^"]*\).*/\1/p'|grep x86_64\.deb|tail -1|cut -d'#' -f2 | |
| register: vagrant_file_name | |
| - name: Download Vagrant latest version | |
| shell: "wget https://dl.bintray.com/mitchellh/vagrant/{{ vagrant_file_name.stdout }} -O {{ vagrant_file_name.stdout }}" | |
| args: | |
| chdir: "./bootstrap/files" | |
| creates: "{{ vagrant_file_name.stdout }}" |
| #!/bin/bash | |
| # GUI-related packages | |
| pkgs=" | |
| xserver-xorg-video-fbdev | |
| xserver-xorg xinit | |
| gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base | |
| gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa | |
| gstreamer1.0-libav | |
| epiphany-browser |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| def indent(elem, level=0): | |
| """Add whitespace to xml document to increase readability | |
| elem - root element to start the indention at | |
| level - start level of indention | |
| """ | |
| i = "\n" + level*" " | |
| if len(elem): | |
| if not elem.text or not elem.text.strip(): | |
| elem.text = i + " " |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """Solarized theme for pantheon-terminal | |
| see http://ethanschoonover.com/solarized | |
| """ | |
| import posixpath | |
| import sys | |
| from gi.repository import Gio |
| #!/usr/bin/env python | |
| """ | |
| Simple Python script that combines a folder of pdfs into a single | |
| pdf. By default the pdfs are merged in alphabetical order and | |
| only appear once. To change this create a "list.txt" file in the | |
| directory with the pdfs to merge and list the order of the pdfs | |
| to merge. | |
| Ex list.txt: | |
| doc2.pdf |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <scheme name="Solarized Dark" version="1" parent_scheme="Default"> | |
| <option name="LINE_SPACING" value="1.0" /> | |
| <option name="EDITOR_FONT_SIZE" value="14" /> | |
| <option name="EDITOR_FONT_NAME" value="Consolas" /> | |
| <colors> | |
| <option name="ADDED_LINES_COLOR" value="" /> | |
| <option name="ANNOTATIONS_COLOR" value="2b36" /> | |
| <option name="ANNOTATIONS_MERGED_COLOR" value="" /> | |
| <option name="CARET_COLOR" value="dc322f" /> |