$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # https://raymii.org/s/tutorials/Disable_dynamic_motd_and_motd_news_spam_on_Ubuntu_18.04.html | |
| # Disable Dynamic MOTD | |
| # Change ENABLED=1 to ENABLED=0. | |
| sudo nano /etc/default/motd-news | |
| # Disable a few components | |
| sudo chmod -x /etc/update-motd.d/00-header |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "* text=auto" >.gitattributes | |
| git add --renormalize . | |
| git commit -m "Renormalized end-of-line" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch -m master main | |
| git fetch origin | |
| git branch -u origin/main main | |
| git remote set-head origin -a | |
| git branch -m master main && git fetch origin && git branch -u origin/main main && git remote set-head origin -a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// Convert a <see cref="TimeSpan"/> to a natural language representation. | |
| /// </summary> | |
| /// <example> | |
| /// <code> | |
| /// TimeSpan.FromSeconds(10).ToNaturalLanguage(); | |
| /// // 10 seconds | |
| /// </code> | |
| /// </example> | |
| public static string ToNaturalLanguage(this TimeSpan @this) |
- Boot into Rescue mode
-
Download and run the Remote KVM Java Applet
-
Power Control > Set Power Reset
If it doesn't boot into rescue mode you may need to press DEL to run setup and revise to boot order to make Network first.
OlderNewer