Skip to content

Instantly share code, notes, and snippets.

View michaellee8's full-sized avatar

michaellee8

View GitHub Profile
@michaellee8
michaellee8 / relax-group.txt
Created April 7, 2022 14:06
comp3278 assignment 3
group: COMP3278 Assignment3
Facilities = {
fID:number, name:string, category:string , maxUser:number
1 , 'fac1' , 'Stationary bike', 10
2 , 'fac2' , 'Treadmill' , 11
3 , 'fac3' , 'Treadmill' , 12
4 , 'fac4' , 'Treadmill' , 13
5 , 'fac5' , 'Treadmill' , 14
6 , 'fac6' , 'Treadmill' , 15
# Copyright 2023 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@michaellee8
michaellee8 / main.rs
Created July 17, 2023 13:15
Comprehensive Rust Day 2 Morning Exercise Health Statistics
// TODO: remove this when you're done with your implementation.
#[derive(Default)]
pub struct User {
name: String,
age: u32,
height: f32,
visit_count: u32,
last_blood_pressure: Option<(u32, u32)>,
}
@michaellee8
michaellee8 / docker-compose-installer-for-container-optimized-os-on-gce.md
Created March 12, 2024 12:22 — forked from kurokobo/docker-compose-installer-for-container-optimized-os-on-gce.md
Simple Installer for Docker Compose on Container-Optimized OS on Google Computing Engine

Simple Installer for Docker Compose on Container-Optimized OS on Google Computing Engine

The easiest way to make Docker Compose available on Container-Optimized OS on Google Compute Engine (GCE) on Google Cloud Platform (GCP).

This is minimal Bash script version of Community Tutorial.

How to use

Simply, download installer.sh, run it, and then reload bash by source ~/.bashrc or re-login.