This guide will walk you through setting up Cloudflared on your system.
You need to have administrative (sudo) access to your system.
Here are the steps to install Cloudflared.
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: apache-server | |
| labels: | |
| app: apache-server | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
| import com.cloudbees.hudson.plugins.folder.Folder | |
| import hudson.FilePath | |
| import jenkins.model.Jenkins | |
| def boolean isFolder(String name) { | |
| def item = Jenkins.instance.getItemByFullName(name) | |
| return item instanceof Folder | |
| } | |
| def deleteUnusedWorkspace(FilePath root, String path, Boolean dryRun) { |
UPDATE: 29-07-2023 - use native method for Amazon Linux 2023 at https://docs.docker.com/engine/install/centos/
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
| // Simple appproach for merging with subset of properties from json oject. | |
| // Default Properties | |
| const default_rolestudio = { | |
| portal_name: 'Role Studio', | |
| rolename_maxwidth: 200, | |
| nested_property1: {value1: 30, value2: 20}, | |
| nested_property2: {value1: 30, value2: 20} | |
| }; | |
| // Custom Properties |
| Name Vendor Architecture Repository Boards Manager URL Repository Data Folder Branch Name Notes | |
| Adafruit AVR Boards adafruit avr https://github.com/adafruit/Adafruit_Arduino_Boards https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master | |
| Adafruit nRF52 adafruit nrf52 https://github.com/adafruit/Adafruit_nRF52_Arduino https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master | |
| Adafruit SAMD Boards adafruit samd https://github.com/adafruit/ArduinoCore-samd https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master | |
| Adafruit TeeOnArdu TeeOnArdu avr https://github.com/adafruit/TeeOnArdu https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master | |
| Adafruit WICED adafruit wiced https://github.com/adafruit/Adafruit_WICED_Arduino https://adafruit.github.io/arduino-board-index/package_adafruit_index.json / master | |
| Adelino AVR Boards adelino avr https://github.com/neoautus/Adelino http://cdn.adelino.cc/downloads/packag |
Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:
| test |
| /* | |
| * Arduino Wireless Communication Tutorial | |
| * Example 1 - Receiver Code | |
| * | |
| * Library: TMRh20/RF24, https://github.com/tmrh20/RF24/ | |
| */ | |
| #include <SPI.h> | |
| #include <nRF24L01.h> | |
| #include <RF24.h> | |
| RF24 radio(7, 8); // CE, CSN |