aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mds/cstruct2luatable.md8
-rw-r--r--mds/lazymakefiles.md6
-rw-r--r--mds/oneclientforeverything.md1
-rw-r--r--put_in_db.js6
4 files changed, 17 insertions, 4 deletions
diff --git a/mds/cstruct2luatable.md b/mds/cstruct2luatable.md
index 36c9d45..a8eb92c 100644
--- a/mds/cstruct2luatable.md
+++ b/mds/cstruct2luatable.md
@@ -340,3 +340,11 @@ Any feedback, suggestions and/or fixes to the tutorial is much appreciated.<br/>
I needed to turn a C struct into a lua table for an application I'm working [on](https://github.com/bloodstalker/mutator/tree/master/bruiser). Further down the line, I needed to do the same for a lot more C structs with the possibility of me having to do the same for a lot more C structs. I just couldn't bring myself to do it manually for that many C structs so I decided to work on a code generator that does that for me. The result is [luatablegen](https://github.com/bloodstalker/luatablegen).<br/>
`luatablegen` is a simple script that takes the description of your C structures in an XML file and generates the C code for your new tables and metatables. It does everything we did by hand automatically for us.<br/>
`lautablegen` is in its early stages, so again, any feedback or help will be appreciated.<br/>
+
+<p>
+ <div class="timestamp">timestamp:1705630055</div>
+ <div class="version">version:1.0.0</div>
+ <div class="rsslink">https://blog.terminaldweller.com/rss/feed</div>
+ <div class="originalurl">https://raw.githubusercontent.com/terminaldweller/blog/main/mds/cstruct2luatable.md</div>
+</p>
+<br>
diff --git a/mds/lazymakefiles.md b/mds/lazymakefiles.md
index ded0fab..be71c46 100644
--- a/mds/lazymakefiles.md
+++ b/mds/lazymakefiles.md
@@ -100,6 +100,8 @@ Well that's about it.<br/>
Below you can find the current(at the time of writing) versio of both the C and the Cpp makefiles.<br/>
You can always find the latest versions [here](https://raw.githubusercontent.com/terminaldweller/scripts/main/makefilec) for C and [here](https://raw.githubusercontent.com/terminaldweller/scripts/main/makefilecpp) for Cpp.<br/>
+## C
+
```make
TARGET?=main
SHELL=bash
@@ -340,6 +342,7 @@ help:
@echo "--deepclean will clean almost everything"
```
+## Cpp
```make
TARGET?=main
SHELL=bash
@@ -583,7 +586,8 @@ help:
<p>
<div class="timestamp">timestamp:1705630055</div>
- <div class="version">version:1.0.0</div>
+ <div class="version">version:1.1.0</div>
<div class="rsslink">https://blog.terminaldweller.com/rss/feed</div>
+ <div class="originalurl">https://raw.githubusercontent.com/terminaldweller/blog/main/mds/lazymakefiles.md</div>
</p>
<br>
diff --git a/mds/oneclientforeverything.md b/mds/oneclientforeverything.md
index e262815..6b633ef 100644
--- a/mds/oneclientforeverything.md
+++ b/mds/oneclientforeverything.md
@@ -193,5 +193,6 @@ volumes:
<div class="timestamp">timestamp:1699398469</div>
<div class="version">version:0.1.0</div>
<div class="rsslink">https://blog.terminaldweller.com/rss/feed</div>
+ <div class="originalurl">https://raw.githubusercontent.com/terminaldweller/blog/main/mds/oneclientforeverything.md</div>
</p>
<br>
diff --git a/put_in_db.js b/put_in_db.js
index fadcc42..eb91672 100644
--- a/put_in_db.js
+++ b/put_in_db.js
@@ -26,7 +26,7 @@ blogs = [
title: "One Chat Client For Everything",
slug: "one_chat_client_for_everything",
body: fs.readFileSync(
- path.join(__dirname) + "/mds/oneclientforeverything.md"
+ path.join(__dirname) + "/mds/oneclientforeverything.md",
),
teaser: "One Chat Client For Everything",
keywords: "irc,matrix,mattermost,matterbridge,bitlbee,irssi",
@@ -34,10 +34,10 @@ blogs = [
},
];
-// db.blogposts.insertMany([blog_entry_1, blog_entry_2, blog_entry_3]);
+// db.blogposts.insertMany(blogs);
db.blogposts.updateMany(
{ $set: blogs },
{
upsert: true,
- }
+ },
);