Skip to content

Instantly share code, notes, and snippets.

View miqueiaspenha's full-sized avatar
🏠
Working from home

Miqueias Penha miqueiaspenha

🏠
Working from home
  • Brasil
View GitHub Profile
@miqueiaspenha
miqueiaspenha / gist:2f42af00627bfc93902016cfc5aa9788
Created November 6, 2021 18:27 — forked from jmblog/gist:3222899
Simple HTML encoding/decoding using jQuery
// http://stackoverflow.com/questions/1219860/javascript-jquery-html-encoding
function htmlEncode(value){
return $('<div/>').text(value).html();
}
function htmlDecode(value){
return $('<div/>').html(value).text();
}
@miqueiaspenha
miqueiaspenha / mint_themes_ubuntu.md
Created November 7, 2023 15:15 — forked from 0lzi/mint_themes_ubuntu.md
Install Mint Themes and Icons on Ubuntu
# Install required packages
sudo apt-get install git make ruby-sass

# Keep all the stuff together
mkdir mint
cd mint

# Clone the repository
git clone https://github.com/linuxmint/mint-themes.git
@miqueiaspenha
miqueiaspenha / fonts.sh
Created November 8, 2023 18:21 — forked from incogbyte/fonts.sh
Install Meslo Fonts Ubuntu Linux Mint and debians
#!/bin/bash
sudo apt install fontconfig
cd ~
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Meslo.zip
mkdir -p .local/share/fonts
unzip Meslo.zip -d .local/share/fonts
cd .local/share/fonts
rm *Windows*
cd ~