with npx @docusaurus/init@latest init website classic
i18n: {
defaultLocale: 'en',
locales: ['en', 'it'],
localeConfigs: {
en: {
| import requests | |
| import zipfile | |
| import io | |
| def get_qualtrics_survey(dir_save_survey, survey_id): | |
| """ automatically query the qualtrics survey data | |
| guide https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Python-Tool-Downloading-Qualtrics-Survey-Data-using-Python-API/td-p/304898 """ | |
| # Setting user Parameters | |
| api_token = "<your token>" |
| \documentclass[aspectratio=169]{beamer} | |
| \usepackage[utf8]{inputenc} | |
| % import packages | |
| \usepackage{multimedia} | |
| \usepackage{hyperref} | |
| \usepackage{xcolor} | |
| \usepackage{graphicx} | |
| % notes |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| % this code was copied from https://tex.stackexchange.com/a/516102 | |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| \usepackage[bigfiles]{pdfbase} | |
| \ExplSyntaxOn | |
| \NewDocumentCommand\embedvideo{smm}{ | |
| \group_begin: | |
| \leavevmode | |
| \tl_if_exist:cTF{file_\file_mdfive_hash:n{#3}}{ |
| \begin{verbatim} | |
| from pythermalcomfort.models import pmv_ppd | |
| from pythermalcomfort.psychrometrics import v_relative | |
| from pythermalcomfort.utilities import met_typical_tasks | |
| from pythermalcomfort.utilities import clo_individual_garments | |
| # input variables | |
| tdb = 27 # dry-bulb air temperature, [$^{\circ}$C] | |
| tr = 25 # mean radiant temperature, [$^{\circ}$C] | |
| v = 0.1 # average air velocity, [m/s] |
| # plot a simple psychrometric chart | |
| import psychrolib | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| psychrolib.SetUnitSystem(psychrolib.SI) | |
| pressure = 101325 | |
| t_array = np.arange(5, 45, 0.1) |
| \documentclass[a4paper,11pt]{article} | |
| \usepackage{latexsym} | |
| \usepackage[empty]{fullpage} | |
| \usepackage{titlesec} | |
| \usepackage{marvosym} | |
| \usepackage[usenames,dvipsnames]{color} | |
| \usepackage{verbatim} | |
| \usepackage{enumitem} | |
| \usepackage[pdftex]{hyperref} |
| \documentclass{article} | |
| \usepackage{forest} | |
| \begin{document} | |
| \pgfmathsetseed{14285} | |
| \begin{center} | |
| \begin{forest} |