This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
LED audio inputVisualizer for ES8266 | |
Hardware requirements: | |
- ESP8266 or any compatible controller. | |
- Microphone with amplifier | |
- LED strip ws2812b | |
- Optional: battery for portable use (else power through USB or adapter) | |
Software requirements: | |
- Adafruit NeoPixel library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'podstava' | |
from azure.common.credentials import ServicePrincipalCredentials | |
from azure.mgmt.compute import ComputeManagementClient | |
from azure.mgmt.dns import DnsManagementClient | |
from azure.mgmt.network import NetworkManagementClient | |
from azure.mgmt.resource import ResourceManagementClient | |
from azure.mgmt.storage import StorageManagementClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Check if exists postgresql repository | |
if [ ! -f /etc/apt/sources.list.d/pgdg.list ]; then | |
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \ | |
apt-key add - | |
fi |