Gaming and Coding
Development Blog Archives

Master List of Unit Testing Websites


Category
Websites
Sub Category
Master Lists
Last Updated
11/2/2018

The Best Unit Test Websites



What sites are your favorite?


Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [1]

Comments: [0]








(this is only to show your gravatar icon)



Master List of DevOps Websites


Category
Websites
Sub Category
Master Lists
Last Updated
11/1/2018

The Best DevOps / Automation Websites



What sites are your favorite?


Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



Master List of Microsoft Websites


Category
Websites
Sub Category
Master Lists
Last Updated
11/1/2018

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [1]

Comments: [0]








(this is only to show your gravatar icon)



Master List of Google Websites


Category
Websites
Sub Category
Master Lists
Last Updated
11/1/2018

Reasons I Love Google:

Google.com / Chrome / Angular-CLI / Angular CDK / Angular Material / Gmail / YouTube / Google Home



The Best Google Development Websites



What sites are your favorite?


Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



Master List of Development Blogs


Category
Websites
Sub Category
Master Lists
Last Updated
11/1/2018

The Best Angular and .NET Development Blogs



What sites are your favorite?


Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



This article will walk through making your first coding changes to a GitHub project.
  • As a prerequisite you must be invited to the Matrix Tools, LLC organization on GitHub.com.
  • You will sign up to GitHub using your @matrix.tools email address.
  • After you create a user, you must ask for permissions to be a Collaborator to the GitHub project.
Git is an incredibly popular technology for keeping up with code projects or "repositories" and is a great skill to have on a resume. GitHub is the public website for Git repositories, that was recently acquired by Microsoft.
There are many ways to access a Git repository, I prefer using the command line, I even have a custom Mario Shell command line, but for brand new developers I would recommend downloading Git (from here) as well as downloading Visual Studio Code. Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop, and it also automatically integrates with Git.

After downloading Visual Studio Code, run the following commands (with your user information) from your command prompt to authenticate Git on your machine:
git config --global user.name "John-Doe" git config --global user.email john@matrix.tools

Then, copy this GitHub web URL that points to the Matrix Tools, LLC "new-developers" project.

https://github.com/MatrixToolsLLC/new-developers.git

Now open up Visual Studio Code and press Shift + Ctrl + P to open up the Command Palette.
Here you will run the Git Clone command.
Visual Studio Code
And then paste in the GitHub web URL.
Git Clone
It will then ask you to select a folder on your computer to add the code files, I usually use something like C:\Dev
It should then prompt you to open the project: Repo Prompt

Now we have everything we need to be able to code and commit changes to the project!!


Use the Visual Studio Code Explorer to go to the /website/index.html file to find your first small assignment.
HTML Assignment

Notice after you make changes to the index.html file, you should see a (1) over the Source Control icon, on the far left side of Visual Studio Code.

This indicates that you have modified 1 file. Now click on the Source Control icon.


Then you will click on the "Commit" checkmark button in order to update the file to GitHub.

It will then ask you to commit the files and add a commit message.

After that, there is just one more button to press to do the "Push" to GitHub.

On the very bottom left of Visual Studio Code you should now see a 1 next to an Up Arrow.

It will then prompt you for your GitHub username and password, and then you're done!


  • If you see the error: "Permission to MatrixToolsLLC/new-developers.git denied" you will need to remind me to add you as a Collaborator to the GitHub project.

You should now verify / test that everything worked as expected.

  1. The "1 next to an Up Arrow" should now have disappeared from the the bottom left of Visual Studio Code.
  2. Go to the index.html file on GitHub here, and verify your changes were pushed.
  3. Open index.html in a browser on your machine and verify it looks correct.
    • On my machine this is: C:\Dev\new-developers\website\index.html
  4. Now you're ready to roll and start contributing to coding projects!!
  5. Going forward you should be able to make changes, commit, and push all from within Visual Studio Code
  6. Let me know that you're completed or if you have any issues!
Thanks!

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [1]

Comments: [0]








(this is only to show your gravatar icon)



Setup proper 301 Redirects in IIS for non-www and non-SSL


Category
Websites
Sub Category
SEO
Last Updated
10/20/2018
The following is my strategy for Website IIS bindings.

There are basically 4 different addresses that all point to your website. You have an http and an https, as well as a www. and a non-www. version. You should be using https for security and SEO reasons (you can read more about how to setup SSL for free here), and then you will have to pick if you prefer the www. or non-www. version as your main address. I use "https://www." for all my sites, which means that the other 3 addresses should all point to that one. This is accomplished via IIS (Internet Information Services) bindings.

IIS bindings are used to bind a URL address to a website folder that exists on the machine. This is how the machine knows what files to serve to the user when they visit your URL.

Below you will see IIS Site Bindings that enure all traffic to "https://www.redyoshi.com" is served the correct files for the Red Yoshi site.

IIS Site Bindings

The "Basic Settings" dialog box controls the location of those files.

IIS Site Settings

Now we need to setup another IIS binding for http and have it point to our https version.

Right click on Sites in IIS and click Add Website...

I will call this one "RedYoshiHttp301", and instead of pointing to the actual files, I will point to any other location. This location will be used to store the configuration.

(I like to create an IIS folder in the website for this, and inside of that folder create a Http301 folder and a 301 folder.)

IIS Add Website

Now that RedYoshiHttp301 exists we will setup 301 Redirects for it, in order to redirect to the https version.

Click on the "HTTP Redirect" feature in IIS and setup a 301 like this:

IIS HTTP Redirect

Now click on the "URL Rewrite" for this new site and add 3 rules to improve SEO.

The 3 rules keep everything consistent https address, lowercase, and without the trailing / in the URL.

IIS URL Rewrite

Next, we will do the same thing for another new "site" that will redirect the 2 non-www sites.

(If you want to use the non-www as your main address, this step should point the 2 www to your non-www.)

I'll add another website, just like before, and call this one "RedYoshi301".

IIS 2 URL Rewrites

Then add the same 301 redirect in "HTTP Redirects", Also remember to add the "URL Rewrite" rules again, and then you're done!


Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



I wanted to share a simple and free method to add SSL to your website, so that it runs under HTTPS (HTTP Secure). This is done for security reasons and will also give your site a boost on search engines. First, you will go to SSL for Free. This is a great site to create and manage your SSL certificates.
To verify your site, you can go to Manual Verification and download a text file to a .well-known/acme-challenge folder on your site.
SSL for Free After clicking the new file to verify the site, it will allow you to download a trusted SSL certificate for free and you will also get a private.key. SSL Files
  • If you're having problems hitting the verification file, you might have to adjust the permissions on the .well-known folder or files.
  • If you're using .NET and still having problems, try this code in Startup.cs in the void Configure function:
// SSL app.UseStaticFiles(); app.UseStaticFiles(new StaticFileOptions { FileProvider = new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), @"wwwroot/.well-known")), RequestPath = new PathString("/.well-known"), ServeUnknownFileTypes = true // serve extensionless file });

If you're running on IIS, there is one additional step in order to convert these files to a .pfx file. For this I recommend using this SSL converter site. SSL Converter
Now you will have a .pfx file with a private key. On Windows, you can just double click the file to add it to your local machine's certificate store. Now in IIS, when you bind your site to port 443, your new certificate will appear in the SSL certificate drop down list!

You can read more about my IIS bindings strategy here.

I'd like to look into a way to automate renewing of certificates!
What sites and tools do you use?

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



Debugging Production .NET Core Errors


Category
Websites
Sub Category
Common Issues
Last Updated
10/18/2018
how to setup debug messges usually missing well-known, link to the other blog how can i fix this?

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



https://www.matrix.tools check them out they are great!

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



How to setup Custom Professional Email Addresses


Category
Emails
Sub Category
Aliases
Last Updated
10/16/2018
This is an easy tutorial explaining how to create a custom email address or alias.
First, you will need an existing Gmail account and you will need a method of forwarding emails to that address.
For example, I use a great site called Namesilo.com to register domains.
It has an Email Forwarding feature that allows me to chose any email for my domain and forward it to my Gmail account.
(In other words, the redyoshi.com account can forward any email *@redyoshi.com to my current Gmail inbox, or any other existing inbox.)
Namesilo.com
After your domain manager sets this up you should run a test by sending an email to your new address and verify that it shows up in your inbox.

Now you can receive emails from that address, but that's only half of the battle, we still need to be able to send emails from that address.

To do this in Gmail, you must first setup an extra security feature called 2-step authentication.
(I just Googled it and it brought me to a page that would message my phone for authentication.)
2-step Authentication
Next, we will go thru this support answer.
Google Alias
Basically you'll go to your Gmail settings -> Accounts and Import -> Send mail as -> Add another email address.
  • If you're having problems logging into your Gmail account on this step, you probably need to make sure 2-step authentication is activated.
Now you should be able to send and receive emails from your new address.
I also recommend that you setup a different signature for each account.
Custom Email Signature
You can now run your final test by sending an email from your new address to your new address.
Custom Email

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



Your Friendly Neighborhood Coder


Category
Red Yoshi
Sub Category
Jesse Booth
Last Updated
10/15/2018
Hello,
Jesse Booth here, jesseboothua@gmail.com

What topics are you interested in talking about?
What are you currently working on?
What retro video games do you like playing?

Thanks for stopping by!

Check out my portfolio site:
Jesse Booth Codes

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [2]

Comments: [2]
Jesse Booth
10/28/2018 3:39:14 PM
Jesse Booth
Lets see how these comments are working!

Zero
10/28/2018 3:43:14 PM
Zero
Not too shabby!









(this is only to show your gravatar icon)



Creating Mobile Apps with Ionic


Category
Mobile Apps
Sub Category
Ionic
Last Updated
1/7/2017
Mobile Apps with Ionic, coming soon!

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)



SEO Tools and SEO Audits


Category
Websites
Sub Category
SEO
Last Updated
1/1/2017
SEO Tool and SEO Audits, coming soon!

Permanent Link
If this article helped you, please click the Like button and/or leave a comment below.

Likes: [0]

Comments: [0]








(this is only to show your gravatar icon)