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