December 2026
Every post published in December 2026, newest first. Pick a day to jump straight to it.
- Posts
- 410
- Topics
- 77
- Reading time
- 40 h
- Active days
- 3
Posts 361–390 of 410 · December 1, 2026
Page 13 of 14
Tuesday, December 1, 2026
30 of 97 posts
How to Loop over Two Lists Together in Python with zip
Walk through two Python lists side by side with zip(): each turn of the loop gets one item from each list. Real output from Python 3.15.2, and what zip does when the lists have different lengths.
3 min readHow to Create a Data Class in Python with @dataclass
Create a Python class that holds data in four lines with @dataclass: Python writes __init__, a readable print-out and == for you. Real output from Python 3.15.2, including the TypeError for a missing field.
4 min readBuild an Overtime Timesheet App in Power Apps — Part 21: Install the App in a New Environment
Install the Overtime Timesheet app from its release zips into a new trial environment and a new SharePoint site: environment, group team, users, setup flow, template and script, the app import, the payroll script picked again, sharing, and a first entry, approval and payroll workbook.
36 min readHow to Set Connection References in a Deployment Settings File
Install a solution from the command line with its connections already chosen: create a deployment settings file with pac solution create-settings, find each ConnectionId with pac connection list, fill it in, and import with --settings-file.
7 min readHow to List Connections with pac connection list
List the connections in a Power Platform environment from the terminal with pac connection list: its syntax, what the Id, Name, API Id and Status columns mean, and how to find one connector's connection ID.
6 min readHow to Add an Existing Cloud Flow to a Solution in Power Apps
Put a cloud flow that already exists into a solution with Add existing: the From Dataverse and Outside Dataverse tabs, why a flow made in My flows can be on the first one, selecting it, and checking it in the solution.
6 min readFixed: Power Apps Downloads an Old Solution Zip After "Exported Successfully"
Two identical messages said Solution exported successfully, and the first Download gave yesterday's zip of a solution with the same name and version. Wait for Currently exporting to finish, use the newest message, and check what's inside the zip.
6 min readHow to See Ignored Files in Git with git status --ignored
List the files and folders Git is ignoring with git status --ignored, read the !! marks in its short format, and check that a .gitignore really works before your first commit. Real output from Git 2.56.1.
3 min readHow to Stop a Running Command in the Terminal with Ctrl+C in Bash and Zsh
Stop a command that's still running, such as a server or a long sleep, by pressing Ctrl+C in bash or zsh, and read the exit status 130 it leaves behind. Real output from both shells.
3 min readHow to Print a File in the Terminal with cat
Show a text file's contents in the terminal with cat in zsh and bash, or Get-Content in PowerShell, and print several files one after the other. Real output, including the errors for a missing file and a folder.
3 min readHow to Get the Current Folder in the Terminal with pwd
Print the folder your terminal is in with pwd, use its full path in other commands with $PWD in zsh, bash and PowerShell, and watch it change after cd. Real output from each shell.
4 min readHow to Give a Variable a Default Value in the Terminal
Use a fallback value when a variable is missing with ${NAME:-default} in zsh and bash, and with the ?? operator in PowerShell, and see how each treats an empty variable differently. Real output from both shells.
4 min readHow to Create a Variable in the Terminal
Create a variable in zsh and bash with NAME='value' (no spaces) or in PowerShell with $name = 'value', use it in text, mark where its name ends with braces, and see why a program you start can't read it. Real output from each shell.
4 min readHow to Run a Script in the Current Shell with source
Run a shell script inside your current terminal with source (or .) in zsh and bash, and with dot-sourcing in PowerShell, so the variables it sets stay behind. Real output showing the difference from running the script normally.
4 min readHow to Run Python Code from the Command Line with python -c
Run a line of Python straight from the terminal with python -c, without a script file, and use its output in other commands. Real output from Python 3.15.2, including the NameError that wrong quotes cause.
3 min readHow to Generate a Random Secret in Python with secrets.token_urlsafe
Generate a strong random secret key or token in Python with secrets.token_urlsafe(64), see how long it is, and why the secrets module beats random for this. Real output from Python 3.15.2.
3 min readHow to Use the with Statement in Python
Open a file with Python's with statement so it closes on its own when the block ends, and see the file's closed flag change. Real output from Python 3.15.2, including the ValueError for writing after the block.
3 min readHow to Define a Function Inside Another Function in Python
Define a helper function inside another Python function, call it there, and let it read the outer function's variables. Real output from Python 3.15.2, including the NameError you get when you call it from outside.
4 min readHow to Read JSON from a File in Python with json.load
Read a JSON file into a Python dictionary with json.load, then use its values, and see when to use json.loads instead. Real output from Python 3.15.2, including the AttributeError you get for passing text to json.load.
4 min readHow to Build a URL Query String in Python with urlencode
Turn a Python dictionary into a URL query string such as q=weather+report&page=2 with urllib.parse.urlencode, safely escaping spaces, & and accented letters. Real output from Python 3.15.2, including the TypeError for a plain string.
4 min readHow to Turn a Date into ISO 8601 Text in Python with isoformat()
Turn a Python date or datetime into standard ISO 8601 text such as 2026-11-30 or 2026-11-30T03:07:41+00:00 with isoformat(), and see why a datetime without a time zone loses its +00:00. Real output from Python 3.15.2.
4 min readHow to Get Yesterday's Date in Python with timedelta
Subtract one day from a Python date with timedelta(days=1), and see it handle the end of a month and a leap year. Real output from Python 3.15.2, including the TypeError you get for date - 1.
4 min readHow to Get the Date from a datetime in Python with .date()
Turn a Python datetime into just its date with .date(), and see the result's type and what you get when you forget the brackets. Real output from Python 3.15.2.
4 min readHow to Remove the Unmanaged Layer from a Managed Component in Power Apps
Undo every change made to a managed flow or other component in an environment: select its unmanaged layer, choose Remove active customizations, confirm Delete unmanaged layer, and check that it's back to the managed version.
5 min readHow to See a Component's Solution Layers in Power Apps
Open See solution layers for a flow, app or other component in Power Apps, read the order, solution, publisher and Active layer, and select a layer to see the properties it changed.
5 min readHow to Edit a Cloud Flow in a Managed Solution in Power Automate
A flow installed with a managed solution can't be edited inside that solution. Add it to an unmanaged solution, turn it off, edit and save it, then turn it on, and see the Customized column change to Yes.
7 min readHow to Download Files from a SharePoint Document Library
Download a file from a SharePoint document library by selecting it and choosing Download, or select several files to get them all in one zip file, with the name and contents of the zip SharePoint made.
4 min readHow to Upload Files to a Folder in a SharePoint Document Library
Upload files into a folder of a SharePoint document library from the browser: open the folder, select Create or upload, then Files upload, choose the files, and check that they arrived.
4 min readFixed: "No token cache item found of UNIVERSAL kind" When Signing In with pac auth create
pac auth create said authenticated successfully, then crashed with a non-recoverable error. Its log showed Internal: No token cache item found of UNIVERSAL kind for https://api.advisor.powerapps.com//.default, and no profile was saved. Signing in again with the same command created it.
9 min readFixed: "Script not found. It may have been unshared or deleted." in Power Automate
After a flow moved to a new SharePoint site, Run script from SharePoint library showed GetSingleScriptV2 NotFound: Script not found. It may have been unshared or deleted. The script was there, but the action still held the old file's ID. Picking the script again fixed it.
8 min read