Skip to content

Instantly share code, notes, and snippets.

View rikrdo89's full-sized avatar

RicardoL rikrdo89

View GitHub Profile
@ChristopherA
ChristopherA / Mermaid_on_Github_Examples.md
Last active January 23, 2026 16:22
Mermaid on Github Examples

Mermaid on Github Examples

All of these diagrams are dynamically rendered during html display by Github, the images generated from text inside the Github-Flavored Markdown. None are static images. Mermaid support was released for Github on 2022-02-14

Pros & Cons:

  • Pro: You don't need to care about the layout.
  • Con: You cannot control the layout.

Notes:

  • Not all the features of Mermaid (in particular symbols B-->C[fa:fa-ban forbidden], hyperlink and tooltips) are supported by Github.
@adamelliotfields
adamelliotfields / windows-ssh-no-password-with-keys-wsl2.md
Last active January 24, 2026 15:30
Windows SSH Server with Password-less Key Authentication and Default WSL2 Shell

I wanted to be able to SSH into my Windows laptop directly into Linux. I also wanted to disable password authentication and only allow public key (RSA in my case) authentication.

Scott Hanselman wrote a blog post on how to make your default WSL2 distro your default shell for SSH. Windows OS Hub published an article on using public key authentication. These were both helpful resources.

I'll assume you're already familiar with using SSH keys. If not, this article at DigitalOcean is very informative.

Add your public key to your authorized keys file

First thing you want to do is create the file $HOME\.ssh\authorized_keys. If you run into issues, it could be due to incorrect file ownership.

๐Ÿ˜ The beginners note for OSINT ๐Ÿ“š


The number of OSINT tools and services is constantly growing (image via osintframework.com)

Definition:
(intentionally left blank)

@shaun-jacks
shaun-jacks / shiny-vision-custom.css
Last active September 23, 2024 04:16
R Shiny custom.css style of Shiny Dashboard. Code inspired by user aagarw30 repo
/* header title font */
.main-header .logo {
font-family: "helvetica", serif, Times, "Times New Roman";
font-weight: bold;
font-size: 24px;
}
/* background color of header (logo part) */
.skin-blue .main-header .logo {
background-color: #252525;
@ganeshv
ganeshv / .block
Last active June 5, 2024 17:05
Zoomable Treemap Template
license: gpl-3.0
@scarlson
scarlson / playlist.sh
Last active February 21, 2025 04:08
Bash script to create .m3u playlist files for all mp3s in subdirectories
#!/bin/bash
#
# bash script to create playlist files in music subdirectories
#
# Steve Carlson (stevengcarlson@gmail.com)
find . -type d |
while read subdir
do
rm -f "$subdir"/*.m3u