Skip to content

Commit 1b68b94

Browse files
committed
Code formatter
1 parent 48c7bb0 commit 1b68b94

12 files changed

+44
-33
lines changed

astro.config.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ export default defineConfig({
2020
// https://vitejs.dev/guide/env-and-mode.html#env-files
2121
//base: import.meta.env.DEV ? "." : "/emeraldjava-astro",
2222
//base: import.meta.env.VITE_BASE,
23-
integrations: [tailwind({
24-
applyBaseStyles: false,
25-
}), react(), sitemap(), expressiveCode()],
23+
integrations: [
24+
tailwind({
25+
applyBaseStyles: false,
26+
}),
27+
react(),
28+
sitemap(),
29+
expressiveCode(),
30+
],
2631
image: {
2732
// see https://docs.astro.build/en/reference/errors/missing-sharp/
2833
service: passthroughImageService(),
@@ -63,4 +68,4 @@ export default defineConfig({
6368
// GitLab Pages requires exposed files to be located in a folder called "public".
6469
// So we're instructing Astro to put the static build output in a folder of that name.
6570
outDir: "./dist",
66-
});
71+
});

src/assets/socialIcons.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,18 +206,20 @@ const socialIcons = {
206206
q-43 -8 -67 -30q-29 -25 -35 -72q-2 -14 -2 -29l25 6q31 6 65 10q48 7 93 9q42 2 92 -2q32 -2 88 -9t107 -30q49 -23 81.5 -54.5t38.5 -63.5q9 -45 13 -109q4 -46 5 -97v-41q0 -56 -14 -103q-11 -40 -32 -73q-16 -26 -38 -47q-15 -15 -32 -25q-12 -8 -14 -8
207207
q-46 -22 -127 -33q-74 -10 -166 -11h-3zM367 267q73 0 109 56l24 39l24 -39q36 -56 109 -56q63 0 101 43t38 117v239h-95v-232q0 -74 -61 -74q-69 0 -69 88v127h-94v-127q0 -88 -69 -88q-61 0 -61 74v232h-95v-239q0 -74 38 -117t101 -43z" />
208208
</svg>`,
209-
Bluesky: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-bluesky">\n' +
209+
Bluesky:
210+
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-bluesky">\n' +
210211
' <path stroke="none" d="M0 0h24v24H0z" fill="none" />\n' +
211212
' <path d="M6.335 5.144c-1.654 -1.199 -4.335 -2.127 -4.335 .826c0 .59 .35 4.953 .556 5.661c.713 2.463 3.13 2.75 5.444 2.369c-4.045 .665 -4.889 3.208 -2.667 5.41c1.03 1.018 1.913 1.59 2.667 1.59c2 0 3.134 -2.769 3.5 -3.5c.333 -.667 .5 -1.167 .5 -1.5c0 .333 .167 .833 .5 1.5c.366 .731 1.5 3.5 3.5 3.5c.754 0 1.637 -.571 2.667 -1.59c2.222 -2.203 1.378 -4.746 -2.667 -5.41c2.314 .38 4.73 .094 5.444 -2.369c.206 -.708 .556 -5.072 .556 -5.661c0 -2.953 -2.68 -2.025 -4.335 -.826c-2.293 1.662 -4.76 5.048 -5.665 6.856c-.905 -1.808 -3.372 -5.194 -5.665 -6.856z" />\n' +
212-
'</svg>',
213-
StackOverflow: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-stackoverflow">\n' +
213+
"</svg>",
214+
StackOverflow:
215+
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-stackoverflow">\n' +
214216
' <path stroke="none" d="M0 0h24v24H0z" fill="none" />\n' +
215217
' <path d="M4 17v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-1" />\n' +
216218
' <path d="M8 16h8" />\n' +
217219
' <path d="M8.322 12.582l7.956 .836" />\n' +
218220
' <path d="M8.787 9.168l7.826 1.664" />\n' +
219221
' <path d="M10.096 5.764l7.608 2.472" />\n' +
220-
'</svg>'
222+
"</svg>",
221223
};
222224

223225
export default socialIcons;

src/config.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,25 @@ export const SOCIALS: SocialObjects = [
3838
href: "https://github.com/emeraldjava",
3939
linkTitle: "${SITE.title} on Github",
4040
active: true,
41-
}, {
41+
},
42+
{
4243
name: "LinkedIn",
4344
href: "https://www.linkedin.com/in/paultoconnell/",
4445
linkTitle: "${SITE.title} on LinkedIn",
4546
active: true,
46-
}, {
47+
},
48+
{
4749
name: "StackOverflow",
4850
href: "https://stackoverflow.com/users/55794/emeraldjava",
4951
linkTitle: "${SITE.title} on StackOverflow",
5052
active: true,
51-
}, {
53+
},
54+
{
5255
name: "Bluesky",
5356
href: "https://bsky.app/profile/emeraldjava.bsky.social",
5457
linkTitle: "${SITE.title} on Bluesky",
5558
active: true,
56-
}
59+
},
5760
];
5861

5962
// export const GISCUS: GiscusProps = {

src/content/blog/2022/2022-02-22-updates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags: []
99

1010
# emeraldjava cv
1111

12-
Have updated the CV to reflect recent experience. Needed to updated the github action and other npm versions.
12+
Have updated the CV to reflect recent experience. Needed to updated the github action and other npm versions.
1313

1414
Added the caffeine theme and need to see if the resumefodder word template can be converted.
1515

@@ -19,4 +19,4 @@ Updated the gatsby versions
1919

2020
# Web Assembly
2121

22-
Need to play with technology and add an app to this site.
22+
Need to play with technology and add an app to this site.

src/content/blog/2022/2022-09-02-ship-it-con-2022.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,16 @@ gitpod.io
5959

6060
## 12.00 Scout24
6161

62-
Using AWS CDK's to create developer portals for new platforms.
62+
Using AWS CDK's to create developer portals for new platforms.
6363
Spotify backstage.io
6464

6565
## 14.30 Intercom
6666

67-
Oncall support and how to track/learn from alerts.
68-
Github issue workflow
67+
Oncall support and how to track/learn from alerts.
68+
Github issue workflow
6969

7070
## 16.00 Laura Nolan
7171

7272
Incident reports and how to write them. Tell the human story of the incident and what was leart is key.
73-
See [VOID - Verica Open Incident Database](https://www.thevoid.community/)
73+
See [VOID - Verica Open Incident Database](https://www.thevoid.community/)
7474
@lauralifts
75-

src/content/blog/2022/2022-09-14-docker-meetup-dublin.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ summary: "Docker Extensions"
1111
# Docker Extensions
1212

1313
Thomas Shaw @ tomwillfixit
14+
1415
- see https://tomwillfixit.com/
1516
- see https://github.com/tomwillfixit
1617

1718
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">At dublin docker meetup in the mongodb offices listening to <a href="https://twitter.com/tomwillfixit?ref_src=twsrc%5Etfw">@tomwillfixit</a> talk about docker extensions <a href="https://t.co/hDw1qKF3Np">pic.twitter.com/hDw1qKF3Np</a></p>&mdash; emeraldjava (@emeraldjava) <a href="https://twitter.com/emeraldjava/status/1570115954419372032?ref_src=twsrc%5Etfw">September 14, 2022</a></blockquote>
1819

1920
## Talk Notes
21+
2022
- Extensions allow any 3rd party tool to be packaged and delivered via Docker.
2123
- Extensions are docker images with extra meta-data.
2224
- Same docker commands/tools.
@@ -28,4 +30,3 @@ Thomas Shaw @ tomwillfixit
2830
# Buildx, Extensions and Bake
2931

3032
Ivan Pedrazas
31-

src/content/blog/2022/2022-11-05-hello-mastodon-ie.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ tags: [social]
99

1010
Moving to mastodon.
1111

12-
1312
# Docker Extension
1413

1514
- https://www.jerriepelser.com/blog/sorting-out-gatsby-folder-structure/

src/content/blog/2022/2022-11-20-synology-home-assistent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ description: "Synology and Remote Home Assistent"
44
slug: "2022-11-20"
55
pubDatetime: 2022-11-20T00:00:00Z
66
published: true
7-
tags:
8-
- synology
9-
7+
tags:
8+
- synology
109
---
1110

1211
<!-- @import "[TOC]" {cmd="toc" depthFrom=1 depthTo=6 orderedList=false} -->
@@ -30,6 +29,7 @@ The following outline the steps i've taken to try and configure remote access to
3029
<!--more-->
3130

3231
Reference
32+
3333
- https://www.protoncek.com/2021/04/17/synology-reverse-proxy/
3434
- https://community.home-assistant.io/t/setup-on-synology-nas-with-remote-access/430949/2
3535

@@ -42,7 +42,7 @@ The hope is that these URL will return a valid response
4242

4343
# Router Config
4444

45-
My home router has the following Port Forwarding rules which send all requests to the Synology IP. Ports 443 and 80 should be open.
45+
My home router has the following Port Forwarding rules which send all requests to the Synology IP. Ports 443 and 80 should be open.
4646

4747
![router-port-forwarding](./11/20/router-port-forwarding.png)
4848

src/content/blog/2024/2024-06-22-GA.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ https://tagmanager.google.com/#/container/accounts/6236586547/containers/1882590
1818

1919
## update
2020

21-
Need to use is:inline to enable.
21+
Need to use is:inline to enable.

src/content/blog/2025/2025-02-10-expressive-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ https://expressive-code.com/installation/#astro
1515
## Example
1616

1717
```js
18-
console.log('This code is syntax highlighted!')
19-
```
18+
console.log("This code is syntax highlighted!");
19+
```

src/layouts/Layout.astro

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,15 @@ const structuredData = {
5858
>
5959
<head>
6060
<!-- Google tag (gtag.js) -->
61-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V66JPM85FQ"></script>
61+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V66JPM85FQ"
62+
></script>
6263
<script is:inline>
6364
window.dataLayer = window.dataLayer || [];
64-
function gtag(){dataLayer.push();}
65-
gtag('js', new Date());
66-
gtag('config', 'G-V66JPM85FQ');
65+
function gtag() {
66+
dataLayer.push();
67+
}
68+
gtag("js", new Date());
69+
gtag("config", "G-V66JPM85FQ");
6770
</script>
6871

6972
<meta charset="UTF-8" />

src/layouts/PostDetails.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ const nextPost =
191191
<!-- data-category="[ENTER CATEGORY NAME HERE]"-->
192192
<!-- data-category-id="[ENTER CATEGORY ID HERE]">-->
193193
<!--</script>-->
194-
195194
</main>
196195
<Footer />
197196
</Layout>

0 commit comments

Comments
 (0)