Skip to content

Instantly share code, notes, and snippets.

View alwalxed's full-sized avatar

alwalxed

View GitHub Profile
@ma7dev
ma7dev / cool_script.sh
Last active May 27, 2025 18:27
takes requirements.txt file without module versions and annotates it with the latest set of module versions that won't result in build/runtime errors.
#!/bin/bash
# TODO: you will need to have conda installed
# create a python environment
conda create -n env_tmp python=3.8.13 -y
# activate environment
conda activate env_tmp
@dilame
dilame / tsconfig.json
Last active August 14, 2025 15:03
The most strict TypeScript tsconfig mode
{
"compilerOptions": {
// Strict Checks
"alwaysStrict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"useUnknownInCatchVariables": true,
"strictPropertyInitialization": true,
"strictFunctionTypes": true,
"noImplicitThis": true,