Skip to content

Instantly share code, notes, and snippets.

View pabloagn's full-sized avatar
♦️
Coding

Pablo Aguirre pabloagn

♦️
Coding
View GitHub Profile
@pabloagn
pabloagn / example-gists-1.py
Last active February 2, 2023 00:20
Example gists for blog post: What are GitHub Gists and How to Use Them
"""
Created on Wed Jan 18 19:23:00 2023
@author: Pablo Aguirre
GitHub: https://github.com/pabloagn
Website: https://pabloagn.com
Contact: https://pabloagn.com/contact
Part of Blog Article: what-are-github-gists-and-how-to-use-them
"""
@pabloagn
pabloagn / about-gist-formatting.md
Last active February 3, 2023 17:01
CSS theme for GitHub Gists supporting Code Blocks, Tables and Markdown

CSS theme for GitHub Gists supporting Code Blocks, Tables and Markdown

Inside this gist

  • CSS theme including a Dark Mode class implementation (Dark Mode implementation not included)
  • HTML div for formatting tests, including Google Fonts import.

Testing

  • I've created a Pen which you can consult to see how it all looks.
  • You can also create your own Pen and modify the formatting.
@pabloagn
pabloagn / about-github-badges.md
Last active February 5, 2023 05:35
A collection of GitHub Badges as JSON snippets for use in Shields.io
@pabloagn
pabloagn / collapsible-table-of-contents.md
Created February 3, 2023 18:23
Collapsible table of contents in Markdown using HTML
Code
<details>
<summary>Table of Contents</summary>
<ul>  
  <li>Part 1</li>  
  <li>Part 2</li>  
  <li>Part 3</li>  
</ul>
@pabloagn
pabloagn / centered-buttons-in-markdown.md
Last active April 10, 2023 02:42
HTML providing inline centered buttons and images for use in Markdown.
Code
<div id="images">
    <p style="text-align:center;">
    <a href="https://pabloagn.com/about">
    <img src="https://img.shields.io/badge/About-f2f2f2?style=for-the-badge"/></a>&nbsp&nbsp
    <a href="https://pabloagn.com/contact">
    <img src="https://img.shields.io/badge/Contact-f2f2f2?style=for-the-badge"/></a>
</div>
@pabloagn
pabloagn / 01_about.md
Last active June 17, 2023 17:57
User-wide settings for VS Code, Windows Terminal, WSL2 & Notepad++.

User-wide settings for VS Code, Windows Terminal & more

Table of Contents

Gist Original File Name Path
vscode-settings.json settings.json C:\Users\pablo\AppData\Roaming\Code\User
vscode-keybindings.json keybindings.json C:\Users\pablo\AppData\Roaming\Code\User
windows-terminal-settings.json settings.json C:\Users\pablo\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
p10k.zsh .p10k.zsh \\wsl.localhost\Ubuntu\home\pabloagnck\.config\zsh
zshrc .zshrc \\wsl.localhost\Ubuntu\home\pabloagnck\.config\zsh
@pabloagn
pabloagn / install-lf.sh
Created February 4, 2023 02:18
Instructions for installing different programs and command line utilities
# Installing lf on WSL2 using Ubuntu
curl -L https://github.com/gokcehan/lf/releases/latest/download/lf-linux-amd64.tar.gz | sudo tar xzC /usr/local/bin
Correlation Coefficient for a Direct Relationship Correlation Coefficient for an Indirect Relationship Relationship Strength of the Variables
0 0 None/trivial
0.1 -0.1 Weak/small
0.3 -0.3 Moderate/medium
0.5 -0.5 Strong/large
1 -1 Perfect
@pabloagn
pabloagn / 01_install-jupyterthemes.ps1
Last active February 9, 2023 16:11
Collection of snippets for installing and managing Jupyter Notebook custom themes
pip install jupyterthemes
@pabloagn
pabloagn / interface.css
Last active February 15, 2023 22:52
Obsidian custom css snippets for pdf exporting and interface customization
body {
--radius-m: 0;
--input-radius: 0;
}
body:not(.is-mobile) .modal {
border: none;
}
.markdown-preview-view h1,
.cm-s-obsidian .cm-header.cm-header-1
{