Skip to content

Instantly share code, notes, and snippets.

@tedz2usa
tedz2usa / Emacs Shortcut Notes
Last active April 26, 2019 15:54
Emacs Shortcut Notes
Move to beginning or end of line: [HOME] or [END]
Move by word: [ALT]+[F], [ALT]+[B]
Disable line wrapping: M-x toggle-truncate-lines
@tedz2usa
tedz2usa / Copy-Paste Convert to Plain Text Strategy
Last active September 26, 2022 00:44
Copy/Paste Convert to Plain Text Strategy
Windows:
Use tenclips
Assign Ctrl+Shift+V Shortcut.
Mac:
Use Keyboard Maestro
Assign Ctrl+Shift+V hotkey to perform this 1 action:
Insert text by pasting
(Choose Insert Token > Clipboard > System Clipboard, which inserts the variable):
@tedz2usa
tedz2usa / Procedure for Resetting MySQL root password on Ubuntu 18.04 LTS.MD
Last active May 22, 2020 17:55
Procedure for Resetting MySQL root password on Ubuntu 18.04 LTS

Procedure for Resetting MySQL root password on Ubuntu 18.04 LTS

There is a way to start MySQL in a safe mode with the SUDO command, bypassing user authentication. When we start the MySQL Server in this mode, we can enter the mysql shell without a password, and have access privileges to all databases and tables. From there, we'll be able to reset the mysql root user password.


First, stop the existing MySQL Server:

× π − √ ∠ · ] [ → Δ θ °C → ← © Ⓡ ∂
Relational operators:
≠ ≥ ≤ ±
• Bullet
≈ ⊕