Skip to content

Commit 2266cae

Browse files
committed
Spell checking
1 parent e3f2bde commit 2266cae

File tree

36 files changed

+224
-396
lines changed

36 files changed

+224
-396
lines changed

_posts/2007-03-28-brassband-radio.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ blogger_id: tag:blogger.com,1999:blog-36533086.post-7886946944114935508
1010
blogger_orig_url: https://www.marcusoft.net/2007/03/brassband-radio.html
1111
---
1212

13-
Every monday morning I start the day by listen in to [Listen to the
14-
band](http://www.bbc.co.uk/radio/aod/networks/radio2/aod.shtml?radio2/listenband)
15-
which is a long running radioshow in UK, playing brass band music. It is
16-
a great oppurtunity to hear the best band in a more or less live
17-
situation.
13+
Every monday morning I start the day by listen in to [Listen to the band](http://www.bbc.co.uk/radio/aod/networks/radio2/aod.shtml?radio2/listenband) which is a long running radio show in UK, playing brass band music. It is a great opportunity to hear the best band in a more or less live situation.
1814

19-
Now, I found out, there is a contender... [World Of
20-
Brass](http://www.worldofbrass.com/wobradio/index2.php) also has its
21-
radio. It seems to be playing CD's (that you can buy from World Of
22-
Brass, can you imagine? ;)) but there is some very good music to hear.
15+
Now, I found out, there is a contender... [World Of Brass](http://www.worldofbrass.com/wobradio/index2.php) also has its radio. It seems to be playing CD's (that you can buy from World Of Brass, can you imagine? ;)) but there is some very good music to hear.

_posts/2007-11-14-creating-dynamical-autocomplete-textbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ blogger_orig_url: https://www.marcusoft.net/2007/11/creating-dynamical-autocompl
1414

1515
In my recent project we have had to implement a own textbox to be
1616
able to set a few properties that force the user to follow certain
17-
formats etc. A few days ago I saw this as an oppurtunity to do something
17+
formats etc. A few days ago I saw this as an opportunity to do something
1818
cool as an additional feature.
1919

2020
I wanted to implement a AutoComplete feature but with the values that

_posts/2008-02-20-moving-items-in-checkedlistbox.md

Lines changed: 36 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -11,56 +11,51 @@ blogger_id: tag:blogger.com,1999:blog-36533086.post-5888117216102285736
1111
blogger_orig_url: https://www.marcusoft.net/2008/02/moving-items-in-checkedlistbox.html
1212
---
1313

14-
This is a very common requirement in applications and one that I always
15-
need to think a few extra minutes (hours, if you want) before I get
16-
it.
14+
This is a very common requirement in applications and one that I always need to think a few extra minutes (hours, if you want) before I get it.
1715

18-
The GUI contains a CheckedListBox (or any other list) and the user want
19-
to be able to move the items up and down in the list. Yes I know - it
20-
seems trivial at first...
16+
The GUI contains a CheckedListBox (or any other list) and the user want to be able to move the items up and down in the list. Yes I know - it seems trivial at first...
2117

22-
Here is one solution that uses a single method that is called with a
23-
parameter to indicate if the item is to be moved up or down.
18+
Here is one solution that uses a single method that is called with a parameter to indicate if the item is to be moved up or down.
2419

20+
```vb
2521
'''
2622
''' Moves an item in the listbox
2723
'''
2824
Private Sub MoveItemInListbox(ByVal up As Boolean)
29-
' Check that something is selected
30-
If chklst.SelectedItem Is Nothing Then
31-
MessageBox.Show("Nothing selected")
32-
Exit Sub
33-
End If
34-
' No flicker - on
35-
36-
' Remember the selected stuff, index, the item itself and if the item is
37-
' checked or not
38-
Dim selectedIndex As Integer = chklst.SelectedIndex
39-
Dim selectedItem As Object = chklst.SelectedItem
40-
Dim checked As Boolean = chklst.GetItemChecked(selectedIndex)
41-
42-
' Remove the item
43-
44-
' Calculate the new index
45-
Dim newIndex As Integer = selectedIndex
46-
If up Then
25+
' Check that something is selected
26+
If checklistItems.SelectedItem Is Nothing Then
27+
MessageBox.Show("Nothing selected")
28+
Exit Sub
29+
End If
30+
' No flicker - on
31+
' Remember the selected stuff, index, the item itself and if the item is
32+
' checked or not
33+
Dim selectedIndex As Integer = checklistItems.SelectedIndex
34+
Dim selectedItem As Object = checklistItems.SelectedItem
35+
Dim checked As Boolean = checklistItems.GetItemChecked(selectedIndex)
36+
37+
' Remove the item
38+
' Calculate the new index
39+
Dim newIndex As Integer = selectedIndex
40+
If up Then
4741
newIndex = newIndex - 1
48-
Else
42+
Else
4943
newIndex = newIndex + 1
50-
End If
44+
End If
45+
46+
' Check that the index is within our bounds
47+
If newIndex > checklistItems.Items.Count - 1 Or newIndex < 0 Then
48+
Exit Sub
49+
End If
50+
51+
' Put the item back in the list and check it if needed
52+
checklistItems.Items.Insert(newIndex , selectedItem)
53+
checklistItems.SetItemChecked(newIndex , checked)
5154

52-
' Check that the index is within our bounds
53-
If nyttIndex > chklstStycken.Items.Count - 1 Or nyttIndex < 0 Then
54-
Exit Sub
55-
End If
56-
' Put the item back in the list and check it if needed
57-
chklst.Items.Insert(newIndex , selectedItem)
58-
chklst.SetItemChecked(newIndex , checked)
59-
' Set focus on the moved item
60-
chklstStycken.SelectedIndex = newIndex
61-
chklstStycken.EndUpdate()
55+
' Set focus on the moved item
56+
checklistItems.SelectedIndex = newIndex
57+
checklistItems.EndUpdate()
6258
end sub
59+
```
6360

64-
Yeah - i've ripped the solution from
65-
<http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic21474.aspx>,
66-
if you don't trust me.
61+
Yeah - i've ripped the solution from <http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic21474.aspx>, if you don't trust me.

_posts/2008-05-20-oop-hardcore-principles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ VB.NET.
2626

2727
I have not followed all of these in my current project (it would lead to
2828
a loo-ot of classes and assemblies) but having them nailed to the wall
29-
has given my an oppurtunity to learn and use some of the guidelines. And
29+
has given my an opportunity to learn and use some of the guidelines. And
3030
lo, and behold - my design was better and my code more readable.
3131

3232
He might be onto something here, the good Brikenstock...

_posts/2014-03-24-team-yayasan-week-4-throughput-and-lead.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ And since we're tracking how much we're waiting for each item (in days) we can a
5252
5353
Also now we have two metrics to try to balance against each other; we want short lead time as well as good throughput. (And great quality, but that is still to be measured) .
5454

55-
This very slow week thaught us a great deal.
55+
This very slow week taught us a great deal.

_posts/2014-03-26-setting-up-complete-node-development.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ tags:
88
- Javascript
99
- Tools
1010
modified_time: 2014-04-06T12:41:45.586Z
11-
thumbnail: /img/inceptiontop.jpg
1211
blogger_id: tag:blogger.com,1999:blog-36533086.post-6779226674205683514
1312
blogger_orig_url: https://www.marcusoft.net/2014/03/setting-up-complete-node-development.html
1413
---
@@ -67,7 +66,7 @@ This is simple... if you know how.
6766

6867
#### Install VirtualBox on your host
6968

70-
Now that you have everything downloaded, first install VirtualBox on your host system. This is your typical "Next, Next, Next, Wait, Finish"-installation and I will not say much about that. Just doubleclick the "VirtualBox-yada-yada-yada-Win.exe" file you downloaded and you should be fine.
69+
Now that you have everything downloaded, first install VirtualBox on your host system. This is your typical "Next, Next, Next, Wait, Finish"-installation and I will not say much about that. Just double click the "VirtualBox-yada-yada-yada-Win.exe" file you downloaded and you should be fine.
7170

7271
#### Create your virtual machine
7372

_posts/2014-03-31-koaintro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ npm init
9494
npm install koa --save
9595
```
9696

97-
Alright. You should have seen quite a lot of things coming down with that last command. I'll come back to that, but it has to do with Koa believing very hard in modularity and composability. Or "it's made from a lot of small Legos (c)", if you're a parent like me.
97+
Alright. You should have seen quite a lot of things coming down with that last command. I'll come back to that, but it has to do with Koa believing very hard in modularity and composability. Or "it's made from a lot of small Lego pieces", if you're a parent like me.
9898

9999
We have set ourselves up for some Koa code. Let's dive right in. Create a firstKoaSite.js file and ~~type the following~~ copy (who am I kidding?) the following code into it:
100100

@@ -132,7 +132,7 @@ Which lets me start my site like this:
132132
npm start
133133
```
134134

135-
Ahhh! Much better. And the site runs nice too. Looks like crap but that's normal and expected for my sites. But with the proper indata ([http://localhost:3000/whosThere/World](http://localhost:3000/whosThere/World)) you can get it to be a Hello World application
135+
Ahh! Much better. And the site runs nice too. Looks like crap but that's normal and expected for my sites. But with the proper in-data ([http://localhost:3000/whosThere/World](http://localhost:3000/whosThere/World)) you can get it to be a Hello World application
136136

137137
```plaintext
138138
Ah, it is you! My old friend!

_posts/2014-04-02-team-yayasan-week-5-redoing-todo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The retrospective today, 2 days delayed due to Hindu public holiday and not all
2929

3030
This weekend we had a meeting we all the leaders of our customers, the directors of the hospitals. From that meeting came a flood of small tasks that we needed to address; write PMs, check on status for projects, help people start using tools etc. etc. So we saw a need to do something about our board structure.
3131

32-
Right now we only had three columns: Todo, Doing and Done. Particulary the Todo-column bother us, since it contained a lot of stuff on very different time scale. Something was a 2 months project that we need to do before 2015. Another thing was to send a couple of emails to check the status of a project somewhere. After some discussion we decided to do something that looked like this:
32+
Right now we only had three columns: Todo, Doing and Done. Particularly the Todo-column bother us, since it contained a lot of stuff on very different time scale. Something was a 2 months project that we need to do before 2015. Another thing was to send a couple of emails to check the status of a project somewhere. After some discussion we decided to do something that looked like this:
3333

3434
- We kept the Doing and Done columns (although I showed you what we did with the Done-column later)
3535
- The Todo column have a limit of max 6 items, we later changed that to 8.

_posts/2014-04-08-koaExamples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ blogger_orig_url: "https://www.marcusoft.net/2014/03/koaExamples.html"
1515

1616
The [first](https://www.marcusoft.net/2014/03/koaintro.html) [two](https://www.marcusoft.net/2014/03/koaGenYield.html) post of this mini-series, we picked up the basic on getting [Koa Js](http://www.koajs.com/) to start as well as understand what it's build from and the concepts behind it. It's time to do something for real. Well over time, one might add. This post is all about using Koa to build different websites and web api's.
1717

18-
By using [Koas own examples](https://github.com/koajs/examples/) I will show you how you can use Koa for a lot of common tasks and scenarios. Let's dive right in.
18+
By using [Koa's own examples](https://github.com/koajs/examples/) I will show you how you can use Koa for a lot of common tasks and scenarios. Let's dive right in.
1919

2020
<!-- excerpt-end -->
2121

_posts/2014-04-10-aligning-our-sights-what-indonesians.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In this post I'm planning to tell you a couple of short stories and episodes, to
2121

2222
### Gothenburg Brass Band
2323

24-
I had the great privilege to play in the top brass band in Sweden for about 2 years. The height of my musical "career". This was an amatuer group in such regard that everyone played in the band on the spare time and nobody got paid. Many of the members were professional musicians (and there we were 4 people who just tried to keep up...) which meant that the standard was super high. Great great fun.
24+
I had the great privilege to play in the top brass band in Sweden for about 2 years. The height of my musical "career". This was an amateur group in such regard that everyone played in the band on the spare time and nobody got paid. Many of the members were professional musicians (and there we were 4 people who just tried to keep up...) which meant that the standard was super high. Great great fun.
2525

2626
There's lot to say about them and the way they approach excellence but I'll leave it for the sake of brevity. Let's me focus on a single thing that they were very particular about; the warmups.
2727

@@ -39,7 +39,7 @@ Their reasoning was; "there's no real reason doing the hard stuff when we haven'
3939

4040
I now work in Indonesia - that's a big change. I also work for the Salvation Army - that's another big change. Every morning we gather the entire office (80 people circa) for a morning prayer. (Stay with me atheist friends, there's nothing particular Christian about this post). The program is simple;
4141

42-
- Someone tells what's happening in the office today, who is aways etc.
42+
- Someone tells what's happening in the office today, who is always etc.
4343
- We have a short devotional, where someone shares their thoughts on a Bible passage
4444
- We sing a song that goes nicely together with the devotional
4545
- We pray for people working for the Salvation Army institutes and hospitals in the country, as well as another country in the world.
@@ -72,7 +72,7 @@ But how often do you talk about your values. Yeah, the ones on the wall over the
7272

7373
![Campfire](http://upload.wikimedia.org/wikipedia/commons/4/4b/Pancho_Villa_Expedition_-_Around_the_Campfire_HD-SN-99-02005.JPEG)
7474

75-
In order for them to mean something we need to live by them. And we can share how we live by them by telling the stories (thanks [Tobbe](http://twitter.com/drunkcod) for this insight). It's like sitting around the campfire and tell each other the stories. What if we took a couple of minutes with the group  (company, team or floor - take your pick) and shared what those values meant among eachother? What if we did that often?
75+
In order for them to mean something we need to live by them. And we can share how we live by them by telling the stories (thanks [Tobbe](http://twitter.com/drunkcod) for this insight). It's like sitting around the campfire and tell each other the stories. What if we took a couple of minutes with the group  (company, team or floor - take your pick) and shared what those values meant among each other? What if we did that often?
7676

7777
I think that would make us more aligned on why we are really here. In Gothenburg Brass Band speak: "getting the basics in place before we try to do the complicated stuff". Made sure we checked in with our basic values before we started to execute them.
7878

0 commit comments

Comments
 (0)