-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Re-Open * Added Spell Check Script (#48) * Added Spell Check Script * Fixed the spelling issues * Remove student experience staff officer (#51) * Update Date Recognised * Fix typo Thanks @Emersont1 Co-authored-by: Emersont1 <peter@peterhenryemerson.co.uk>
- Loading branch information
Showing
16 changed files
with
63 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Spell Check | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
spell-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install | ||
run: | | ||
sudo apt-get --yes update | ||
sudo apt-get --yes install aspell aspell-en flex | ||
- name: install opendetex | ||
run: | | ||
git clone https://github.com/pkubowicz/opendetex | ||
cd opendetex | ||
make | ||
sudo make install | ||
- name: spellcheck | ||
run: | | ||
cd $GITHUB_WORKSPACE | ||
./spell_check.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#! /bin/bash | ||
|
||
#get misspellt words | ||
|
||
errors=$(detex main.tex | aspell --lang="en_GB" list) | ||
|
||
|
||
allowed_words+=("HACKSOC" "ITEMSEP" "HACKNOTTS" "CYBER" "CYBERSECURITY" "HACKATHON" "HACKATHONS" "CTF" "SIG" "SU" "INCLUSIVITY" "TOPSEP" "SIGS" "NOTTS" "EDI" "AGM" "EGM" "HACKSOC'S" "INSPIREWIT" "ADVISOR" "SUPERORDINATE" "BYELAW" ) | ||
|
||
err=0 | ||
|
||
for sp in $errors; do | ||
spu=$(echo "$sp" | tr '[:lower:]' '[:upper:]') | ||
if [[ ! " ${allowed_words[@]} " =~ " ${spu} " ]]; then | ||
# echo suggestions | ||
echo "$sp" | aspell --lang="en_GB" -a | tail -n 2 | ||
err=1 | ||
fi | ||
done | ||
|
||
exit $err |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Date Recognised/Renewed: May 14, 2020 \\ | ||
Date Recognised/Renewed: June 19, 2020 \\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
\begin{clause} | ||
Appointed Society officers do not hold a voting role on committee. The committee should allow officers to vote on issues pertaining to their responsibilites. | ||
\end{clause} | ||
Appointed Society officers do not hold a voting role on committee. The committee should allow officers to vote on issues pertaining to their responsibilities. | ||
\end{clause} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
\begin{subclause} | ||
\textbf{Development Secretary} will do the following: | ||
\begin{itemize}[label=--,topsep=0em,itemsep=0em] | ||
\item Be responsible for the organizing, scheduling, and running of the society's workshop events | ||
\item Be responsible for the organising, scheduling, and running of the society's workshop events | ||
\item Be responsible for the creation of all first-party workshop content | ||
\item Be responsible for approving any third-party workshop content | ||
\item Ensure workshop materials are made available through the GitHub organisation | ||
\item Maintain the HackSoc GitHub organisation and repositories | ||
\item May appoint a deputy to be, or be responsible for ensuring that the technical infrastructure maintained by the society is in fully functioning order and able to cope with any new requirements throughout the year | ||
\item May appoint a deputy to be, or be responsible for maintaining back-end infrastructure of the HackSoc websites | ||
\item May appoint a deputy to be, or be responsible for the renewal and registeration domain names | ||
\item May appoint a deputy to be, or be responsible for the renewal and registration domain names | ||
\item Prepare a written handover for their successor | ||
\end{itemize} | ||
\end{subclause} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
\begin{clause} | ||
All secretarys must be elected at the annual general meeting (AGM). | ||
All secretaries must be elected at the annual general meeting (AGM). | ||
\end{clause} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters