$ tar -xvf vmName.ova$ vi vmName.ovf| #!/usr/bin/env python | |
| """ | |
| Send random notes to the output port. | |
| """ | |
| from __future__ import print_function | |
| import sys | |
| import time | |
| import random | |
| import mido | |
| import threading |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on July 7 2020 | |
| @author: Pete Midi | |
| """ | |
| import mido | |
| import numpy as np |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Sat Sep 7 20:13:16 2019 | |
| @author: Pete Midi | |
| """ | |
| # basic code for "Neutron goes HydraSynth: poly pressure wave-morphing special" (https://www.youtube.com/channel/PeteMidi) | |
| import mido |
| --- | |
| # This task just includes everything else we need | |
| - include_role: | |
| # a task to install nodejs from Nodesource's distros | |
| name: nodejs | |
| - include_role: | |
| # a task to install nginx | |
| name: web | |
| # everything below here is in this gist | |
| - include: prerequisites.yml |
| # encoding: UTF-8 | |
| require 'optparse' | |
| require 'net/http' | |
| require 'json' | |
| def parse_options(argv) | |
| opts = {} | |
| @parser = OptionParser.new do |o| |
| <link href='https://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'> | |
| #stars | |
| #stars2 | |
| #stars3 | |
| #title | |
| %span | |
| PURE CSS | |
| %br | |
| %span | |
| PARALLAX PIXEL STARS |
| #!/usr/bin/env python | |
| ''' | |
| Send an multipart email with HTML and plain text alternatives. The message | |
| should be constructed as a plain-text file of the following format: | |
| From: Your Name <your@email.com> | |
| To: Recipient One <recipient@to.com> | |
| Subject: Your subject line | |
| --- |
| ## credit: http://fabian-affolter.ch/blog/the-lineinfile-module-of-ansible/ | |
| --- | |
| - hosts: alpine_install | |
| user: root | |
| tasks: | |
| # - name: create a complete empty file | |
| # command: /usr/bin/touch /test/test.conf | |
| - name: create a new file with lineinfile |
| --- | |
| # ^^^ YAML documents must begin with the document separator "---" | |
| # | |
| #### Example docblock, I like to put a descriptive comment at the top of my | |
| #### playbooks. | |
| # | |
| # Overview: Playbook to bootstrap a new host for configuration management. | |
| # Applies to: production | |
| # Description: | |
| # Ensures that a host is configured for management with Ansible. |