This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F: No installations directory in /etc/flatpak/installations.d. Skipping | |
F: Opening system flatpak installation at path /var/lib/flatpak | |
F: Opening user flatpak installation at path /home/mirek/.local/share/flatpak | |
F: Opening user flatpak installation at path /home/mirek/.local/share/flatpak | |
F: Opening system flatpak installation at path /var/lib/flatpak | |
F: Skipping parental controls check for app/us.zoom.Zoom/x86_64/stable since parental controls are disabled globally | |
F: Opening user flatpak installation at path /home/mirek/.local/share/flatpak | |
F: Opening system flatpak installation at path /var/lib/flatpak | |
F: /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/23.08/0a3508e2e09c748e207965e0c0e25a52e6ae77716230be986cbbfb4b29295eb5/files/lib32 does not exist | |
F: Cleaning up unused container id 1413666143 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Running user data on EC2 instance during every boot (default is that it runs only on first boot during instance launch): | |
# Add the following tag to user data: | |
# <persist>true</persist> | |
# Example: | |
<script>net start codedeployagent</script> | |
<persist>true</persist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Customise this file, documentation can be found here: | |
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs | |
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md | |
# can also be listed using the `fastlane actions` command | |
# Change the syntax highlighting to Ruby | |
# All lines starting with a # are ignored when running `fastlane` | |
# If you want to automatically update fastlane if a new version is available: | |
# update_fastlane |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Suspend an auto scaling group's scaling processes that can interfere with CodeDeploy deploys. | |
It assumes a single ASG per deployment group. | |
To use this: | |
* create a lambda function with this code, then hook up it up to an SNS topic that receives all deployment events (but not host events). | |
* attach that topic as a trigger in your deployment groups. | |
Unlike AWS's in-appspec approach, this supports arbitrary deploy concurrency. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# This script reads rabbitmq statistics and report them as CloudWatch metrics. | |
# Author: Mirek Svoboda | |
# Version: 0.3 | |
# TABSTOP=4 | |
# | |
# Changelog: | |
# 0.3 | |
# -- increasing number of AWS CLI calls from 3 to 5. We have added RabbitMQ queues and then hit a limit of 20 datapoints. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Original URL of this script and related article: https://blogs.msdn.microsoft.com/mattn/2012/04/25/calculating-read_only_routing_url-for-alwayson/ | |
-- Script formatting is seriously broken at original location | |
-- | |
-- Read-only routing url generation script. | |
-- Connect to each replica in your AlwaysOn cluster and run this script to get the read_only_routing_url for the replica. | |
-- Then set this to the read_only_routing_url for the availability group replica => | |
-- alter availability group MyAvailabilityGroup modify replica on N’ThisReplica’ with (secondary_role(read_only_routing_url=N'<url>’)) | |
print 'Read-only-routing url script v.2012.1.24.1' | |
print 'This SQL Server instance version is [' + cast(serverproperty('ProductVersion') as varchar(256)) + ']' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<powershell> | |
# Comment: EC2config service executes user data upon boot, if configured to do so. | |
# EC2config log is available at: C:\Program Files\Amazon\Ec2ConfigService\Logs\Ec2ConfigLog.txt | |
mkdir "c:\datadog\download" | |
Set-Location "c:\datadog\download" | |
Read-S3Object -BucketName ddagent-windows-stable -Key ddagent-cli.msi -File c:\datadog\download\ddagent-cli.msi | |
& msiexec --% /qn /i c:\datadog\download\ddagent-cli.msi APIKEY="abcdefghijklmnopqrstuvwxyz123456" TAGS="environment:production" | |
</powershell> |