Skip to content

Instantly share code, notes, and snippets.

View linroex's full-sized avatar

Karl Lin linroex

View GitHub Profile
Date.prototype.addDays = function(days) {
this.setDate(this.getDate() + days);
return this;
}
var course_dom = document.querySelectorAll("tbody tr.ant-table-row")
var course_result = []
course_dom.forEach(function(course_) {
@linroex
linroex / cc_schedule.go
Created February 3, 2022 18:23
schedule -s | go run cc_schedule.go > schedule_me.ics
package main
import (
"bufio"
"bytes"
"fmt"
"os"
"regexp"
"strings"
"text/template"
[1] 10004: Bicoloring
[1] 10008: What's Cryptanalysis?
[1] 10010: Where's Waldorf?
[1] 10018: Reverse and Add
[1] 10019: Funny Encryption Method
[1] 10020: Minimal Coverage
[1] 10025: The ? 1 ? 2 ? ... ? n = k problem
[1] 10026: Shoemaker's Problem
[1] 10032: Tug of War
[1] 10035: Primary Arithmetic

Keybase proof

I hereby claim:

  • I am linroex on github.
  • I am linroex (https://keybase.io/linroex) on keybase.
  • I have a public key ASBZF1Op3te_eVXwhjXEZPJWdiAxlXUSxNWhBhFJKIlBQgo

To claim this, I am signing this object: