This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CONTAINER_NAME="palworld-server" | |
PLAYERS_FILE="players.txt" | |
if ! docker ps | grep -q $CONTAINER_NAME; then | |
exit 1 | |
fi | |
get_current_players() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ! | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"translatorID":"BA3A62C2-E8B8-11E3-8533-A664DDBCE621", | |
"translatorType":2, | |
"label":"Modified ZotSelect Link", | |
"creator":"Max Masnick, based on work of Scott Campbell, Avram Lyon, and Nathan Schneider", | |
"target":"html", | |
"minVersion":"2.0", | |
"maxVersion":"", | |
"priority":200, | |
"inRepository":false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
소프트웨어공학 13주차 실습 1 by Hansae Ju | |
1. TextGenerator의 각 메소드에 대해 유닛 테스트 코드를 작성하시오. | |
2. halfText() 메소드와 halfText2() 메소드가 동일한지 확인하고, 버그가 있다면 수정하시오. | |
3. 프로젝트 전체를 압축하여 .zip 파일로 제출하시오. | |
**/ | |
public class TextGenerator { | |
public TextGenerator() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
[강의 영상 스킵] | |
1. 재생버튼을 눌러 한양대 로딩 영상이 끝나고(약 4초) 강의가 재생된 후 F12 버튼을 눌러 개발자 콘솔을 연 뒤 console 탭으로 이동한다. | |
2. 아래 스크립트를 붙여넣는다. | |
3. 사이트에서 나갈 것이냐고 묻는 창이 뜨면 '나가기'를 누른다. | |
4. 다시 영상이 로드되면 재생 버튼을 눌러 재생하고 영상 끝으로 컨트롤 버튼을 움직여 영상 시청을 완료한다. | |
**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: document.querySelectorAll("input[type='radio'][value='b']").forEach((x) => {x.checked = true});document.getElementById("btn_confirm").click() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> 요소 생성 |
NewerOlder