Month: August 2019

C# WPF run a function every second

To run a function every second use the DispatcherTimer Class https://docs.microsoft.com/en-us/dotnet/api/system.windows.threading.dispatchertimer?redirectedfrom=MSDN&view=netframework-4.8 DispatcherTimer will tick evey second calling dispatcherTimer_Tick. You can set the interval with a timespan

GitHub Action WorkFlow HCL to YML for AWS Lambda Deploy

To migrate https://github.com/marketplace/actions/aws-lambda-deploy to using yml. Your workflow looks something similar to this: Migrating this to YML Note that you need to add the Access Key ID and Secret Access Key to Github Security

Tagged with:

Connect to a different port with SQL Server Management Studio

Microsoft SQL Server Management Studio (SSMS) will default connect to port 1421 and there’s not obvious way to changing the port number. However it is possible by using a comma in the server name. So in the example:database-1.eu-west-1.rds.amazonaws.com,1521First the server

Tagged with:
Top