Skip to content

Instantly share code, notes, and snippets.

View ruandre's full-sized avatar

Ruandré Janse van Rensburg ruandre

View GitHub Profile
@ruandre
ruandre / target-blank.html
Last active February 7, 2022 17:02
target blank security
<!--
https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
https://medium.com/sedeo/how-to-fix-target-blank-a-security-and-performance-issue-in-web-pages-2118eba1ce2f
https://blog.dareboost.com/en/2017/03/target-blank-links-rel-noopener-performance-security/
-->
<a href="#" target="_blank" rel="noopener noreferrer">Link</a>
@ruandre
ruandre / .alacritty.yml
Last active June 18, 2021 16:35
Alacritty Settings
# https://github.com/alacritty/alacritty
TERM: xterm-256color
window:
dimensions:
columns: 147
lines: 37
@ruandre
ruandre / settings.md
Last active February 8, 2022 17:35
VSCode Settings
@ruandre
ruandre / settings.json
Last active February 7, 2022 16:10
Windows Terminal
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
@ruandre
ruandre / shell-tips.md
Last active February 8, 2022 05:32
Linux Shell Tips (Bash, etc.)

Shell Tips

Mostly "notes to self" as I occasionally forget...

System info

uname -a
@ruandre
ruandre / win10-11.md
Last active March 30, 2024 09:54
After installing Windows 10/11

🪟 After installing Windows 10/11

Install

You can use https://uupdump.net/ to build up an ISO file (even from Linux or Mac, the options enable you to keep the file size down) and just drop into https://github.com/ventoy/Ventoy and you're good to go.

If you're already running Windows you can do ⊞ Win, Reset this PC for a more convenient ISO download option.

For keys try https://www.microsoft.com/windows/get-windows-11 or local retail store, otherwise check PC Hardware channels on YouTube as they often have links to discounted keys (obviously check if valid/legit, due diligence, etc.)

@ruandre
ruandre / sublime-text-settings.md
Last active February 7, 2022 17:48
Sublime Text Settings

Sublime Text Settings

https://www.sublimetext.com/

Preferences.sublime-settings.json

{
  "always_prompt_for_file_reload": true,
  "bold_folder_labels": true,
@ruandre
ruandre / nix-on-wsl-debian-ubuntu.md
Last active August 28, 2023 20:41
Nix on WSL Debian/Ubuntu

Nix on WSL Debian/Ubuntu

Prep

Install these if not already available:

sudo apt install curl xz-utils
@ruandre
ruandre / Profile.ps1
Last active September 23, 2023 15:28
PowerShell Profile.ps1
# ___ ______ ____
# / _ \___ _ _____ ____/ __/ / ___ / / /
# / ___/ _ \ |/|/ / -_) __/\ \/ _ \/ -_) / /
# /_/ \___/__,__/\__/_/ /___/_//_/\__/_/_/
#
# https://github.com/PowerShell/PowerShell
# %USERPROFILE%\Documents\PowerShell\Profile.ps1