Skip to content

Commit 1f885ba

Browse files
2 parents 50ac7f5 + bbdca8d commit 1f885ba

File tree

271 files changed

+11259
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+11259
-162
lines changed

.devcontainer/Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
FROM ubuntu:latest
22

3-
ARG HUGO=hugo_0.111.2_linux-amd64
4-
ARG HUGO_VER=v0.111.2
3+
ARG TARGETPLATFORM
54

6-
# general setup
75
RUN apt-get update && \
86
apt-get -y install vim wget sudo git
97

10-
RUN wget https://github.com/gohugoio/hugo/releases/download/$HUGO_VER/$HUGO.deb && apt-get -y install ./$HUGO.deb
8+
RUN case ${TARGETPLATFORM} in \
9+
"linux/amd64") HUGO=hugo_0.111.2_linux-amd64 ;; \
10+
"linux/arm64") HUGO=hugo_0.111.2_linux-arm64 ;; \
11+
esac \
12+
&& HUGO_VER=v0.111.2 \
13+
&& wget https://github.com/gohugoio/hugo/releases/download/${HUGO_VER}/${HUGO}.deb && apt-get -y install ./${HUGO}.deb
1114

1215
# User account
1316
ENV USER=ubuntu
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
docker build --platform linux/amd64 -t armswdev/learn-dev-container:amd64 .
2+
docker build --platform linux/arm64 -t armswdev/learn-dev-container:arm64 .
3+
4+
docker push armswdev/learn-dev-container:amd64
5+
docker push armswdev/learn-dev-container:arm64
6+
7+
docker manifest create armswdev/learn-dev-container:latest \
8+
--amend armswdev/learn-dev-container:arm64 \
9+
--amend armswdev/learn-dev-container:amd64
10+
11+
docker manifest push --purge armswdev/learn-dev-container:latest
12+

.devcontainer/devcontainer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
22
"name": "Arm Learning Paths",
33

4-
"build": {
5-
"dockerfile": "Dockerfile"
6-
},
4+
"image": "docker.io/armswdev/learn-dev-container:latest",
75

86
"forwardPorts": [1313],
97

108
"remoteUser": "ubuntu",
119

12-
"postStartCommand": "nohup bash -c 'hugo server --baseUrl=/ --liveReloadPort=443 --appendPort=false --bind=0.0.0.0 &' "
10+
"postStartCommand": "nohup bash -c 'hugo ; bin/pagefind --site public --output-subdir ../static/pagefind ; hugo server --baseUrl=/ --liveReloadPort=443 --appendPort=false --bind=0.0.0.0 &' "
1311

1412
}

.github/workflows/content-checks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
extended: true
2727

2828
- name: Build
29-
run: hugo --minify
29+
run: |
30+
hugo --minify
31+
bin/pagefind --site "public"
3032
3133
- name: Check HTML links
3234
continue-on-error: true

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838

3939
# Builds arm-learning-paths repo
4040
- name: Build
41-
run: hugo --minify
41+
run: |
42+
hugo --minify
43+
bin/pagefind --site "public"
4244
4345
# Copy SSH Key
4446
- name: copy key

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939

4040
# Builds arm-software-developer repo
4141
- name: Build
42-
run: hugo --minify
42+
run: |
43+
hugo --minify
44+
bin/pagefind --site "public"
4345
4446
# Deploys website to AWS S3
4547
- name: Deploy to S3

.gitpod.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ tasks:
22
- name: Install Hugo
33
before: brew install hugo
44
init: echo "Your version of Hugo is `hugo version`"
5-
command: hugo server -D -F --baseURL $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=0.0.0.0
5+
command: |
6+
hugo
7+
bin/pagefind --site "public" --output-subdir ../static/pagefind
8+
hugo server -D -F --baseURL $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=0.0.0.0
69
710
ports:
811
- port: 1313

.wordlist.txt

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ aaarch
740740
abc
741741
accelerometer
742742
acknowledgements
743+
acknowledgement
743744
acnt
744745
acq
745746
ade
@@ -1615,3 +1616,125 @@ drcachesim
16151616
dynamorio
16161617
mispredicted
16171618
lookaside
1619+
devel
1620+
glibc
1621+
procps
1622+
PACBTI
1623+
gatord
1624+
awscli
1625+
dns
1626+
Borycki
1627+
Dawid
1628+
rg
1629+
pds
1630+
WebApp
1631+
AllowAnyCustom
1632+
Konstantinos
1633+
Margaritis
1634+
VectorCamp
1635+
ASIMD
1636+
enum
1637+
solaris
1638+
Spickett
1639+
Allocator
1640+
allocator
1641+
pseudocode
1642+
struct
1643+
allocators
1644+
tradeoff
1645+
tradeoffs
1646+
unallocated
1647+
deallocate
1648+
prepend
1649+
initialise
1650+
ptr
1651+
LLSoftSecBook
1652+
nodeSelector
1653+
KMDF
1654+
DevCon
1655+
LXD
1656+
RME
1657+
CCA
1658+
AEM
1659+
Kconfig
1660+
buildroot
1661+
RMM
1662+
Bolt
1663+
Optimisation
1664+
PGO
1665+
llvmorg
1666+
latencies
1667+
algorithmica
1668+
colin
1669+
gistcomment
1670+
jboner
1671+
permalink
1672+
scott
1673+
SDD
1674+
Gbps
1675+
datacenter
1676+
mispredict
1677+
roundtrip
1678+
facto
1679+
DIMMs
1680+
cca
1681+
rme
1682+
JXrNkYysuXw
1683+
enablement
1684+
xA
1685+
xFFFFFFFF
1686+
gpc
1687+
rl
1688+
GPT
1689+
GPTBR
1690+
GPCCR
1691+
GPC
1692+
GPTSZ
1693+
PGS
1694+
VTTBR
1695+
xBxxxxxxx
1696+
xxxxxxx
1697+
JAX
1698+
Keras
1699+
jax
1700+
keras
1701+
Deadsnakes
1702+
CPython
1703+
Leandro
1704+
Nunes
1705+
Initializers
1706+
Optimizers
1707+
rebases
1708+
optimizers
1709+
IMDB
1710+
djangoproject
1711+
WSGI
1712+
Gunicorn
1713+
gunicorn
1714+
envoyproxy
1715+
hugetlbfs
1716+
Pprofdata
1717+
profdata
1718+
profraw
1719+
Xing
1720+
Zhengjun
1721+
CNCF
1722+
Lyft
1723+
microservices
1724+
VwbgFSoy
1725+
fargate
1726+
hBHf
1727+
microservices
1728+
ySm
1729+
Fargate’s
1730+
LearningPath
1731+
Przemyslaw
1732+
Wirkus
1733+
pe
1734+
Googolplex
1735+
PDB
1736+
DLL
1737+
si
1738+
PCbuild
1739+
cpython
1740+
CPython's

bin/pagefind

21.3 MB
Binary file not shown.

bin/pagefind.aarch64

21.1 MB
Binary file not shown.

0 commit comments

Comments
 (0)