Skip to content

Instantly share code, notes, and snippets.

View totoroyyb's full-sized avatar
:octocat:
I may be slow to respond.

Yibo Yan totoroyyb

:octocat:
I may be slow to respond.
View GitHub Profile
@totoroyyb
totoroyyb / ubuntu.sh
Last active January 12, 2023 09:41
Revised Agora Setup Script
#!/bin/bash
#
# Set up a fresh Ubuntu 20.04 box with packages for building Agora.
# This does not include installing Intel compilers and FlexRAN
sudo apt -y update
# Toolchain
sudo apt -y install g++ cmake make
# General libs
@totoroyyb
totoroyyb / GetRepoCommits.graphql
Created January 8, 2023 07:17
GitHub OSS Governance Documentation Dataset - GraphQL Queries
query GetRepoCommits(
$owner: String!, $name: String!,
$commit_num: Int!, $commit_cursor: String
) {
repository(owner:$owner, name:$name) {
defaultBranchRef {
name
target {
... on Commit {
history(first: $commit_num, after: $commit_cursor) {