Skip to content

Instantly share code, notes, and snippets.

View Verssae's full-sized avatar
🐧

Hansae Ju Verssae

🐧
  • Hanyang University
  • Ansan-si
View GitHub Profile
@Verssae
Verssae / cloudSettings
Last active November 12, 2019 16:29
hello
{"lastUpload":"2019-11-12T16:29:58.074Z","extensionVersion":"v3.4.3"}
@Verssae
Verssae / bookmark.js
Created March 2, 2022 04:34
Add this script to bookmark bar; Click this bookmark button to check all radio buttons in COVID-19 self-check sheet of Hanyang portal
javascript: document.querySelectorAll("input[type='radio'][value='b']").forEach((x) => {x.checked = true});document.getElementById("btn_confirm").click()
@Verssae
Verssae / TextGenerator.java
Last active May 26, 2022 15:08
(CSE2024) Exercise 1. JUnit5 Unit Test 실습
/**
소프트웨어공학 13주차 실습 1 by Hansae Ju
1. TextGenerator의 각 메소드에 대해 유닛 테스트 코드를 작성하시오.
2. halfText() 메소드와 halfText2() 메소드가 동일한지 확인하고, 버그가 있다면 수정하시오.
3. 프로젝트 전체를 압축하여 .zip 파일로 제출하시오.
**/
public class TextGenerator {
public TextGenerator() {
@Verssae
Verssae / modified-zotselect-link.js
Created September 20, 2022 02:32 — forked from masnick/modified-zotselect-link.js
Zotero export translator for getting zotero:// link and article information
@Verssae
Verssae / CodeReviewEx.java
Last active December 2, 2022 06:16
Code Review Exercise
public class CodeReviewEx {
public static void main(String[] args) {
System.out.println("This will be printed");
}
/* Q1 ~ Q6 (dayOfYear) */
public static int dayOfYear(int month, int dayOfMonth, int year) {
if (month == 2) {
dayOfMonth += 31;
} else if (month == 3) {
dayOfMonth += 59;
@Verssae
Verssae / open-pdf-qcopy.js
Last active December 8, 2022 09:55
Zotero Quick Copy Link (open-pdf)
{
"translatorID":"a1c456df-0eea-4fb6-8267-9bfc2c9c793b",
"translatorType":2,
"label":"Open PDF Quick Copy",
"creator": "Hansae Ju",
"target":"html",
"minVersion":"2.0",
"maxVersion":"",
"priority":200,
"inRepository":false,
@Verssae
Verssae / eye_test.js
Created February 28, 2023 02:51
eye test clicker
// https://game.ioxapp.com/eye-test/
let box = document.getElementById("box")
let start = Date.now()
while (Date.now() - start < 60000) {
let children = box.children
for (let i = 0; i < children.length; i++) {
children[i].click()
}
@Verssae
Verssae / names.js
Last active June 22, 2023 06:54
Get student names and ids from lms student list pages
let names = Array.from(document.getElementsByClassName("roster_user_name student_context_card_trigger")).map(e => e.text.split('(', 1)[0].split('/')[0].trim())
let ids = Array.from(document.getElementsByClassName("rosterUser al-hover-container")).map(e => e.getElementsByTagName('td')[2].textContent.trim())
var arrays = [
names,
ids
]; // 출력할 문자열 배열들
var container = document.createElement("div"); // 새로운 <div> 요소 생성
@Verssae
Verssae / 소방교육 스크립트.js
Created March 10, 2021 02:37
연구실 소방교육 스킵 스크립트
// it's all!
progressCheck(true)
@Verssae
Verssae / Utility.java
Created November 30, 2022 07:49
A Class for JUnit5 Exercise (CSE2024 SW Development Practices)
import java.util.List;
/**
* A Class for JUnit5 Exercise (CSE2024 SW Development Practices)
*
* @author juhansae
* @version 2022.2
* @// Create a JUnit test class with some test methods
* @// Then, refactor it to pass all the tests !
*/