Skip to content

Instantly share code, notes, and snippets.

View rikrdo89's full-sized avatar

Ricardo Linares rikrdo89

View GitHub Profile
@ChristopherA
ChristopherA / Mermaid_on_Github_Examples.md
Last active November 15, 2024 14:33
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 October 21, 2024 15:55
Windows SSH Server with Password-less Key Authentication and Default WSL2 Shell

Windows SSH Server with Password-less Key Authentication and Default WSL2 Shell

Disclaimer: I am not a Windows Admin and I'm not even that good with PowerShell.

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

😍 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 August 25, 2024 03:17
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 ([email protected])
find . -type d |
while read subdir
do
rm -f "$subdir"/*.m3u