-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
288 lines (211 loc) · 13.9 KB
/
index.html
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="mpyDotDev development site">
<meta name="author" content="Matthew Yeager">
<link rel="canonical" href="https://mpy.dev/">
<link rel="shortcut icon" href="img/favicon.ico">
<title>Home - mpy.Dot.Dev</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/bootstrap-theme.min.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.3/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="js/jquery-1.10.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<!-- Collapsed navigation -->
<div class="navbar-header">
<!-- Expander button -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href=".">mpy.Dot.Dev</a>
</div>
<!-- Expanded navigation -->
<div class="navbar-collapse collapse">
<!-- Main navigation -->
<ul class="nav navbar-nav">
<li class="active">
<a href=".">Home</a>
</li>
<li >
<a href="level010/">L010</a>
</li>
<li >
<a href="level020/">L020</a>
</li>
<li >
<a href="level030/">L030</a>
</li>
<li >
<a href="level040/">L040</a>
</li>
<li >
<a href="level050/">L050</a>
</li>
<li >
<a href="level060/">L060</a>
</li>
<li >
<a href="level070/">L070</a>
</li>
<li >
<a href="level080/">L080</a>
</li>
<li >
<a href="level090/">L090</a>
</li>
<li >
<a href="level100/">L100</a>
</li>
<li >
<a href="level110/">L110</a>
</li>
<li >
<a href="level120/">L120</a>
</li>
<li >
<a href="level130/">L130</a>
</li>
</ul>
<!-- Search, Navigation and Repo links -->
<ul class="nav navbar-nav navbar-right">
<li class="disabled">
<a rel="next" >
<i class="fa fa-arrow-left"></i> Previous
</a>
</li>
<li >
<a rel="prev" href="level010/">
Next <i class="fa fa-arrow-right"></i>
</a>
</li>
<li>
<a href="https://github.com/mpyeager">
<i class="fa fa-github"></i>
GitHub
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-3"><div class="bs-sidebar hidden-print affix well" role="complementary">
<ul class="nav bs-sidenav">
<li class="main active"><a href="#greetings">Greetings!</a></li>
<li class="main "><a href="#the-socials">[:]The socials</a></li>
<li class="main "><a href="#hands-on-exercises">[:]Hands On Exercises</a></li>
<li class="main "><a href="#useful-documentation">[:]Useful Documentation</a></li>
<li class="main "><a href="#things-ive-learnt">[:]Things I've learnt</a></li>
<li class="main "><a href="#golang-language-tips">[:]Golang Language Tips</a></li>
<li class="main "><a href="#todd-mcleod-life-tips">[:]Todd McLeod Life Tips</a></li>
<li class="main "><a href="#unfiled">[:]Unfiled</a></li>
</ul>
</div></div>
<div class="col-md-9" role="main">
<h1 id="greetings">Greetings!</h1>
<p>I'm <a href="https://twitter.com/mpyeager">Matthew Yeager</a>, a Googler in London, and I've created this site as my working development site generally and, more specifically in the immediate, as my personal companion guide for the <a href="https://twitter.com/todd_mcleod">Todd McLeod</a> <a href="https://go.dev" title="The Go programming language">Go</a> training course on <a href="https://www.udemy.com" title="Main Site">Udemy</a>.</p>
<p>I've also created this site to catalogue things I've learnt so that I can make new mistakes but, hopefully, not the same ones twice. :-)</p>
<p>If any of this material is of benefit to you as well, so much the better, however please note that any and all Golang training materials herein remain the property of <a href="https://github.com/GoesToEleven" title="IT GOES TO ELEVEN!">Todd McLeod</a></p>
<p>TODO [:] General :
Explain why <a href="https://twitter.com/todd_mclead">Todd McLeod</a>'s <a href="https://www.udemy.com/course/learn-how-to-code">Udemy course</a> is one of the best I've taken. Ever. For any language.</p>
<p>TODO [:] Updates & Releases : Create bulk file renaming.</p>
<p><a href="https://github.com/mpyeager/GolangTraining">Just take me to the GitHub repo!</a></p>
<h1 id="the-socials">[:]The socials</h1>
<ul>
<li><a href="https://twitter.com/mpyeager">Twitter</a></li>
<li><a href="https://linkedin.com/in/mpyeager">LinkedIn</a></li>
<li><a href="https://github.com/mpyeager">GitHub</a></li>
<li><a href="https://youtu.be/dQw4w9WgXcQ">Facebook</a></li>
</ul>
<h1 id="hands-on-exercises">[:]<a href="1">Hands On Exercises</a></h1>
<ol>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/01.00">Level 01.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/02.00">Level 02.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/03.00">Level 03.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/04.00">Level 04.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/05.00">Level 05.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/06.00">Level 06.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/07.00">Level 07.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/08.00">Level 08.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/09.00">Level 09.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/10.00">Level 10.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/11.00">Level 11.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/12.00">Level 12.00</a></li>
<li><a href="https://github.com/mpyeager/GolangTraining/tree/main/Hands%20On%20Exercises/13.00">Level 13.00</a></li>
</ol>
<h1 id="useful-documentation">[:]Useful Documentation</h1>
<ol>
<li><a href="https://godoc.org" title="Golang documentation organised a bit better than go.dev">GoDoc</a></li>
<li><a href="https://gobyexample.com" title="Golang documentation with working examples">Go By Example</a></li>
</ol>
<h1 id="things-ive-learnt">[:]Things I've learnt</h1>
<ol>
<li>When setting up Github, ensure that you've generated a <a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent">new SSH key</a> and added it to your SSH agent, keychain, and Github user account.</li>
<li>Check your remote repository URLs and change from <a href="https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories#switching-remote-urls-from-https-to-ssh">HTTPS to SSH</a> if necessary ... if you don't, you'll likely get errors when you try to push.</li>
<li>There are many reasons to love <a href="https://ohmyz.sh/">OhMyZsh!</a> which offers plugins galore, including the hugely useful <a href="https://kapeli.com/cheat_sheets/Oh-My-Zsh_Git.docset/Contents/Resources/Documents/index">Github short commands</a>.</li>
<li>If you're not using <a href="https://brew.sh/">Homebrew</a>, well ... you really should be.</li>
<li>Spelling mistakes have been the cause of almost <strong>all</strong> of the mistakes I've made ... and, through these mistakes, much of the learning and progress I've made.</li>
</ol>
<h1 id="golang-language-tips">[:]Golang Language Tips</h1>
<ul>
<li><code>init</code>, <code>condition</code>, <code>post</code></li>
<li><code>keyword</code>, <code>identifier</code>, <code>type</code></li>
</ul>
<h1 id="todd-mcleod-life-tips">[:]Todd McLeod Life Tips</h1>
<p>TODO [:] Make these into a t-shirt :-)</p>
<ul>
<li>Drop by drop, the bucket gets filled.</li>
<li>Persistently, patiently, you are bound to succeed.</li>
<li>If you want to see the future, look at the seeds you are planting today. Plant the right seeds today, you'll harvest a great crop tomorrow.</li>
<li>You are cultivating the garden which is <em>your</em> life. You need to go out and work the garden <em>every day</em>, planting seeds, tending the plants, watering the garden, and removing the weeds ... that which we can refer to as not beneficial to your garden or <em>unskillful</em> ... you are going to have a good garden and realise a good crop.</li>
<li>It's not your intelligence. It's not who you're parents are / were. It's not what culture you come from. The number factor for student success is <strong>grit</strong>.</li>
<li><a href="https://youtu.be/W-ONEAcBeTk">Angela Duckworth Grit: The Power of Passion and Perseverance</a></li>
<li>Time on task. If you want to be good at anything, you need to get out there and do it <em>every day</em>. Set aside some time every day and <strong>commit</strong>.</li>
<li>If you want to be successful, get in front of what's coming and let it hit you.</li>
<li>Focus on what is important, not on what is urgent.</li>
<li>Stress is the difference between what is and what you wish things were.</li>
<li>If you no longer want it, you can have it.</li>
<li>Try to be 100% focussed ... and 100% relaxed.</li>
</ul>
<h1 id="unfiled">[:]Unfiled</h1>
<ol>
<li><a href="https://twitter.com/wesbos">Wesbos</a> <a href="https://commandlinepoweruser.com/">Command Line Power User course</a></li>
<li><a href="https://www.markdownguide.org/cheat-sheet/">Markdown cheat sheet</a></li>
<li><a href="https://dotfiles.github.io/">Github does dotfiles</a> organisation and <a href="https://twitter.com/michaeljsmalley">Michael Smalley</a> excellent <a href="http://blog.smalleycreative.com/tutorials/using-git-and-github-to-manage-your-dotfiles/">blog post</a>.</li>
<li><a href="https://bazel.build">Bazel</a> and <a href="https://medium.com/@simontoth/golang-with-bazel-2b5310d4ce48">using Golang with Bazel</a></li>
<li>I try not to be a fanboy, but <a href="https://code.visualstudio.com/">VScode</a> is some next level 'holy shit' IDE stuff.</li>
<li><a href="https://github.com/mpyeager/dotfiles">dotfiles</a> to help maximise efficiencies with command line and developer workflow.</li>
<li>Speaking of dotfiles, you can launch programs directly from terminal using <code>[program name]</code> <code>+</code> <code>.</code> <em>or</em> <code>filename</code>. For example ...</li>
<li><code>code .</code> /or/ <code>code [filename]</code> will launch <a href="https://code.visualstudio.com">VScode</a></li>
<li>
<p><code>open .</code> /or/ <code>open [filename]</code> will launch <a href="https://support.apple.com/en-gb/HT201732" title="Using Finder on Mac">Finder</a></p>
</li>
<li>
<p><a href="https://github.com/so-fancy/diff-so-fancy" title="Makes diff readable without having to pipe to txt file">diff-so-fancy</a> : Usage <code>diff -u file1 file 2 | diff-so-fancy</code></p>
</li>
</ol></div>
</div>
</div>
<hr>
<footer class="container">
<center>Documentation built with <a href="http://www.mkdocs.org">MkDocs</a> and <a href="http://kristopolous.github.io/BOOTSTRA.386">BOOTSTRA.386</a>.</center>
</footer>
<script src="search/main.js"></script>
</body>
</html>