-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.xml
More file actions
165 lines (132 loc) · 12 KB
/
index.xml
File metadata and controls
165 lines (132 loc) · 12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>AndyTheCoder</title>
<link>https://blog.andythecoder.com/</link>
<description>Recent content on AndyTheCoder</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-uk</language>
<lastBuildDate>Sun, 17 Oct 2021 00:00:00 +0000</lastBuildDate>
<atom:link href="https://blog.andythecoder.com/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Windows 11 Tweaks</title>
<link>https://blog.andythecoder.com/posts/windows/windows-11/</link>
<pubDate>Sun, 17 Oct 2021 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/windows/windows-11/</guid>
<description>Windows 11 Tweaks restore vpn shortcut right click &lsquo;open with&rsquo; start menu on left a note on dark &amp; light themes vpn shortcut left click network icon right click background &amp; left click &lsquo;edit quick settings&rsquo; click add &amp; select vpn right click &lsquo;open with&rsquo; open regedit navigate to: HKEY_CURRENT_USER\SOFTWARE\CLASSES\CLSID\ create new key named (and include {}): {86ca1aa0-34aa-4e8b-a509-50c905bae2a2} under {86ca1aa0-34aa-4e8b-a509-50c905bae2a2}; create a new key called: InprocServer32 with empty/blank value close &amp; reboot kudos: https://www.</description>
</item>
<item>
<title>Sticker on Laptop breaks warranty (according to eBuyer)</title>
<link>https://blog.andythecoder.com/posts/hardware/sticker-on-laptop-breaks-warranty/</link>
<pubDate>Sun, 12 Sep 2021 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/hardware/sticker-on-laptop-breaks-warranty/</guid>
<description>TL;DR A sticker on your laptop is &lsquo;damage&rsquo; and breaks your warranty Well, according to eBuyer&hellip; Reading their linkedIn page: &lsquo;We pride ourselves on our customer service&rsquo; I would beg to differ eBuyer has refused to honour the Consumer Rights Act 2015 claiming that a sticker on a laptop voids their obligations under the act. They claim that a sticker invalidates the warranty, yet refuse to produce the warranty, let alone show where in the warranty it states that a sticker on a laptop is &lsquo;damage&rsquo;.</description>
</item>
<item>
<title>C# is not</title>
<link>https://blog.andythecoder.com/posts/c-sharp/not/</link>
<pubDate>Sun, 03 Jan 2021 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/c-sharp/not/</guid>
<description>TL;DR if (myVar is not null) DoSomething(); New C# 9 keyword: not One of the smaller (less headline grabbing) additions to C# 9 is pattern matching (enhancements). And one of the smaller, but probably one of the features that will be most used, is the &lsquo;not&rsquo; keyword.
Previously a common &lsquo;not null&rsquo; check would be: // no longer recommended as equals operator can be over-ridden if (myVar != null) DoSomething(); // hard to read if (!</description>
</item>
<item>
<title>Blazor Charts using Blazorise</title>
<link>https://blog.andythecoder.com/posts/c-sharp/blazorise/</link>
<pubDate>Mon, 07 Dec 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/c-sharp/blazorise/</guid>
<description>Demo of Blazorise which is a component library for Blazor. One of the interesting components is charting, which is a blazor wrapper for Chart.js
This live demo shows client side blazor (wasm) generating charts
Links live demo: wasm blazor charts blazorise: https://blazorise.com/ chart docs: https://blazorise.com/docs/extensions/chart/ repo: https://github.com/andyTheCoder/blazorise-demo </description>
</item>
<item>
<title>Asp.Net MVC Adding Blazor Server</title>
<link>https://blog.andythecoder.com/posts/c-sharp/asp-net-mvc-add-blazor-server/</link>
<pubDate>Thu, 19 Nov 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/c-sharp/asp-net-mvc-add-blazor-server/</guid>
<description>Overview Walk through taking an existing asp.net mvc app and adding server side blazor support.
Pre-requisits an existing asp.net mvc app running .net 5 New files _Imports.razor default using statements for blazor components App.razor blazor routing Pages/Counter.razor blazor component Changed files startup.cs add blazor server side (no default blazor routing as routing handled by mvc) Index.cshtml add blazor component to existing mvc view Notes this post demonstrates adding a blazor component to an existing mvc view page original mvc code base is mvc visual studio template additional code comes from blazor server side visual studio template this is not client side blazor aka wasm watch out for casing; blazor components must start capitalized Code links repo: https://github.</description>
</item>
<item>
<title>C# 9 records</title>
<link>https://blog.andythecoder.com/posts/c-sharp/records/</link>
<pubDate>Sat, 14 Nov 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/c-sharp/records/</guid>
<description>Records: immutable classes show me the code&hellip;
github repo: https://github.com/andyTheCoder/c-sharp-9
References
https://devblogs.microsoft.com/dotnet/c-9-0-on-the-record/ https://channel9.msdn.com/Shows/On-NET/C-9-Language-Features?ocid=player https://daveabrock.com/2020/11/02/csharp-9-records-immutable-default </description>
</item>
<item>
<title>PC USB always on</title>
<link>https://blog.andythecoder.com/posts/hardware/pc-usb-always-on/</link>
<pubDate>Mon, 25 May 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/hardware/pc-usb-always-on/</guid>
<description>TL;DR to switch usb power off when shutting pc down: enable ErP setting in bios to S4+S5. All my usb devices were still on when my pc was shut down I bought a new microphone which had an led on it. When the pc was shut down, the light was still on, annoying more than anything else.
I tried the windows 10 power options to no avail. After googling I found some people mentioning a bios setting S5&hellip;</description>
</item>
<item>
<title>Curl a message to Microsoft Teams</title>
<link>https://blog.andythecoder.com/posts/teams/curl-message-to-teams/</link>
<pubDate>Wed, 15 Apr 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/teams/curl-message-to-teams/</guid>
<description>TL;DR create a connector of type: &lsquo;incoming webhook&rsquo; to the teams channel you want to post to and copy the generated url create a curl command view your teams message Create the connector (aka webhook) select the channel you want to create a connector for: add an &lsquo;incoming webhook&rsquo;: click add: name the connector (Note this name will appear in teams as the message sender)</description>
</item>
<item>
<title>Tools</title>
<link>https://blog.andythecoder.com/tools/</link>
<pubDate>Mon, 30 Mar 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/tools/</guid>
<description>unsplash-logoKatie Rodriguez
This is my list of apps/tools when installing a new dev workstation (win 10):
Browsers Chrome: https://www.google.com/chrome/ Firefox: https://www.mozilla.org/en-GB/firefox/new/ Edge (chromium): https://support.microsoft.com/en-gb/help/4501095/download-the-new-microsoft-edge-based-on-chromium Editors Visual studio 2022 VS add-ins: Resharper Code Align: https://marketplace.visualstudio.com/items?itemName=cpmcgrath.Codealignment configuration: https://github.com/cpmcgrath/codealignment/wiki/Enabling-shortcuts-in-Visual-Studio Markdown: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.MarkdownEditor Ref12: https://marketplace.visualstudio.com/items?itemName=SchabseSLaks.Ref12 Glyphfriend: https://marketplace.visualstudio.com/items?itemName=RionWilliams.Glyphfriend2019 Azure Storage Explorer: Visual studio code: https://code.visualstudio.com/ VS code addins: Jenkinsfile SQL Server Management Studio: https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms Markdown: http://code52.</description>
</item>
<item>
<title>C# and underscores</title>
<link>https://blog.andythecoder.com/posts/c-sharp/underscores/</link>
<pubDate>Sun, 26 Jan 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/c-sharp/underscores/</guid>
<description>TL;DR an underscore in c# is a variable that you do not care about; they are called discards an underscore is a digit separator Underscores as discards unsplash-logoShane Rounce
So if you see code like this:
var (_, _, _, pop1, _, pop2) = QueryCityDataForYears(&#34;New York City&#34;, 1960, 2010);The 1st, 2nd, 3rd &amp; 5th values of the returned tuple; we don't care about. Discards were introduced in c# 7.</description>
</item>
<item>
<title>My DNS disappeared</title>
<link>https://blog.andythecoder.com/posts/dns/my-dns-disappeared/</link>
<pubDate>Sun, 12 Jan 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/dns/my-dns-disappeared/</guid>
<description>TL;DR when moving nameservers to cloudflare; make sure the domain contact emails are valid. My DNS disappeared When setting up this blog I used (re-used) andythecoder.com. I wanted to route through cloudflare, mainly (but not only) for the free ssl.
NB. I cloudflare.
I have gone through the process of moving nameservers from a domain registrar to cloudflare many times, always without a hitch&hellip; but this time the domain simply vanished.</description>
</item>
<item>
<title>Privacy</title>
<link>https://blog.andythecoder.com/privacy/</link>
<pubDate>Sun, 12 Jan 2020 00:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/privacy/</guid>
<description>TL;DR This site uses Google Analytics. A bit more&hellip; This website uses “Google Analytics” to collect information about the use of my site. Google Analytics collects information such as how often users visit my site, what pages they visit when they do so, and what other sites they used prior to coming to this site. We use the information we get from Google Analytics to improve this site. Google Analytics collects only the IP address assigned to you on the date you visit this site, rather than your name or other identifying information.</description>
</item>
<item>
<title>404 ascii art hugo page</title>
<link>https://blog.andythecoder.com/posts/hugo/404-ascii-art/</link>
<pubDate>Sun, 05 Jan 2020 12:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/hugo/404-ascii-art/</guid>
<description>Demo: https://blog.andythecoder.com/404.html Created the ascii art using: http://patorjk.com/software/taag/#p=display&amp;f=Doh&amp;t=4%200%204 Wrap the ascii art in pre tag Hugo 404 page setup: https://gohugo.io/templates/404/ </description>
</item>
<item>
<title>About</title>
<link>https://blog.andythecoder.com/about/</link>
<pubDate>Sat, 04 Jan 2020 12:00:00 +0000</pubDate>
<guid>https://blog.andythecoder.com/about/</guid>
<description>Welcome, although I expect no-one to read this. I write software, currently in c#. This blog, its content and opinions are my own.</description>
</item>
<item>
<title>Hello World</title>
<link>https://blog.andythecoder.com/posts/hello-world/</link>
<pubDate>Fri, 03 Jan 2020 11:50:28 +0000</pubDate>
<guid>https://blog.andythecoder.com/posts/hello-world/</guid>
<description>Welcome My intetion is to blog about tech that comes my way. This blog is running hugo and hosted as a github page (all free)</description>
</item>
</channel>
</rss>