Skip to content

Instantly share code, notes, and snippets.

View sko9370's full-sized avatar

Sang Oh sko9370

View GitHub Profile
@sko9370
sko9370 / blacklist.sh
Created July 2, 2022 18:13
Ubiquiti EdgeRouter Dynamic Blacklist Script
#!/bin/bash
# Reference: https://www.fortifydiy.com/511/dynamic-blacklist-blocking-using-edgerouter/
# Changes
# - unspecified /config/blacklist directory to make it work with user crontab in user home directory
# - added "-L" for all curl requests as some of them receive 301 codes for redirect
#Backup previous list
rm -f BLACKLIST_OLD.txt
mv BLACKLIST.txt BLACKLIST_OLD.txt
@sko9370
sko9370 / coursera.ipynb
Created February 3, 2022 16:13
for coursera course
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sko9370
sko9370 / Bias of Item Analysis System on Grades.md
Created November 11, 2020 00:36
Bias of Item Analysis System on Grades

Topic: Bias of item analysis system on grades

Situation

  • Bad questions ranging from typos to question-answer mismatch are picked
  • Students with those bad questions are refunded points if they got the wrong answer

Problem

  • This system favors students that receive a high number of bad questions
  • This in turn hurts students that receive a low number of bad questions
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome file</title>
<link rel="stylesheet" href="https://stackedit.io/style.css" />
</head>
@sko9370
sko9370 / cloudSettings
Last active March 24, 2021 21:09
VS Code Settings
{"lastUpload":"2021-03-24T21:09:44.808Z","extensionVersion":"v3.4.3"}
@sko9370
sko9370 / tmux.conf
Created March 18, 2019 20:05 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000