Skip to content

Instantly share code, notes, and snippets.

View rileychh's full-sized avatar

Riley Ho rileychh

View GitHub Profile
@rileychh
rileychh / replace-corepack-with-pnpm-setup.diff
Last active March 3, 2025 12:33
Replace outdated Corepack binary with official pnpm setup action
diff --git a/.github/workflows/deploy-to-pages.yaml b/.github/workflows/deploy-to-pages.yaml
index 5e2cf65..93d3bff 100644
--- a/.github/workflows/deploy-to-pages.yaml
+++ b/.github/workflows/deploy-to-pages.yaml
@@ -24,10 +24,12 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- - name: Enable Corepack
- run: corepack enable
@rileychh
rileychh / eslint.patch
Last active July 15, 2024 07:32
coscup/2024 #29 ESLint fix
Index: src/modules/session/index.ts
<+>UTF-8
===================================================================
diff --git a/src/modules/session/index.ts b/src/modules/session/index.ts
--- a/src/modules/session/index.ts (revision d28c986529c1a7100012c28588d012c2b71ef4ed)
+++ b/src/modules/session/index.ts (date 1721028293095)
@@ -8,7 +8,7 @@
import { ScheduleElement, SessionsMap, RoomId, ScheduleTable, ScheduleList, Session, SessionId, RoomsMap, Room, RoomsStatusMap, RoomStatus, FilterOptions, FilterValue } from './types'
import { fixedTimeZoneDate } from './utils'
import { useProgress } from '../progress'
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#define SHIFT 4
void decrypt(char *blessing)
{
char c;
while (*blessing)
@rileychh
rileychh / assignment.ipynb
Created May 30, 2022 07:56
Python course assignment 2022-05-30
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rileychh
rileychh / assignment.ipynb
Created May 23, 2022 08:49
Python course assignment 2022-05-23
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rileychh
rileychh / assignment.ipynb
Created May 9, 2022 08:04
Python course assignment 2022-05-09
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rileychh
rileychh / assignment.ipynb
Created April 28, 2022 07:16
Python course assignment 2022-04-25
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rileychh
rileychh / assignment.ipynb
Created April 11, 2022 08:39
Python course assignment 2022-04-11
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rileychh
rileychh / assignment.ipynb
Last active March 21, 2022 08:41
Python course assignment 2022-03-21
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rileychh
rileychh / assignment.ipynb
Created March 21, 2022 05:42
Python course assignments 2022-03-14
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.