To run all the lines in your R file use the Source command or the shortcut Ctrl + Shift + S or if you want the echo feedback use Ctrl + Shift + Enter. The latter is close do the run a single line Ctrl + Enter. This will run the source command:
Category: Tips and Tricks
WordPress Jetpack statistics don’t count yourself
When you add the Jetpack plugin it should by default have you disabled on the statistics. You can check up on this by going to Make sure Administrator, Editor or Author is disabled depending on which kind of users you want to ignore stats on. You might just want all types to be disabled.
Convert nuget sources update to dotnet nuget
Converting nuget or msbuild for that matter, find the equivalent in dotnet. For converting your nuget sources update you have to change almost all words. Here an example: You add dotnet at the start. Remember to change sources to source without the s. Update and source has moved places. All argument will be changed from
Resize pictures in GitHub
As the guide suggest to add an image to a readme.md markdown file use (Source: https://guides.github.com/features/mastering-markdown/) But if you want to resize you could use the html img tag instead. Replace the syntax with this
Convert a list or array to string in C#
You need to use the string.Join to go through the list to actually get their values. Source: https://docs.microsoft.com/en-us/dotnet/api/system.string.join
Azure DevOps Pipeline Badge not showing
You’ll like to have a cool badge from Azure Pipelines like this But it doesn’t show and a no-image is displayed This could be because you have renamed you’re pipeline. Microsoft DevOps Pipeline has an error where the updated badge link doesn’t work from “Status Badge” You get the sample markdown looking similar to this:
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
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 name, then a comma, and then the port number.
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 the package center: https://downloads.plex.tv/plex-keys/PlexSign.key