Skip to content

Instantly share code, notes, and snippets.

@danpeig
danpeig / midnight_commander.md
Created March 10, 2025 22:32
Midnight Commander cheatsheet

Midnight Commander

In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This was the convention used in Midnight Commander documentation.

Main View

File/directory operations

  • F3 View file
  • Shift + F3 View raw file (disregard extension)
@danpeig
danpeig / windows_icons_locations.md
Created March 10, 2025 22:29
Microsoft Windows Icons locations

MS Windows System Icon Pack locations

  • Newer: %systemroot%\system32\imageres.dll
  • Alternative: %systemroot%\system32\shell32.dll
  • Old Style: %systemroot%\system32\pifmgr.dll, %systemroot%\system32\moricons.dll , %systemroot%\system32\mmcndmgr.dll, %systemroot%\system32\compstui.dll
  • Explorer: %systemroot%\explorer.exe
  • Hardware: %systemroot%\system32\ddores.dll, %systemroot%\system32\setupapi.dll, %systemroot%\system32\dmdskres.dll
  • Audio/Multimedia: %systemroot%\system32\mmres.dll, %systemroot%\system32\wmploc.dll
  • Network: %systemroot%\system32\netcenter.dll, %systemroot%\system32\netshell.dll,%systemroot%\system32\dsuiext.dll, %systemroot%\system32\networkexplorer.dll, %systemroot%\system32\mstsc.exe
@danpeig
danpeig / mediawiki_cheatsheet.md
Created March 10, 2025 22:24
Mediawiki basic to advanced cheatsheet

Mediawiki Markup

Decoration

  • ''italic'': italic
  • '''bold''': bold
  • '''''bold & italic''''' : bold & italic
  • == level 1 == : heading 1 (page title)
  • === level 2 === : heading 2
  • ==== level 3 ==== : heading 3
  • ===== level 4 =====: heading 4
@danpeig
danpeig / automatic-site-backup.md
Last active March 10, 2025 21:51
Automatic backup script for site files + MySQL database

Automatic site backup: files + databases using Rclone

This will work in most VPS and shared hosting services based on Linux.

It is known to work with Bluehost and A2 Hosting, both of these hosting services comply with all requirements.

Features

  • Creates local compressed backups of files and databases
  • Works with any type of web service (PHP, Node, ASP, Perl, etc...)
  • Option to limit the amount of backups to keep