Objective: To automatically generate approximately 50 high-quality multiple-choice questions (MCQs) from provided plain text input. Each MCQ will include a question, a hint, 5 answer choices, indication of correct answer(s), and detailed explanations for both correct and incorrect options.
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Duty of Care Risk Analysis (DoCRA) - An Infographic</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> |
This file contains hidden or 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
@echo off | |
REM wav_to_mp3_32kbps.cmd | |
REM Batch script to convert .wav files to .mp3 at 32kbps. | |
REM It skips conversion if a .32k.mp3 version of the file already exists. | |
SETLOCAL EnableDelayedExpansion | |
echo Starting WAV to MP3 conversion (32kbps)... | |
echo ============================================ |
This file contains hidden or 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
// ==UserScript== | |
// @name Show All Downloads simple-datatables | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Overrides the perPage setting for simple-datatables to show all entries. | |
// @author Your Name | |
// @match https://digipanel.id/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== |
This file contains hidden or 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
@echo off | |
for %%F in (*.mp3) do ( | |
if not exist "%%~nF.32x1.5.mp3" ( | |
echo Converting "%%F" to "%%~nF.32x1.5.mp3" with 1.5× speed... | |
ffmpeg -i "%%F" -map_metadata 0 -filter:a "atempo=1.5" -b:a 32k "%%~nF.32x1.5.mp3" | |
) else ( | |
echo "%%~nF.64x1.5.mp3" already exists, skipping. | |
) | |
) | |
echo All files processed! |
This file contains hidden or 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
@echo off | |
for %%F in (*.mp3) do ( | |
if not exist "%%~nF.64.mp3" ( | |
echo Converting "%%F" to "%%~nF.64.mp3"... | |
ffmpeg -i "%%F" -map_metadata 0 -codec:a libmp3lame -b:a 64k "%%~nF.64.mp3" | |
) else ( | |
echo "%%~nF.64.mp3" already exists, skipping. | |
) | |
) | |
echo Done! |
This file contains hidden or 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
const buttonsWithAttribute = document.querySelectorAll('button[data-title="BELUM ACC"]'); | |
buttonsWithAttribute.forEach(button => { | |
const href = button.getAttribute('href'); | |
window.open(href,'_blank'); // Logs the href attribute value for each button | |
}); |
This file contains hidden or 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
svg=document.querySelector("#maingraph"); | |
var serializer = new XMLSerializer(); | |
var svg_blob = serializer.serializeToString(svg); | |
var svg_url = 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent('<?xml version="1.0" standalone="no"?>\n' + svg_blob); | |
var download_link = document.createElement('a'); | |
download_link.href = svg_url; | |
download_link.download = 'your_file_name.svg'; | |
document.body.appendChild(download_link); | |
download_link.click(); | |
document.body.removeChild(download_link); |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Proj4js Sample</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.7.5/proj4.js"></script> | |
</head> | |
<body> | |
<h1>Proj4js Sample</h1> |
NewerOlder