Skip to content

Commit 0b03340

Browse files
committed
Added TODO markers
1 parent 79e3884 commit 0b03340

File tree

5 files changed

+69
-0
lines changed

5 files changed

+69
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#include <stdio.h>
2+
3+
# TODO: Fix this, it is still buggy
4+
5+
void sort (
6+
int a[],
7+
int n) {
8+
9+
for (int current = 0; current < n-1; current++) {
10+
int lowestindex = current;
11+
12+
for (int j = current+1; j < n; j++) {
13+
if (a[j] < a[current]) {
14+
lowestindex = j;
15+
}
16+
}
17+
18+
if (lowestindex < current) {
19+
int temp = a[current];
20+
a[current] = a[lowestindex];
21+
a[lowestindex] = temp;
22+
}
23+
}
24+
}
25+
26+
int main () {
27+
int a[4];
28+
29+
a[0] = 5;
30+
a[1] = 3;
31+
a[2] = 7;
32+
a[3] = 4;
33+
34+
printf("Original:\n");
35+
for (int i = 0; i < 4; i++) {
36+
printf("%d position %d\n", a[i], i);
37+
}
38+
39+
sort(a, 4);
40+
41+
printf("\nSorted:\n");
42+
for (int i = 0; i < 4; i++) {
43+
printf("%d position %d\n", a[i], i);
44+
}
45+
46+
return 0;
47+
}

javascript/console.log.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Console.log
2+
3+
TODO: Add more information on the console.log capabilities
4+
5+
## References
6+
7+
- [Medium Blog Post](https://medium.com/javascript-in-plain-english/mastering-js-console-log-like-a-pro-1c634e6393f9)
8+
- [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Console/log)
9+
- [Node.js](https://nodejs.org/api/console.html)

slack/integrate_github.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Integrate GitHub
2+
3+
TODO: add TIL on integrating GitHub with Slack

slack/integrate_travisci.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Integrate Travis CI
2+
3+
TODO: add TIL on integrating Travis CI with Slack

vscode/project_manager_extension.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Project Manager Extension
2+
3+
TODO: Added TIL on this marvellous extension
4+
5+
## References
6+
7+
- [Visual Studio Marketplace: Project Manager](https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager)

0 commit comments

Comments
 (0)