Skip to content

Instantly share code, notes, and snippets.

View syall's full-sized avatar
🫀
Tinkering

Steven Yuan syall

🫀
Tinkering
View GitHub Profile
@syall
syall / build_aws_models.sh
Created September 25, 2023 01:37
Building `aws-models` in `aws-sdk-js-v3` with the Smithy CLI
# Smithy CLI must be the latest release to match the version range `[1.0,2.0)`
smithy --version
# Assumes `codegen/sdk-codegen/smithy-build.json` exists
cd codegen/sdk-codegen/
# Filter out warnings and notes
smithy build --severity ERROR
@syall
syall / README.md
Last active February 8, 2023 06:49
smithy-go `go.mod` generation

smithy-go go.mod generation

Overview

smithy-go currently does not generate go.mod, go.sum, or go_module_metadata.go files, but it probably should.

There are example artfacts attached in this gist:

  • go.mod
  • go.sum
@syall
syall / ru-setup.md
Last active January 31, 2024 02:50
Rutgers Computer Science iLab Modern Environment Walkthrough

RU Computer Science iLab Environment Walkthrough

Overview

Rutgers University Computer Science Students have to use iLab machines for courses such as Systems Programming and Computer Architecture, but there is usually no comprehensive set up tutorial.

Because of this, many of the modern amenities that exist are not utilized, and students are stuck in a terminal (not user-friendly).

In this guide, there will be examples of how to ssh into an iLab machine from a terminal, set up boilerplate code for C Projects, configure Visual Studio Code (VS Code) for remote development, and work with git and GitHub both locally and remotely.

@syall
syall / key.md
Last active January 9, 2020 06:18
Generate SSL Key Pair
openssl genrsa 2048 > host.key
chmod 400 host.key
openssl req -new -x509 -nodes -sha256 -days 365 -key host.key -out host.cert