Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Infinidoge committed Aug 9, 2024
0 parents commit 414ad11
Show file tree
Hide file tree
Showing 120 changed files with 2,611 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
78 changes: 78 additions & 0 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches:
- master

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.128.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
TZ: America/Los_Angeles
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4


14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Nix

/.direnv
**/result

# Hugo
/.hugo_build.lock
/public
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json

# Misc
/tmp
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Purdue Linux Users Group Site

Built with Hugo, with themes derived from [risotto](https://github.com/joeroe/risotto) and [hugo-notice](https://github.com/martignoni/hugo-notice).
See their respective theme folders for more information.
All vendored themes have unnecessary files (such as git metadata) removed.

## Building

### With Nix

The end-site can be built with `nix build`. The output will be in `./result`
Alternatively, while in the devshell (using `direnv` or `nix develop`), run `hugo`. The output will be in `/public`.

### Without Nix

Install Hugo, then run `hugo`.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [ ] Convert officers/notable members table to csv (https://gohugo.io/content-management/data-sources/#augment-existing-content)
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
date: '{{ .Date }}'
draft: true
---
11 changes: 11 additions & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
languageCode = "en"
enableInlineShortcodes = true
theme = ["hugo-notice", "risotto"]

[markup.goldmark.renderer]
unsafe = true

[markup.tableOfContents]
startLevel = 2
endLevel = 4
ordered = true
22 changes: 22 additions & 0 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[about]
title = "Purdue Linux Users Group"
description = """
Find us on Matrix at<br>
[`#purduelug:boiler.social`](https://matrix.to/#/#purduelug:boiler.social)
Or on IRC at<br>
[`irc://irc.libera.chat/#purduelug`](irc://irc.libera.chat/#purduelug)
Check out the [GitHub organization](https://github.com/purduelug) for some of our projects!
"""

[[socialLinks]]
icon = "fa-brands fa-github"
title = "GitHub"
url = "https://github.com/PurdueLUG"

[[socialLinks]]
icon = "fa-solid fa-envelope"
title = "Email"
url = "mailto:[email protected]"

17 changes: 17 additions & 0 deletions config/_default/privacy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[vimeo]
disabled = false
simple = true

[twitter]
disabled = false
enableDNT = true
simple = true

[instagram]
disabled = false
simple = true

[youtube]
disabled = false
privacyEnhanced = true

5 changes: 5 additions & 0 deletions config/_default/services.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[instagram]
disableInlineCSS = true

[twitter]
disableInlineCSS = true
14 changes: 14 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: 'Home'
date: '2024-08-08T21:36:11-04:00'
---

# Welcome to the Purdue Linux Users Group

We are a Purdue organization that supports Linux, open source software, and Unix-line environments like Mac OSX, BSD, and WSL.

## Meetings

We meet every week at 6pm in SCHM 117.

![gunter](/images/gunter.png)
61 changes: 61 additions & 0 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
title: 'About'
---

The Purdue Linux Users Group (PLUG) is a Free/Open Source Software enthusiast club that was founded in 1994.
Members are interested in not just Linux, but also BSD, Mac OSX, and other software that is Free/Open Source in whole or in part.
Our meetings generally consist of social gatherings where we get together and talk tech, presentations by members or outside parties, expositions to the public at large, etc.

Our office is in Lawson B128, however we usually holding our meetings in SCHM 117.

You can join our mailing list [here](https://groups.google.com/forum/#!forum/purduelug/join)

See the sidebar for Matrix, IRC, and GitHub.

# Past Presidents and Officers

<style type="text/css">
td:first-child {
white-space: nowrap;
}
</style>

| Year | President | Vice President | Treasurer | Secretary |
|---------|----------------------|----------------|-------------------|---------------|
| 2024-25 | Ersei Saggi | | Lily Siwik | Lillith --- |
| 2023-24 | Logan Hickok-Dickson | | Ersei Saggi | Lily Siwik |
| 2022-23 | Caleb Berger | | Dominic Russo | Dominic Russo |
| 2021-22 | Larkin Nickle | Dominic Yoder | Caleb Berger | Dominic Russo |
| 2020-21 | June Slater | Dominic Yoder | Caleb Berger | |
| 2019-20 | Thomas Berryhill | Dominic Yoder | June Slater | |
| 2018-19 | Amol Jha | Dominic Yoder | Parth Shelgaonkar | |
| 2017-18 | | Nick Geirland | Jeff Hughes | |
| 2016-17 | Evan Widloski | Nick Geirland | Jeff Hughes | |
| 2015-16 | Evan Widloski | Nick Geirland | Nick Geirland | |
| 2014-15 | Evan Widloski | Nick Geirland | Nick Geirland | |
| 2013-14 | Thor Smith | Kyle Brown | Alex Ryker | |
| 2012-13 | Thor Smith | Spencer Julian | Alex Ryker | |
| 2011-12 | Casey Drummer | Spencer Julian | Thor Smith | |
| 2010-11 | Casey Drummer | Spencer Julian | Quinn Damerell | |
| 2009-10 | Casey Drummer | Spencer Julian | Quinn Damerell | |
| 2008-09 | Erik Nelson | | | |
| 2006-07 | Luke Hoersten | Michael Olson | | |

# Notable Members

| Year | Webmaster | Member-at-Large |
|---------|----------------|----------------------------|
| 2024-25 | Lillith --- | |
| 2021-22 | Thomas Kennell | |
| 2020-21 | | Thomas Kennell |
| 2019-20 | | Thomas Kennell |
| 2018-19 | | Dominic Yoder, Jack Cottom |
| 2017-18 | Nick Geirland | |
| 2016-17 | Nick Geirland | |
| 2015-16 | Jeff Hughes | |
| 2014-15 | Jeff Hughes | |
| 2005-06 | | David Overcash |
| 2004-05 | | David Overcash |
| 1998-99 | Dave Jacoby | |
| 1997-98 | Dave Jacoby | |

11 changes: 11 additions & 0 deletions content/contact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Contact
---

See the sidebar for our Matrix and IRC channels.

You can email us at [`[email protected]`](mailto:[email protected]) to contact all officers, or [`[email protected]`](mailto:[email protected]) to contact the president.

# Join us on IRC!

<iframe src="https://web.libera.chat/?nick=PLUGWebUser|?#purduelug" style="border: 0px; width: 100%; height: 450px;"></iframe>
50 changes: 50 additions & 0 deletions content/tutorials/vpn/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: "Using Purdue's VPN"
description: "How to connect to Purdue's campus VPN on Linux"
date: "2017-03-06"
author: "Evidlo"
---

{{< notice note >}}
This tutorial has been copied verbaitim from the old PLUG wiki, and its contents may be out of date.
Please submit a pull request with any updates!
{{< /notice >}}


## Install Openconnect

NetworkManager needs the Openconnect plugin first.

### Ubuntu/Debian

```
sudo apt-get install network-manager-openconnect network-manager-openconnect-gnome
```

### RHEL/Fedora

```
sudo yum install NetworkManager-openconnect
```

## Configure

In Network Manager, go to

```
VPN Connections > Configure VPN > Add
```

Then choose `Cisco Anyconnect Compatible VPN`

Enter the following settings:

{{< embed-image settings.png >}}

Click save, then activate the VPN in Network Manager.

```
VPN Connections > [your vpn]
```

You will be prompted for a username and password on connecting.
Binary file added content/tutorials/vpn/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions content/tutorials/wifi/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: "Connecting to PAL3.0"
date: "2017-03-06"
author: "Evidlo"
toc: true
---

{{< notice note >}}
This tutorial has been copied verbaitim from the old PLUG wiki, and its contents may be out of date.
Please submit a pull request with any updates!
{{< /notice >}}

## Connect with Network Manager

Click on the wireless icon in your tray area. Select "Connect to Hidden Wi-Fi Network" or choose PAL3.0 and enter these settings.

- Network Name: "PAL3.0"
- Wireless Security: WPA & WPA2 Enterprise
- Authentication: Protected EAP (PEAP)
- Key Type (if present): TKIP
- Phase2 Type / Inner Authentication: MSCHAPV2
- Identity / Username: Your Purdue Login
- Password: Your Purdue Password
- Anonymous Identity: (leave blank)
- Client Certificate File (if present): (None)
- CA Certificate File: /etc/ssl/certs/AddTrust_External_Root.pem or /etc/ssl/certs/AddTrust_External_CA_Root.pem
- Private Key File: (None)
- Private Key Password: (leave blank)
- 'PEAP' version: choose 'Version 0'.

{{< embed-image settings.png >}}

Click save.

## Connect with netctl

These instructions will allow you to connect to PAL3.0 using netctl, the default network manager in Arch Linux

Edit the file `/etc/netctl/PAL3` to resemble the following (fill in your own information for interface, identity, and password)

```
Description='PAL3.0-profile'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
'ssid="PAL3.0"'
'proto=RSN WPA'
'key_mgmt=WPA-EAP'
'auth_alg=OPEN'
'eap=PEAP'
'identity="username"'
'password="password"'
)
```

After doing this, you should be able to connect to PAL by running netctl switch-to PAL3
Binary file added content/tutorials/wifi/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 414ad11

Please sign in to comment.