Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View mrpinkcat's full-sized avatar
🦉

Gatien Anizan mrpinkcat

🦉
View GitHub Profile
@mrpinkcat
mrpinkcat / docker-compose.yaml
Created April 14, 2023 10:45
Plex stack docker compose
version: "3.8"
services:
jellyfin:
# Jellyfin
image: linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
@mrpinkcat
mrpinkcat / globalshit.js
Created May 15, 2022 14:30
Global exam speed run 0%
const selectAnswerInQuestion = () => {
// Loop in question:
document.querySelectorAll('.card').forEach(question => {
const questionText = question.querySelector('p.font-bold')?.innerText;
// if question text contain Question
console.log(questionText?.includes('Question'));
if (questionText?.includes('Question')) {
let answers = [];
// Loop in answer:
question.querySelectorAll('.items-center').forEach(awnser => {