First of all, install OpenCV v2:
$ brew install opencv@2
Then, set build configuration for build (changing OpenCVversion number for the current one):
$ bundle config build.ruby-opencv --with-opencv-lib=/usr/local/Cellar/opencv@2/2.4.13.6_2/lib \
| defmodule MyApp.Scheduler do | |
| @moduledoc """ | |
| Schedules a Mix task to be run at a given interval in milliseconds. | |
| ## Options | |
| - `:task`: The name of the Mix task to run. | |
| - `:args`: A list of arguments to pass to the Mix task's `run/1` function. | |
| - `:interval`: The time interval in millisconds to rerun the task. |
First of all, install OpenCV v2:
$ brew install opencv@2
Then, set build configuration for build (changing OpenCVversion number for the current one):
$ bundle config build.ruby-opencv --with-opencv-lib=/usr/local/Cellar/opencv@2/2.4.13.6_2/lib \
| # So you want switch your HPE H240 controller to HBA mode for use with ESXi or UnRaid? | |
| # online you'll find the follow command for HP controllers, like the P420i. | |
| ssacli controller slot=0 modify hbamode=on | |
| # For me, it was: | |
| ssacli controller slot=255 modify raidmode=off | |
| # while you are at it, you can also switch the power mode: | |
| ssacli controller slot=255 modify powermode=minpower |
| #!/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/ | |
| # Fixed and documented version by Christian Gambardella (https://gambo.io) | |
| # 1. Create a cloudflare account | |
| # 2. Create a zone and a record with any ip address. | |
| # It will be updated by the script. |
| ruby '2.7.1' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
| # Action Text | |
| gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
| gem 'okra', github: 'basecamp/okra' | |
| # Drivers |
| brew install --cask font-cascadia-code | |
| brew install --cask font-cascadia-code-pl | |
| brew install --cask font-cascadia-mono | |
| brew install --cask font-cascadia-mono-pl |
On SuperMicro AS-4124GS-TNR server with ASPEED AST2500 BMC, Proxmox 7.1 installation does not start with "installation aborted" message.
After setting up DHCP and Chrony, Proxmox fails to start the graphical installer and drops into the shell:
...
Starting Chrony for opportunistic time-sync... Starting a root shell on tty3.