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 June 21, 2024 04:26
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 May 3, 2024 02:33
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 March 29, 2023 23:31
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 June 15, 2024 02:35
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