Source: https://blog.php-systems.com/beagle-cam-v2-and-home-assistant/
The Stream url is:
rtsp://<username>:<password>@<ip or fqdn>:554/1
Source: https://blog.php-systems.com/beagle-cam-v2-and-home-assistant/
The Stream url is:
rtsp://<username>:<password>@<ip or fqdn>:554/1
In case your .gitlab-ci.yaml file has reference for custom docker registry and you get an error
ERROR: Preparation failed: failed to pull image "registry.example.io/foo/dev-base:22.0.2" with specified policies [always]: Error response from daemon: Get https://registry.example.io/v2/foo/dev-base/manifests/0.0.2: denied: access forbidden (manager.go:205:0s)
gitlab-runner exec docker deploy:foo --env DOCKER_AUTH_CONFIG="{\"auths\":{\"registry.example.io\":{\"auth\":\"AUTH_KEY\"}}}"
docker run --rm -it --name dcv -v ${PWD}:/input pmsipilot/docker-compose-viz render -m image docker-compose.yml --output-file=achmea.techday.png --force
Links:
find -printf '%M %m %p\n'
drwxrwxr-x 775 . dr--r--r-- 444 ./ro-folder-single-rw-non-image -rw-rw-rw- 666 ./ro-folder-single-rw-non-image/audio1.mp3 dr--r--r-- 444 ./ro-folder-single-ro-image -r--r--r-- 444 ./ro-folder-single-ro-image/250x250.jpg dr--r--r-- 444 ./ro-folder-single-ro-non-image -r--r--r-- 444 ./ro-folder-single-ro-non-image/audio1.mp3 drwxrwxr-x 775 ./rw-folder-single-rw-image -rwxr-xr-x 755 ./rw-folder-single-rw-image/250x250.jpg dr--r--r-- 444 ./ro-folder-single-rw-image -rw-rw-rw- 666 ./ro-folder-single-rw-image/250x250.jpg drwxrwxr-x 775 ./rw-folder-single-rw-non-image -rwxr-xr-x 755 ./rw-folder-single-rw-non-image/audio1.mp3
zipinfo createdTestData.zip
drwxr-xr-x 2.0 unx 0 bl defN 20-Oct-22 18:16 mixed_types/ -rwxr-xr-x 2.0 unx 4431 bl defN 20-Oct-22 18:16 mixed_types/foo.jpg -rwxr-xr-x 2.0 unx 4431 bl defN 20-Oct-22 18:16 rw-folder-rw-file/foo.jpg -rw-rw-rw- 2.0 unx 4431 bl defN 20-Oct-22 18:16 ro-folder-rw-file/foo.jpg dr--r--r-- 2.0 unx 0 bl defN 20-Oct-22 18:16 ro-folder-rw-file/ drwxr-xr-x 2.0 unx 0 bl defN 20-Oct-22 18:16 rw-folder-ro-file/ -rw-rw-rw- 2.0 unx 4431 bl defN 20-Oct-22 18:16 rw-folder-ro-file/foo.jpg -r--r--r-- 2.0 unx 4431 bl defN 20-Oct-22 18:16 ro-folder-ro-file/foo.jpg dr--r--r-- 2.0 unx 0 bl defN 20-Oct-22 18:16 ro-folder-ro-file/
sudo apt install webp
img2webp -d 1000 image_01.png image_02.png -o image_animated.webp
Source: https://www.tecmint.com/convert-images-to-webp-format-in-linux/
document.getElementsByTagName('video')[0].playbackRate = 1.5;function injectIbanValidation() { var ibanPlaceholder = document.getElementById('iban_placeholder'); var ibanInput = '<input type="text" ng-model="iban" ng-iban/>'; //emulate html injection in ibanPlaceholder.innerHTML = ibanInput; var ibanElement = ibanPlaceholder.querySelector('input'); /** * inject angular component magic */ var $injector = angular.injector(['ng', 'mpb.app', ['$provide', function($provide) { var $rootElement = angular.element(document.querySelector('body')); console.log('$rootElement', $rootElement); $provide.value('$rootElement', $rootElement); }]]); if (ibanInput) { $injector.invoke(['$rootScope', '$compile', function($rootScope, $compile) { console.log('invoke', $rootScope, $compile); $compile(angular.element(ibanInput))($rootScope); }]) } }
#!/usr/bin/env bash echo "My public IP:$(curl -s ipinfo.io/ip)" ZONE_NAME='example-com'DOMAIN_NAME='somefacysubdomain.example.com.'
gcloud dns record-sets transaction abort -z=$ZONE_NAME
gcloud dns record-sets transaction start -z=$ZONE_NAME
#show current A record
gcloud dns record-sets list --zone $ZONE_NAME --name "$DOMAIN_NAME" --type=A #remove old record
OLD_IP=$(gcloud dns record-sets list --zone $ZONE_NAME --name "$DOMAIN_NAME" --type=A | sed -n 2p | awk '{print $4}') gcloud dns record-sets transaction remove -z=$ZONE_NAME \ --name="$DOMAIN_NAME" \ --type=A \ --ttl=300 "$OLD_IP" #add new record
gcloud dns record-sets transaction add -z=$ZONE_NAME \ --name="$DOMAIN_NAME" \ --type=A \ --ttl=300 "$(curl -s ipinfo.io/ip)"
#check incoming changes
gcloud dns record-sets transaction describe -z=$ZONE_NAME
#make changes
gcloud dns record-sets transaction execute -z=$ZONE_NAME
#display updated DNS records
gcloud dns record-sets list --zone $ZONE_NAME
Fatal error: Class 'Mage_Adminhtml_Helper_Help_Mapping' not found
Solution: set proper rights to the parent folder app/code/core/Mage/Adminhtml/Helper/Help
chmod a+x app/code/core/Mage/Adminhtml/Helper/Help
chmod a+r app/code/core/Mage/Adminhtml/Helper/Help
SELECT
table_schema as `Database`,
table_name AS `Table`,
round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB`
FROM information_schema.TABLES
ORDER BY (data_length + index_length) DESC;
exec $@
exec "$@"

<blocks> <some_widgets> <rewrite> <adminhtml_some_info>ClassName </adminhtml_some_info>
</some_widgets> </blocks>
<blocks> <some_widgets> <rewrite> <adminhtml_some_info>ClassName</adminhtml_some_info></some_widgets> </blocks>