Category: Tips and Tricks

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:

Plex on Synology “failed to run the package service”

Got following message from Plex “failed to run the package service” when installing and trying to run it. I had missed adding certificate key. There’s a good tutorial here at plex The public key that needs to be added in

Tagged with: ,

How to unsubscribe Apple Music

To unsubscribe from Apple Music do the following: Open Apple Music app on your iphone/ipad Hit the account icon in the top left corner Choose “View Apple ID” Choose “Manage” under subscriptions Click the switch to “Off” under auto renewal  

Tagged with: ,

Mac Disable the Dock Jumping Bouncing

Let’s face it, the jumping/bouncing of an icon is annoying. Open the terminal “Applications -> Utilities -> Terminal” and enter the following: defaults write com.apple.dock no-bouncing -bool TRUE && killall Dock

Stop iPhoto From Automatically Opening

iPhoto automatically opens up when connecting your iPhone og iPad. The issue is that it’s not iPhoto itself but “Image Capture” that opens it up. Open Image Capture. Locate devices and click on button in the bottom left, icon with

OS X Yosemite Prevent Fullscreen From Zoom Button

Apple has changed the functionality of the zoom button for every window in OS X Yosemite, the third and green button. It’s not a zoom button anymore (nor a maximize  as in MS Windows), it is now a fullscreen. Which

Windows 8.1 Go To The Desktop Instead of Start

In Windows 8.1 you can change the default launch screen, so you don’t have to start in the (Metro) Modern UI Start Screen anymore. Start your Windows 8.1, login and go to the desktop, rightclick on the Task Bar (The

Tagged with: , ,

Graphics Error Click To Retry Creating D3d Device

Trying to start Diablo 3 gave this error: “graphics error click to retry creating d3d device” Now, there have been several options and solutions depending on what causes the error. Have a look here for the varies solutions: http://us.battle.net/d3/en/forum/topic/5968136916 In this

Tagged with: ,
Top