Browse Source

swap include_url calls to set gitea as fallback

Thomas B 1 day ago
parent
commit
0c04adbb05

+ 7
- 7
input/blog/2024/2024_05_05_auto_project_docs.md View File

@@ -97,8 +97,8 @@ function copyEvent(id) {
97 97
 <pre id="generatedocs" class="sh_sh">
98 98
 <!--%
99 99
 include_url(
100
+    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/docs/generate_docs.sh",
100 101
     "https://git.xythobuz.de/thomas/drumkit/raw/commit/314bf218ca5e958d6ffa825d92d702cb5431abf6/docs/generate_docs.sh",
101
-    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/docs/generate_docs.sh"
102 102
 )
103 103
 %-->
104 104
 </pre>
@@ -113,8 +113,8 @@ Add the `.github/workflows/docs.yml` script:
113 113
 <pre id="docsyml" class="sh_yaml">
114 114
 <!--%
115 115
 include_url(
116
+    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/docs.yml",
116 117
     "https://git.xythobuz.de/thomas/drumkit/raw/commit/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/docs.yml",
117
-    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/docs.yml"
118 118
 )
119 119
 %-->
120 120
 </pre>
@@ -137,8 +137,8 @@ If you want to visualize 3D print files, do the same with `3dprint/generate_stls
137 137
 <pre id="generatestls" class="sh_sh">
138 138
 <!--%
139 139
 include_url(
140
+    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/3dprint/generate_stls.sh",
140 141
     "https://git.xythobuz.de/thomas/drumkit/raw/commit/314bf218ca5e958d6ffa825d92d702cb5431abf6/3dprint/generate_stls.sh",
141
-    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/3dprint/generate_stls.sh"
142 142
 )
143 143
 %-->
144 144
 </pre>
@@ -149,8 +149,8 @@ include_url(
149 149
 <pre id="scadyml" class="sh_yaml">
150 150
 <!--%
151 151
 include_url(
152
+    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/scad.yml",
152 153
     "https://git.xythobuz.de/thomas/drumkit/raw/commit/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/scad.yml",
153
-    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/scad.yml"
154 154
 )
155 155
 %-->
156 156
 </pre>
@@ -171,8 +171,8 @@ If you want to generate gerber files from PCBs, do something similar with `pcb/g
171 171
 <pre id="generatefab" class="sh_sh">
172 172
 <!--%
173 173
 include_url(
174
+    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/pcb2/generate_fab.sh",
174 175
     "https://git.xythobuz.de/thomas/drumkit/raw/commit/314bf218ca5e958d6ffa825d92d702cb5431abf6/pcb2/generate_fab.sh",
175
-    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/pcb2/generate_fab.sh"
176 176
 )
177 177
 %-->
178 178
 </pre>
@@ -183,8 +183,8 @@ include_url(
183 183
 <pre id="kicadyml" class="sh_yaml">
184 184
 <!--%
185 185
 include_url(
186
+    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/kicad.yml",
186 187
     "https://git.xythobuz.de/thomas/drumkit/raw/commit/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/kicad.yml",
187
-    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/.github/workflows/kicad.yml"
188 188
 )
189 189
 %-->
190 190
 </pre>
@@ -199,8 +199,8 @@ If you want to visualize KiCad schematics and PCBs in 2D and 3D, add `pcb/genera
199 199
 <pre id="generateplot" class="sh_sh">
200 200
 <!--%
201 201
 include_url(
202
+    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/pcb2/generate_plot.sh",
202 203
     "https://git.xythobuz.de/thomas/drumkit/raw/commit/314bf218ca5e958d6ffa825d92d702cb5431abf6/pcb2/generate_plot.sh",
203
-    "https://github.com/xythobuz/lars/raw/314bf218ca5e958d6ffa825d92d702cb5431abf6/pcb2/generate_plot.sh"
204 204
 )
205 205
 %-->
206 206
 </pre>

+ 3
- 3
input/projects/3d-printing/i3-am8.md View File

@@ -265,8 +265,8 @@ function copyEvent(id) {
265 265
 <pre id="printercfg" class="sh_desktop">
266 266
 <!--%
267 267
 include_url(
268
+    "https://codeberg.org/xythobuz/3d-print-designs/raw/branch/master/configs/i3-AM8/printer.cfg",
268 269
     "https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/printer.cfg",
269
-    "https://codeberg.org/xythobuz/3d-print-designs/raw/branch/master/configs/i3-AM8/printer.cfg"
270 270
 )
271 271
 %-->
272 272
 </pre>
@@ -277,8 +277,8 @@ include_url(
277 277
 <pre id="moonrakerconf" class="sh_desktop">
278 278
 <!--%
279 279
 include_url(
280
+    "https://codeberg.org/xythobuz/3d-print-designs/raw/branch/master/configs/i3-AM8/moonraker.conf",
280 281
     "https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/moonraker.conf",
281
-    "https://codeberg.org/xythobuz/3d-print-designs/raw/branch/master/configs/i3-AM8/moonraker.conf"
282 282
 )
283 283
 %-->
284 284
 </pre>
@@ -289,8 +289,8 @@ And [here](https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/con
289 289
 <pre id="prusabundle" class="sh_desktop">
290 290
 <!--%
291 291
 include_url(
292
+    "https://codeberg.org/xythobuz/3d-print-designs/raw/branch/master/configs/i3-AM8/PrusaSlicer_config_bundle.ini",
292 293
     "https://git.xythobuz.de/thomas/3d-print-designs/raw/branch/master/configs/i3-AM8/PrusaSlicer_config_bundle.ini",
293
-    "https://codeberg.org/xythobuz/3d-print-designs/raw/branch/master/configs/i3-AM8/PrusaSlicer_config_bundle.ini"
294 294
 )
295 295
 %-->
296 296
 </pre>

+ 1
- 1
input/projects/3d-printing/sparkmaker_repair.md View File

@@ -145,8 +145,8 @@ The route to take was therefore obvious: write a script that takes `.sl1` files
145 145
 <pre class="sh_python">
146 146
 <!--%
147 147
 include_url(
148
+    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/tools/convert_sparkmaker.py",
148 149
     "https://git.xythobuz.de/thomas/gcode-tools/raw/branch/master/tools/convert_sparkmaker.py",
149
-    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/tools/convert_sparkmaker.py"
150 150
 )
151 151
 %-->
152 152
 </pre>

+ 1
- 1
input/projects/auto_brightness.md View File

@@ -150,8 +150,8 @@ To alleviate this a bit I'm now using a [KWin script](https://develop.kde.org/do
150 150
 <pre class="sh_javascript">
151 151
 <!--%
152 152
 include_url(
153
+    "https://github.com/xythobuz/AutoBrightness/raw/refs/heads/main/client/kwin_check.js",
153 154
     "https://git.xythobuz.de/thomas/AutoBrightness/raw/branch/main/client/kwin_check.js",
154
-    "https://github.com/xythobuz/AutoBrightness/raw/refs/heads/main/client/kwin_check.js"
155 155
 )
156 156
 %-->
157 157
 </pre>

+ 5
- 5
input/projects/laser-engraver.md View File

@@ -276,8 +276,8 @@ But my script below should work for all variants I have seen up to now.
276 276
 <pre class="sh_python">
277 277
 <!--%
278 278
 include_url(
279
+    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/tools/convert_lasergrbl.py",
279 280
     "https://git.xythobuz.de/thomas/gcode-tools/raw/branch/master/tools/convert_lasergrbl.py",
280
-    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/tools/convert_lasergrbl.py"
281 281
 )
282 282
 %-->
283 283
 </pre>
@@ -342,8 +342,8 @@ I copy this file to the SD card, start it, and just abort it when I'm done with
342 342
 <pre class="sh_python">
343 343
 <!--%
344 344
 include_url(
345
+    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/tools/outline_gcode.py",
345 346
     "https://git.xythobuz.de/thomas/gcode-tools/raw/branch/master/tools/outline_gcode.py",
346
-    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/tools/outline_gcode.py"
347 347
 )
348 348
 %-->
349 349
 </pre>
@@ -356,8 +356,8 @@ It's drawing a grid for reference on the base plate of the machine, including nu
356 356
 <pre class="sh_python">
357 357
 <!--%
358 358
 include_url(
359
+    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/generators/grid_gcode.py",
359 360
     "https://git.xythobuz.de/thomas/gcode-tools/raw/branch/master/generators/grid_gcode.py",
360
-    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/generators/grid_gcode.py"
361 361
 )
362 362
 %-->
363 363
 </pre>
@@ -385,8 +385,8 @@ As I grew tired of removing, flashing and re-inserting of the SD card, I decided
385 385
 <pre class="sh_python">
386 386
 <!--%
387 387
 include_url(
388
+    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/tools/send_gcode.py",
388 389
     "https://git.xythobuz.de/thomas/gcode-tools/raw/branch/master/tools/send_gcode.py",
389
-    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/tools/send_gcode.py"
390 390
 )
391 391
 %-->
392 392
 </pre>
@@ -403,8 +403,8 @@ I then made another Python script go generate G-Code for a cutting test, varying
403 403
 <pre class="sh_python">
404 404
 <!--%
405 405
 include_url(
406
+    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/generators/cut_test_gcode.py",
406 407
     "https://git.xythobuz.de/thomas/gcode-tools/raw/branch/master/generators/cut_test_gcode.py",
407
-    "https://codeberg.org/xythobuz/gcode-tools/raw/branch/master/generators/cut_test_gcode.py"
408 408
 )
409 409
 %-->
410 410
 </pre>

+ 2
- 2
input/projects/osci_music_player.md View File

@@ -259,8 +259,8 @@ Here is [`~/osci-pi.py`](https://git.xythobuz.de/thomas/osci-music-player/raw/br
259 259
 <pre id="oscipipy" class="sh_python">
260 260
 <!--%
261 261
 include_url(
262
+    "https://raw.githubusercontent.com/xythobuz/osci-music-player/refs/heads/master/osci-pi.py",
262 263
     "https://git.xythobuz.de/thomas/osci-music-player/raw/branch/master/osci-pi.py",
263
-    "https://raw.githubusercontent.com/xythobuz/osci-music-player/refs/heads/master/osci-pi.py"
264 264
 )
265 265
 %-->
266 266
 </pre>
@@ -272,8 +272,8 @@ Adjust the username and path accordingly.
272 272
 <pre id="osciservice" class="sh_desktop">
273 273
 <!--%
274 274
 include_url(
275
+    "https://raw.githubusercontent.com/xythobuz/osci-music-player/refs/heads/master/osci.service",
275 276
     "https://git.xythobuz.de/thomas/osci-music-player/raw/branch/master/osci.service",
276
-    "https://raw.githubusercontent.com/xythobuz/osci-music-player/refs/heads/master/osci.service"
277 277
 )
278 278
 %-->
279 279
 </pre>

Loading…
Cancel
Save