Skip to content

Commit c283377

Browse files
committed
prettier q
1 parent a178bbc commit c283377

File tree

7 files changed

+20
-36
lines changed

7 files changed

+20
-36
lines changed

pages/bash/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -824,9 +824,6 @@ <h2>bash sourcecode</h2>
824824
see source: https://git.savannah.gnu.org/
825825
deeper: https://cgit.git.savannah.gnu.org/cgit/bash.git/
826826
unofficial git repo: https://github.com/bminor/bash/blob/master/examples/loadables/cat.c
827-
828-
829-
830827
</script>
831828
<h2>manpages</h2>
832829
<script type="editor" data-lang="sh">

pages/clock/index.template.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ <h2>US timezones</h2>
9090
Europe
9191
Greenwich Mean Time (GMT) or Central European Time (CET) - Since many European countries follow GMT (in the UK)
9292
CET (like France, Germany, and Poland), these are often used to represent European hours in company-wide schedules.
93-
94-
95-
9693
</script>
9794
<style>
9895
.usamap {
@@ -485,7 +482,7 @@ <h2>US timezones</h2>
485482
</script>
486483
<script type="editor" data-lang="sh">
487484
--- research with chatgpt:
488-
485+
489486
In conversation or emails, most Americans will just say:
490487
“3 pm Eastern”
491488
“Noon Pacific”
@@ -494,7 +491,7 @@ <h2>US timezones</h2>
494491
so in use are Eastern / Central / Mountain / Pacific
495492

496493
The formal abbreviations do change with daylight saving:
497-
Winter: PST / MST / CST / EST
494+
Winter: PST / MST / CST / EST
498495
Summer: PDT / MDT / CDT / EDT
499496
But most people don’t switch them in casual use.
500497
Many Americans will still say “EST” in July, even though technically it’s “EDT.

pages/css/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,8 +843,8 @@ <h2>Button rotate</h2>
843843
border: 5px solid transparent;
844844
background: linear-gradient(white) padding-box,
845845
conic-gradient(from var(--angle), blue, red, blue) border-box;
846-
animation: rotate 1s linear infinite;
847-
animation-play-state: paused;
846+
animation: rotate 1s linear infinite;
847+
animation-play-state: paused;
848848
}
849849
button:hover,
850850
button:focus-visible {

pages/java/maven.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ <h2>Cmd</h2>
6565

6666
# run test
6767
mvn test -Dtest="ProductCreationControllerTest#rollbackProductType*"
68-
mvn clean test -Dtest="TheSecondUnitTest#whenTestCase2_thenPrintTest2_1"
69-
68+
mvn clean test -Dtest="TheSecondUnitTest#whenTestCase2_thenPrintTest2_1"
69+
7070
# publish of the library
7171
mvn deploy
7272

pages/mac/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,10 @@ <h2>CLI</h2>
317317
</script>
318318

319319
<h2>Bartender 4 (Menu bar Menubar icons management tool)</h2>
320-
<p class="note">Instead of using Bartender use <a href="https://github.com/jordanbaird/Ice/releases">ICE app</a> - current version is Ice 0.11.13 (macOS Tahoe Beta 2)</p>
320+
<p class="note">
321+
Instead of using Bartender use <a href="https://github.com/jordanbaird/Ice/releases">ICE app</a> - current
322+
version is Ice 0.11.13 (macOS Tahoe Beta 2)
323+
</p>
321324
<a href="https://www.macbartender.com/">Bartender 4 homepage</a>
322325
<img style="width: 800px" src="https://i.imgur.com/Rkp0pQj.png" />
323326
<br />
@@ -326,13 +329,12 @@ <h2>Bartender 4 (Menu bar Menubar icons management tool)</h2>
326329
<img style="width: 800px" src="https://i.imgur.com/VLYi91Z.png" />
327330
<h2>containers - docker replacement</h2>
328331
<script type="editor" data-lang="sh">
329-
332+
330333
# from: https://youtu.be/CYd9MC3L11o
331334
brew install container
332335
container system start
333336
container image pull nginx
334337
container run -d nginx
335-
336338
</script>
337339
<h2>Identify Mac</h2>
338340
<script type="editor" data-lang="sh">
@@ -488,7 +490,7 @@ <h2>Zoom - gesture with modiffier key</h2>
488490
</script>
489491

490492
<h2>mac won't sleep</h2>
491-
493+
492494
<script type="editor" data-lang="sh">
493495

494496
pmset -g assertions
@@ -497,7 +499,6 @@ <h2>mac won't sleep</h2>
497499
# You can disable aggressive sleep-prevention with:
498500
sudo systemsetup -setwakeonnetworkaccess off
499501
sudo pmset -a disablesleep 0
500-
501502
</script>
502503
<h2>AirDrop on Dock</h2>
503504

pages/online_services/index.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@
1414
<div class="inside">
1515
<script type="editor" data-lang="sh">
1616

17-
Ascii editor:
18-
// https://asciiflow.com/#
19-
// HINT: Press alt button to get help about keyboard shortcuts
20-
21-
img -> url base64
22-
https://elmah.io/tools/base64-image-encoder/
17+
Ascii editor:
18+
// https://asciiflow.com/#
19+
// HINT: Press alt button to get help about keyboard shortcuts
2320

21+
img -> url base64
22+
https://elmah.io/tools/base64-image-encoder/
2423
</script>
25-
2624
</div>
2725
</div>
2826
<script type="module" src="/js/github.js"></script>

vanilla-tabs.js

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,7 @@ window.vanillaTabs = (function () {
129129
throw th(`buttons and tabs length mismatch`, parent);
130130
}
131131

132-
if (
133-
!(
134-
Number.isInteger(zeroIndex) &&
135-
!Number.isNaN(zeroIndex) &&
136-
zeroIndex > -1
137-
)
138-
) {
132+
if (!(Number.isInteger(zeroIndex) && !Number.isNaN(zeroIndex) && zeroIndex > -1)) {
139133
throw th(`zeroIndex not found`, zeroIndex, parent, target);
140134
}
141135

@@ -182,9 +176,7 @@ window.vanillaTabs = (function () {
182176
if (match) {
183177
const parent = target.parentNode.parentNode;
184178

185-
const buttons = Array.from(
186-
parent.querySelector("[data-buttons]").children
187-
);
179+
const buttons = Array.from(parent.querySelector("[data-buttons]").children);
188180

189181
const zeroIndex = buttons.indexOf(target) ?? 0;
190182

@@ -213,8 +205,7 @@ window.vanillaTabs = (function () {
213205
return (
214206
node.nodeType === Node.ELEMENT_NODE &&
215207
node.matches &&
216-
(node.matches("[data-buttons]") ||
217-
node.querySelector("[data-buttons]"))
208+
(node.matches("[data-buttons]") || node.querySelector("[data-buttons]"))
218209
);
219210
});
220211
}

0 commit comments

Comments
 (0)