This guide will help you set up Quarto, Visual Studio Code, and Python for literate programming (also known as entangling) on Windows.
- Windows operating system
- Python installed
- Visual Studio Code installed
param ( | |
[string]$playlistID | |
) | |
if (-not $playlistID) { | |
Write-Host "Please provide a playlist ID as a command-line argument." | |
exit 1 | |
} | |
# Define the playlist URL and output file |
from pylatexenc.latex2text import LatexNodes2Text | |
from nltk.probability import FreqDist | |
from nltk.corpus import stopwords | |
import argparse | |
import nltk | |
def analyze_word_frequency(filename, words_to_check): | |
"""Analyzes word frequency in a LaTeX document. |
import os | |
import sys | |
def is_binary(filename): | |
""" | |
Check if the file is binary. A file is considered binary if it contains a null byte | |
within the first 1024 bytes of its content. | |
you may run | |
FOR /F "tokens=*" %G IN ('python find_binary.py .') DO del "%G" |
config.ini |
import asyncio | |
from telethon.tl.types import ChannelParticipantsKicked | |
from telethon.sync import TelegramClient | |
from telethon.errors import FloodWaitError | |
# Replace these with your own Telegram API ID and Hash | |
api_id = 'YOUR_API_ID' | |
api_hash = 'YOUR_API_HASH' | |
# Replace with the positive integer ID of your group (omit the '-' sign) |
I want to design a vacuum table to clamp down a very thin plate and I want to know the stresses and deformations due to the atmospheric pressure. Consider the simplified model below:
a disk with radius of
Someone in [this page][1] has claimed to successfully implement [Brent solver][2] in [thermoI.H
][3] instead of Newton solver to resolve the infamous
FOAM FATAL ERROR: Maximum number of iterations exceeded
issue. The part of code he is referring to is:
template<class Thermo, template<class> class Type>
inline Foam::scalar Foam::species::thermo<Thermo, Type>::T
(
.exe
file with 7zip or any other software you havebin\wxmaxima.exe
, create a shortcut to on your desktop so you can run it easily next timecmake_minimum_required(VERSION 3.1) | |
project(OpenCL_Example) | |
find_package(OpenCL REQUIRED) | |
include_directories(${OpenCL_INCLUDE_DIRS}) | |
link_directories(${OpenCL_LIBRARY}) | |
add_executable(main main.c) | |
target_include_directories(main PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |