Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
Thumbs.db
a.out
public/
.*.swp
resources/
venv/
venv/
7 changes: 5 additions & 2 deletions assets/js/academic-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function initSearch(force, fuse) {

// If query deleted, clear results.
if ( query.length < 1) {
$('#search-result-count').empty();
$('#search-hits').empty();
}

Expand All @@ -62,6 +63,7 @@ function initSearch(force, fuse) {
return;

// Do search.
$('#search-result-count').empty();
$('#search-hits').empty();
searchAcademic(query, fuse);
let newURL = window.location.protocol + "//" + window.location.host + window.location.pathname + '?q=' + encodeURIComponent(query) + window.location.hash;
Expand All @@ -74,11 +76,12 @@ function searchAcademic(query, fuse) {
// console.log({"results": results});

if (results.length > 0) {
$('#search-hits').append('<h2 class="mt-0">' + results.length + ' ' + i18n.results + '</h2>');
$('#search-result-count').html('<h2 class="mt-0">' + results.length + ' ' + i18n.results + '</h2>');
parseResults(query, results);
} else {
$('#search-hits').append('<div class="search-no-results">' + i18n.no_results + '</div>');
$('#search-result-count').html('<div class="search-no-results">' + i18n.no_results + '</div>');
}
// document.querySelector(".search-results").showModal()
}

// Parse search results.
Expand Down
16 changes: 16 additions & 0 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,23 @@ h6 {
font-size: 1rem;
}

.search-header {
z-index: 1032;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 100px;
}

.close-search-btn {
background: none;
border: none;
padding: 0;
cursor: pointer;
line-height: 1;
}

/* Change the colors for the "light" button */

.btn-light {
Expand Down Expand Up @@ -121,6 +132,11 @@ html {
box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}

#hero {
background-color: rgba(0, 0, 0, 0.45);
background-blend-mode: multiply; // darken background (blend the above color with background image) to improve legibility of white text
}

.hero-title {
font-size: 2.5rem;
}
Expand Down
6 changes: 3 additions & 3 deletions config/_default/menus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
weight = 10

[[main]]
name = "Short Courses"
name = "Programming Courses"
url = "courses/"
weight = 20

Expand All @@ -20,10 +20,10 @@

[[main]]
name = "People"
url = "authors/"
url = "#people"
weight = 50

[[main]]
name = "Contact"
url = "https://www.rc.virginia.edu/support/"
url = "#slider"
weight = 60
3 changes: 3 additions & 0 deletions content/authors/abd/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ authors:
# Is this the primary user of the site?
superuser: false

user_groups:
- DAC

# Role/position
role: Research Computing Scientist

Expand Down
5 changes: 4 additions & 1 deletion content/authors/as/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ authors:
superuser: false

# Role/position
role: Research Computing Consultant
role: Technical Support Manager

user_groups:
- RC

# Organizations/Affiliations
organizations:
Expand Down
30 changes: 30 additions & 0 deletions content/authors/bmr/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# Display name
title: Bruce Rushing

# Username (this should match the folder name)
authors:
- bmr

# Is this the primary user of the site?
superuser: false

user_groups:
- DAC

# Role/position
role: Research Computing Scientist

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
url: "https://www.rc.virginia.edu"

# Short bio (displayed in user profile at end of posts)
#bio:

interests:
- Machine Learning/Deep Learning
- LLMs

---
Binary file added content/authors/bmr/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions content/authors/cag/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ authors:
superuser: false

# Role/position
role: Research Computing Consultant
role: Former Employee

user_groups:
- Former

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
url: "https://www.rc.virginia.edu"

# Short bio (displayed in user profile at end of posts)
#bio:
Expand Down
30 changes: 30 additions & 0 deletions content/authors/cmd/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# Display name
title: Camden Duy

# Username (this should match the folder name)
authors:
- cmd

# Is this the primary user of the site?
superuser: false

# Role/position
role: Research Computing Associate

user_groups:
- RC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
url: "https://www.rc.virginia.edu"

# Short bio (displayed in user profile at end of posts)
#bio:

interests:
- High Peformance Computing
- GPU computing

---
Binary file added content/authors/cmd/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion content/authors/dat/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Research Computing Scientist

user_groups:
- DAC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand All @@ -24,4 +27,4 @@ interests:
- Bioinformatics
- HPC
- Research
---
---
Binary file added content/authors/dat/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions content/authors/gka/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Senior Computational Scientist

user_groups:
- RC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
30 changes: 30 additions & 0 deletions content/authors/hp/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# Display name
title: Hana Parece

# Username (this should match the folder name)
authors:
- hp

# Is this the primary user of the site?
superuser: false

# Role/position
role: Research Computing Associate

user_groups:
- RC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
url: "https://www.rc.virginia.edu"

# Short bio (displayed in user profile at end of posts)
#bio:

interests:
- High Peformance Computing
- Data Analysis

---
Binary file added content/authors/hp/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion content/authors/jmh/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ authors:
superuser: false

# Role/position
role: Research Computing Consultant
role: Assistant Director, Data Analytics Center

user_groups:
- DAC

# Organizations/Affiliations
organizations:
Expand Down
3 changes: 3 additions & 0 deletions content/authors/kah/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Senior Research Computing Consultant

user_groups:
- RC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
3 changes: 3 additions & 0 deletions content/authors/kal/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Computational Research Scientist

user_groups:
- DAC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
8 changes: 5 additions & 3 deletions content/authors/khs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ authors:
superuser: false

# Role/position
role: Research Computing Consultant, Manager of User Services
role: Former Employee

user_groups:
- Former

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
url: "https://www.rc.virginia.edu"
- name: School of Data Science

# Short bio (displayed in user profile at end of posts)
#bio:
Expand Down
3 changes: 3 additions & 0 deletions content/authors/mab/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Computational Scientist

user_groups:
- RC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
Binary file added content/authors/mab/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions content/authors/pbo/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Computational Scientist

user_groups:
- RC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
Binary file added content/authors/pbo/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions content/authors/ppr/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Research Computing Scientist

user_groups:
- Former

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
Binary file added content/authors/ppr/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions content/authors/rs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Lead Scientist, Scientific Computing

user_groups:
- RC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
3 changes: 3 additions & 0 deletions content/authors/teh/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ superuser: false
# Role/position
role: Research Computing Consultant

user_groups:
- DAC

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
3 changes: 3 additions & 0 deletions content/authors/uvarc/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ authors:
# Is this the primary user of the site?
superuser: true

user_group:
- Admin

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
Expand Down
6 changes: 3 additions & 3 deletions content/authors/wtr/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ superuser: false
# Role/position
role: Former Employee

user_groups:
- Former

# Organizations/Affiliations
organizations:
- name: University of Virginia Research Computing
url: "https://www.rc.virginia.edu"

# Short bio (displayed in user profile at end of posts)
#bio:
Expand Down
2 changes: 1 addition & 1 deletion content/courses/cpp-introduction/characters.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Byte types or their equivalents offer direct access to memory, which is organize

### C-Style Strings

C-style strings are actually [arrays](/courses/cpp-introduction/arrays_vecs) of individual characters. They must be declared with a fixed size, or allocated.
C-style strings are actually [arrays](/courses/cpp-introduction/c_arrays/) of individual characters. They must be declared with a fixed size, or allocated.
```c++
char cstr[8];

Expand Down
2 changes: 1 addition & 1 deletion content/courses/cpp-introduction/declarations.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ int j=2;
Start Geany or your preferred editor or IDE. Type
{{< code file="/courses/cpp-introduction/codes/variables.cxx" lang="c++" >}}

Variables can be declared and initialized anywhere in the body of the code as long as they are declared before they are used. There are some implications for variable _scope_, which we will discuss [later](/courses/cpp-introduction/scope.md).
Variables can be declared and initialized anywhere in the body of the code as long as they are declared before they are used. There are some implications for variable _scope_, which we will discuss [later](/courses/cpp-introduction/scope/).

{{< code file="/courses/cpp-introduction/codes/vardecls.cxx" lang="c++" >}}

Expand Down
Loading
Loading