Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| #!/bin/bash | |
| # Cloudflare as Dynamic DNS | |
| # From: https://letswp.io/cloudflare-as-dynamic-dns-raspberry-pi/ | |
| # Based on: https://gist.github.com/benkulbertis/fff10759c2391b6618dd/ | |
| # Original non-RPi article: https://phillymesh.net/2016/02/23/setting-up-dynamic-dns-for-your-registered-domain-through-cloudflare/ | |
| # Update these with real values | |
| auth_email="[email protected]" | |
| auth_key="global_api_key_goes_here" | |
| zone_name="example.com" |
| const request = require('request'); | |
| const actId = "649587005"; | |
| const key = "a0f690d9d62f2c18f4330064e5c6023a38d82e82"; | |
| const apiToken = "ae53b8bc5ecf4f8fac42ee2d808cca89ab2aa4e078c428dbfbf38c55d09a63303cccfbb7"; | |
| function ActiveCampaignConnector(actId, key, apiToken) { | |
| this.actId = actId; | |
| this.key = key; |
| ## List as ROOT object | |
| [ | |
| { | |
| "name": "Christian", | |
| "flowerCount": 1 | |
| }, | |
| { | |
| "name": "Marcus", | |
| "flowerCount": 3 | |
| }, |
| <RelativeLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <TextView | |
| android:id="@+id/lyla_text_view" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_alignParentBottom="true" |
| <LinearLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="vertical" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <ImageView | |
| android:src="@drawable/ocean" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" |
| <LinearLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="horizontal" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:text="Tom" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" |
| <LinearLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="vertical" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:text="Guest List" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" |
| <ImageView | |
| android:src="@drawable/cake" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:scaleType="center"/> |
| <TextView | |
| android:text="Happy Birthday!" | |
| android:background="@android:color/darker_gray" | |
| android:layout_width="150dp" | |
| android:layout_height="150dp" /> |