See https://kamilbrk.github.io/headunits and Android Automotive Headunits Discord.
| -- *Fixed version of JosefB87 for OpenTX 2.2.4 | |
| -- | |
| -- *Fixed version of wkochFPV for BF 3.5 | |
| -- Original: https://github.com/betaflight/betaflight/issues/3094#issuecomment-302953603 | |
| -- Note: If you put it on a 3-way switch and go from first to third position fast it may not register correctly so better step through slowly | |
| -- | |
| -- *Changes: | |
| -- Changed played soundfiles using new soundfile naming pattern since Open TX 2.2.4 | |
| -- Corrected loading of dependencies | |
| -- Shortened filename to make it compatible with latest opentx restrictions |
| #!/bin/bash | |
| # This script will help you setup Docker for TLS authentication. | |
| # Run it passing in the arguement for the FQDN of your docker server | |
| # | |
| # For example: | |
| # ./create-docker-tls.sh myhost.docker.com | |
| # | |
| # The script will also create a profile.d (if it exists) entry | |
| # which configures your docker client to use TLS | |
| # |
I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.
I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...
| #!/bin/bash | |
| #title :wildfly-install.sh | |
| #description :The script to install Wildfly 10.x | |
| #more :http://sukharevd.net/wildfly-8-installation.html | |
| #author :Dmitriy Sukharev | |
| #date :2016-06-18T02:45-0700 | |
| #usage :/bin/bash wildfly-install.sh | |
| #tested-version1 :10.0.0.CR3 | |
| #tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22 | |
| #tested-version2 :10.0.0.Final |
I didn't have a great time trying to implement a simple feature involving Google Analytics in one of my projects (nodejs web application).
My humble requirement was to collect some data (events) I was pushing to Google Analytics in order to create a simple report for my users. Since it isn't a critical report, my idea was to get the data once a day and cache it.
So, as simple as it seems, it has been a tough trip for me and I want to share the whole process with the community. I hope anyone trying to achive something similar gets to this article and find it helpful.
These are the main steps I had to take:
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |