Skip to content

Commit

Permalink
Manually deploy to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
DirkFi committed Oct 13, 2024
1 parent 3c6f6f3 commit e2dfc2d
Show file tree
Hide file tree
Showing 8 changed files with 1,387 additions and 0 deletions.
8 changes: 8 additions & 0 deletions courses/0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": 0,
"name": "Machine Learning",
"teacher": "Steven Bergner",
"description": "Machine learning is the study of computer algorithms that improve automatically through experience, which play an increasingly important role in artificial intelligence, computer science and beyond. The goal of this course is to introduce students to machine learning, starting from the foundations and gradually building up to modern techniques. Students in the course will learn about the theoretical underpinnings, modern applications and software tools for applying deep learning. This course is intended to be an introductory course for students interested in conducting research in machine learning or applying machine learning, and should prepare students for more advanced courses, such as CMPT 727 and CMPT 728. No previous knowledge of machine learning is assumed, but students are expected to have solid background in calculus, linear algebra, probability and programming using Python.",
"image": "",
"unit": 3
}
8 changes: 8 additions & 0 deletions courses/1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": 1,
"name": "Big Data Lab I",
"teacher": "Greg Baker",
"description": "This course is one of two lab courses that are part of the Professional Master’s Program in Big Data in the School of Computing Science. This lab course aims to provide students with the hands-on experience needed for a successful career in Big Data in the information technology industry. Many of the assignments will be completed on massive publically available data sets giving them appropriate experience with cloud computing and the algorithms and software tools needed to master programming for Big Data. Over 13 weeks of lab work and 12 hours per week of lab time, the students will obtain a solid background in programming for Big Data.",
"image": "",
"unit": 6
}
140 changes: 140 additions & 0 deletions courses/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
body {
font-family: "Source Sans Pro", sans-serif;
-webkit-font-smoothing: subpixel-antialiased;
color: #333;
background: #f7f7f7;
padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.navbar {
height: 44px;
background: #dd2c00;
color: white;
box-shadow: 0px 5px 12px 0px rgba(46, 51, 51, 0.18);
position: sticky;
top: 0;
display: flex;
justify-content: space-between;
align-items: center;
}

.navbar_title {
font-weight: bold;
font-size: 24px;
margin-left: 10px;
}

.navbar_value {
font-weight: bold;
font-size: 13px;
margin-right: 10px;
background: #b91400;
padding: 5px 10px;
border-radius: 4px;
}

.course_card_list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-gap: 10px;
padding: 10px;
}

.course_card_container {
border: 1px solid #eee;
border-radius: 4px;
padding: 10px;
cursor: pointer;
box-shadow: 0px 1px 10px 0px rgba(46, 51, 51, 0.18);
background: white;
}

.course_card_container:hover {
border-color: #ddd;
transition: background, border-color 300ms;
}

.course_card_anchor {
text-decoration: none;
color: #333;
display: flex;
flex-direction: column;
align-items: center;
}

.course_card_image {
width: 80%;
object-fit: contain;
}

.course_card_name,
.course_card_price,
.course_atc_button {
margin-top: 10px;
}

.course_card_name {
font-weight: bold;
}

.course_atc_button {
width: 100%;
height: 44px;
border-radius: 4px;
border: 0;
cursor: pointer;
background: #dd2c00;
color: white;
transition: background 300ms;
font-weight: bold;
}

.course_atc_button:hover {
background: #ddd;
background: #c41c00;
}

.course_detail_container {
padding: 10px;
cursor: pointer;
background: white;
display: flex;
flex-direction: column;
align-items: center;
}

.course_detail_image {
height: 30vh;
}

.loading_spinner_container {
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.loading_spinner {
border-radius: 50%;
width: 18px;
height: 18px;
border: 2px solid #333;
border-top-color: #fff;
animation: loading_spinner_animation 1s infinite linear;
}

@keyframes loading_spinner_animation {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}

.loading_spinner_text {
margin-top: 10px;
}
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "gpacalculator",
"type": "module",
"version": "0.1.0",
"files": [
"wasm_bg.wasm",
"wasm.js",
"wasm.d.ts"
],
"main": "wasm.js",
"types": "wasm.d.ts",
"sideEffects": [
"./snippets/*"
]
}
42 changes: 42 additions & 0 deletions wasm.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/* tslint:disable */
/* eslint-disable */
/**
*/
export function run_app(): void;

export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;

export interface InitOutput {
readonly memory: WebAssembly.Memory;
readonly run_app: () => void;
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly _dyn_core__ops__function__Fn___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4b402ee4034ca226: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6368bf2e8fa03ad0: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h857854a7157d28ec: (a: number, b: number, c: number) => void;
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
}

export type SyncInitInput = BufferSource | WebAssembly.Module;
/**
* Instantiates the given `module`, which can either be bytes or
* a precompiled `WebAssembly.Module`.
*
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
*
* @returns {InitOutput}
*/
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;

/**
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
* for everything else, calls `WebAssembly.instantiate` directly.
*
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
*
* @returns {Promise<InitOutput>}
*/
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
Loading

0 comments on commit e2dfc2d

Please sign in to comment.