From 6b8cae12cb5d60b37931332d9d8008649ae14566 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 12 Sep 2026 11:31:19 +0300 Subject: feat!: Update dunbar markup Currently the newest version of the markup is not on the main branch, mostly because of polish and the documentation. As an effect from the changes to the language, the sitemap is the only thing which needs to be created externally. --- src/blog/windows-run-dialog/index.du | 143 ++++++++++++++++++----------------- 1 file changed, 73 insertions(+), 70 deletions(-) (limited to 'src/blog/windows-run-dialog') diff --git a/src/blog/windows-run-dialog/index.du b/src/blog/windows-run-dialog/index.du index c5de7b1..5269555 100644 --- a/src/blog/windows-run-dialog/index.du +++ b/src/blog/windows-run-dialog/index.du @@ -1,172 +1,175 @@ -# Windows Run dialog +'def title Windows Run dialog +'def desc On Windows, most often you run an application by finding and double-clicking it's exe file. What a lot of people don't realise is that you can launch any application or open any file you want by typing a single command. That can be achieved inside the Run dialog. -'define expected-reading 3 min -'define created 04 October 2021 -'define edited 31 October 2021 -[$pagenav] +# {title} + +{pagenav 3 min;04 October 2021;31 October 2021} :contents :numbered -1. [url #opening-the-run-dialog Opening the Run dialog] +1. {uhref Opening the Run dialog} -2. [url #commands Commands] +2. {uhref Commands} .numbered - 1. [url #folders Folders] - 2. [url #programs Programs] - 3. [url #windows-settings Windows settings] + 1. {uhref Folders} + 2. {uhref Programs} + 3. {uhref Windows settings} -3. [url #for-more For more] +3. {uhref For more} -On Windows, most often you run an application by finding and double-clicking it's [`.exe`] file. What a lot of people don't realise is that you can launch any application or open any file you want by typing a single command. That can be achieved inside the [=Run dialog=]. +On Windows, most often you run an application by finding and double-clicking it's {` .exe} file. What a lot of people don't realise is that you can launch any application or open any file you want by typing a single command. That can be achieved inside the {b Run dialog}. ## Opening the Run dialog To open the Run dialog, you can either: -[*A)*] Press [`Win + R`] key combination +{i A)} Press {` Win + R} key combination or -[*B)*] Right click on the Windows menu, and then press [`Run`] +{i B)} Right click on the Windows menu, and then press {` Run} -[image ./img/open-run-windows-menu.png] +{img ./img/open-run-windows-menu.png} ## Commands -[image ./img/run-dialog.png] +{img ./img/run-dialog.png} ### Folders -You can open any folder by typing in it's [=full path=]. So, if you have a folder named [`Work`] inside your [`Documents`] folder, the full path will be something like [`C:\Users\John\Documents\Work\\`]. +You can open any folder by typing in it's {b full path}. So, if you have a folder named {` Work} inside your {` Documents} folder, the full path will be something like {` C:\Users\John\Documents\Work\\}. -If your desired folder is directly in your account folder, so [`Desktop`], [`Documents`], [`Pictures`], etc. you can just type in the name of the folder. For example, if you want to open your [`Pictures`] folder, just type in [`pictures`] and it will be opened. +If your desired folder is directly in your account folder, so {` Desktop}, {` Documents}, {` Pictures}, etc. you can just type in the name of the folder. For example, if you want to open your {` Pictures} folder, just type in {` pictures} and it will be opened. There are, of course, some more special location, some of which are: -.table_2 +.table +.2 |= Command |= Location -|: [`%ProgramFiles%`] +|: {` %ProgramFiles%} |: Program Files Folder -|: [`%AppData%`] +|: {` %AppData%} |: User's App Data Folder -[=Bonus=]: [`%appdata%\Microsoft\Windows\Start Menu`] will open the Start Menu folder, from which you can edit what goes inside your start menu. +{b Bonus}: {` %appdata%\Microsoft\Windows\Start Menu} will open the Start Menu folder, from which you can edit what goes inside your start menu. ### Programs -You can always run any application by typing in it's full path. So, to launch something like FireFox, you'll need to type in [`C:\Program Files\Mozilla Firefox\firefox.exe`]. +You can always run any application by typing in it's full path. So, to launch something like FireFox, you'll need to type in {` C:\Program Files\Mozilla Firefox\firefox.exe}. But, whats more important is that you can more easily launch some Windows apps, like Calculator or Control Panel. Here is a list of commands and the application they launch: -.table_2 +.table +.2 |= Command |= Application -|: [`calc`] +|: {` calc} |: Calculator -|: [`mspaint`] +|: {` mspaint} |: Microsoft Paint -|: [`snippingtool`] +|: {` snippingtool} |: Snipping Tool -|: [`notepad`] +|: {` notepad} |: Notepad -|: [`sndvol`] +|: {` sndvol} |: Volume Mixer -|: [`soundrecroder`] +|: {` soundrecroder} |: Sound Recorder -|: [`wuapp`] +|: {` wuapp} |: Windows Updates -|: [`shutdown`]\* +|: {` shutdown}\* |: Shutdown or restart computer |: |: -|: [`cmd`] +|: {` cmd} |: Command Prompt -|: [`powershell`] +|: {` powershell} |: Windows PowerShell -|: [`control`] +|: {` control} |: Control Panel -|: [`taskmgr`] +|: {` taskmgr} |: Task Manager -|: [`msinfo32`] +|: {` msinfo32} |: System Information -|: [`winver`] +|: {` winver} |: Windows Version Window -|: [`cleanmgr`] +|: {` cleanmgr} |: Disk Cleanup -|: [`dfrgui`] +|: {` dfrgui} |: Disk Cleanup (defragmentation) -|: [`mstsc`] +|: {` mstsc} |: Remote Desktop Connection |: |: -|: [`regedit`] +|: {` regedit} |: Registry Editor -|: [`msconfig`] +|: {` msconfig} |: System Configuration Settings -|: [`dcomcnfg`] +|: {` dcomcnfg} |: Component Services -|: [`sigverif`] +|: {` sigverif} |: File Signature Verification Tool -\*: The [`shutdown`] command [url https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown requires parameters]: +\*: The {` shutdown} command {url requires parameters;https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown}: .bulleted -- [`/s`] will shutdown in one minute -- [`/r`] will restart in one minute -- [`/t`] specifies after what amount of time to shutdown or restart (a number needs to be entered afterwards, so [`/t 0`] for immediate execution) -- [`/f`] forces running applications to close (might result in data loss!) +- {` /s} will shutdown in one minute +- {` /r} will restart in one minute +- {` /t} specifies after what amount of time to shutdown or restart (a number needs to be entered afterwards, so {` /t 0} for immediate execution) +- {` /f} forces running applications to close (might result in data loss!) ### Windows settings There are also many "shortcuts" to different Windows settings windows. Those include: -.table_2 +.table +.2 |= Command |= Setting -|: [`mmsys.cpl`] +|: {` mmsys.cpl} |: Sound Properties -|: [`powercfg.cpl`] +|: {` powercfg.cpl} |: Power Options -|: [`timedate.cpl`] +|: {` timedate.cpl} |: Time and Date Options -|: [`ncpa.cpl`] +|: {` ncpa.cpl} |: Network Connections |: |: -|: [`inetcpl.cpl`] +|: {` inetcpl.cpl} |: Internet Properties -|: [`compmgmt.msc`] +|: {` compmgmt.msc} |: Computer Manager -|: [`devmgmt.msc`] +|: {` devmgmt.msc} |: Device Manager -|: [`diskmgmt.msc`] +|: {` diskmgmt.msc} |: Disk Management -|: [`firewall.cpl`] +|: {` firewall.cpl} |: Windows Firewall |: |: -|: [`sysdm.cpl`] +|: {` sysdm.cpl} |: System Properties -|: [`services.msc`] +|: {` services.msc} |: Services -|: [`comexp.msc`] +|: {` comexp.msc} |: Component Services -|: [`gpedit.msc`] +|: {` gpedit.msc} |: Group Policy Editor -|: [`lusrmgr.msc`] +|: {` lusrmgr.msc} |: Local Users and Groups -|: [`certmgr.msc`] +|: {` certmgr.msc} |: Certificate Manager -|: [`taskschd.msc`] +|: {` taskschd.msc} |: Task Scheduler -|: [`fsmgmt.msc`] +|: {` fsmgmt.msc} |: Shared Folders -[=Note=]: [`cpl`] stands for [*Control Panel Item*] and [`msc`] stands for [*Microsoft System Configuration*]. +{b Note}: {` cpl} stands for {i Control Panel Item} and {` msc} stands for {i Microsoft System Configuration}. ## For more -For more commands, check out [url https://windowsruncommands.com/ windowsruncommands.com]. They have a much bigger list of commands and shortcuts you can use. +For more commands, check out {url windowsruncommands.com;https://windowsruncommands.com/}. They have a much bigger list of commands and shortcuts you can use. -- cgit v1.3.1-26-gb76a From 3bf2c2004c1c3ea1748983247e1fcf12913d587f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 14 Sep 2026 11:39:40 +0300 Subject: feat(src): Final markup fixes and dunbar update --- dunbar | 2 +- src/INIT.du | 17 +++++- src/blog/bash-is-weird/index.du | 5 -- src/blog/connect-to-mysql-in-dotnet-ef/index.du | 4 +- src/blog/fix-no-frame-buffer-plan9/index.du | 1 - src/blog/fix-qc-timeout/index.du | 4 -- .../index.du | 2 - .../index.du | 25 +++----- src/blog/how-to-encrypt-email/index.du | 6 +- .../index.du | 5 +- .../install-drivers-for-epson-scanners/index.du | 4 +- .../managing-apps-with-adb-without-root/index.du | 8 +-- .../mundus-first-shot-at-gamedev/basic-concepts.du | 4 +- src/blog/mundus-first-shot-at-gamedev/timeline.du | 6 +- .../mundus-first-shot-at-gamedev/user-interface.du | 2 +- src/blog/plan9-in-linux-mouse-menus/index.du | 8 +-- .../sane-explanation-of-compilers/part-1/index.du | 71 +++++++++++----------- src/blog/taming-the-fun-too/index.du | 10 +-- .../index.du | 32 ++++------ src/blog/turn-off-notifications-windows/index.du | 2 - src/blog/virt-manager-freeze-on-browse/index.du | 6 +- src/blog/windows-run-dialog/index.du | 4 +- src/teaching/oop-2023/week1/good-software.du | 2 + src/teaching/upp-2023/week12/index.du | 8 ++- src/teaching/upp-2025/week13/index.du | 2 +- 25 files changed, 116 insertions(+), 124 deletions(-) (limited to 'src/blog/windows-run-dialog') diff --git a/dunbar b/dunbar index eaa4cb0..efb7d51 160000 --- a/dunbar +++ b/dunbar @@ -1 +1 @@ -Subproject commit eaa4cb0123bcf01056d4dc400f2c3e513f41e967 +Subproject commit efb7d51a645b0038e22eabbe494ddc0598962458 diff --git a/src/INIT.du b/src/INIT.du index d03720a..02e6eff 100644 --- a/src/INIT.du +++ b/src/INIT.du @@ -162,19 +162,32 @@ desc - Page description 'cmdprocess code {if {LANG};highlight -O html -f -S {default {normalise {LANG}};text};cat} 'endif +'let start {unordered}default

+'let end {unordered}default

+'let start {ordered}default

+'let end {ordered}default

+ ## Attention 'let start question
question 'let end question
+'let start {question}default

+'let end {question}default

'let start warn
warn 'let end warn
+'let start {warn}default

+'let end {warn}default

'let start important
important 'let end important
+'let start {important}default

+'let end {important}default

'let start note
'let end note
+'let start {note}default

+'let end {note}default

## Headers @@ -339,6 +352,8 @@ url href # Substitutions +'def fn_ref {sup {1}} + 'def due_for_rework {url {b {i Due for rework}};/rework.html} 'def nohtml {greplace {1};<;<\;} @@ -363,7 +378,7 @@ reading created edited -'def breadcrumb » {def x/...;{>= {count {1};/};1}}{if {x/...};{url {substrBefore {1};/};{default {2};./}};{italic {substrAfter {1};/}}} {{if {x/...};breadcrumb;none} {substrAfter {1};/};{substrAfter {2};../}} +'def breadcrumb » {def x/...;{>= {count {1};/};1}}{if {x/...};{url {substrBefore {1};/};{default {2};./}};{italic {1}}} {{if {x/...};breadcrumb;none} {substrAfter {1};/};{substrAfter {2};../}} 'def pagenav