How to write special characters in a variety of documentation forms.
Examples are Arrow keys, copyright, trademark, degrees (temperature or latitude/longitude)
- MarkDown
- GitHub
- Microsoft Word
- HTML
- Unicode
- Fonts
How to write special characters in a variety of documentation forms.
Examples are Arrow keys, copyright, trademark, degrees (temperature or latitude/longitude)
IT techs that use imaging/deployment and/or DHCP/PXE will often be working with a computer's GUID, UUID, or MAC address. For example, you have received a shipment of new desktops and are preloading your Windows Active Directory with the new computer names in the desired OU. You will then be ready to boot them and have the new computers network PXE and start installing your company base image. The packaging gives you the UUID but you need to provide the GUID to the computer proerties in AD.
Some tools to help convert back and forth between the different formats.
Example:
WFLGNVLAB01
UUID: 457A9480-E7BE-11E2-9C6A-8851FB69DFA3
GUID: 80947A45-BEE7-E211-9C6A-8851FB69DFA3
| Error Code | Dec Error Code | Error String | Description |
|---|---|---|---|
| 0x00000000 | -4294967296 | Success | |
| 0x0000007B | -4294967173 | Error_Invalid_Name | The filename, directory incorrect |
calc.exe
Menu, Programmer
[Hex] 0x7B
[Dec] 123
| PUSHD %~dp0 | |
| SET DateString=%DATE:~10,4%%DATE:~4,2%%DATE:~7,2% |
| REISUB - the gentle Linux restart | |
| According to Lifehacker a frozen Linux system that's not responding to the Ctrl-Alt-Delete three-finger-salute can be restarted more safely than by pushing the power button, which is usually the next step. | |
| Holding down Alt and SysRq (which is the Print Screen key) while slowly typing REISUB will get you safely restarted. REISUO will do a shutdown rather than a restart. | |
| Sounds like either an April Fools joke or some very strange magic akin to the old BIOS beeps we used to use to diagnose PC faults so bad that nothing would boot. Wikipedia comes to the rescue with an in-depth listing of all the SysRq keys. | |
| R: Switch the keyboard from raw mode to XLATE mode | |
| E: Send the SIGTERM signal to all processes except init |
| :again | |
| if "%~1" == "" GOTO done | |
| ffmpeg.exe -i "%~1" -t 00:00:15 "%~n1_clip%~x1" | |
| SHIFT | |
| GOTO again | |
| :done |
| @echo off | |
| net session >nul 2>&1 | |
| if %errorlevel% neq 0 ( | |
| echo Requesting administrative privileges... | |
| powershell -Command "Start-Process '%~f0' -Verb RunAs" | |
| exit /b | |
| ) | |
| wsl sudo fstrim --all; echo "Exit status: $?"; |
| import pandas as pd | |
| import hashlib | |
| from datetime import datetime | |
| def detect_dataframe_changes(source_df: pd.DataFrame, target_df: pd.DataFrame, primary_key: str, ignored_columns: list): | |
| """ | |
| Detects inserted, updated, and deleted rows between two DataFrames. | |
| Args: | |
| source_df (pd.DataFrame): The source DataFrame. |
| import pandas as pd | |
| import ray | |
| from ray.data import Dataset | |
| from ray.data.context import DataContext, ShuffleStrategy | |
| from typing import List | |
| import time | |
| from ray.data.aggregate import Count, Mean, Min, Max, Quantile, Std, Unique, AggregateFnV2 | |
| from ray.data.block import BlockAccessor, Block | |
| from typing import List, Tuple, Optional | |
| from ray.data import Dataset |
| from hashlib import md5 | |
| import pandas as pd | |
| from typing import Optional, Iterable | |
| def get_md5_from_series(input_iterable: Iterable) -> str: | |
| """ | |
| Create a MD5 hash from an Iterable, typically a row from a Pandas ``DataFrame``, but can be any | |
| Iterable object instance such as a list, tuple or Pandas ``Series``. | |
| Args: |