Skip to content

Instantly share code, notes, and snippets.

View ychevarrias's full-sized avatar

Yelson Chevarrias ychevarrias

  • Lurin, Lima - Perú
  • 23:26 (UTC -05:00)
View GitHub Profile
@p3jitnath
p3jitnath / install-docker.sh
Last active June 22, 2024 11:56
Docker and Nvidia Docker installation in Ubuntu 20.04 LTS
# WARNING : This gist in the current form is a collection of command examples. Please exercise caution where mentioned.
# Docker
sudo apt-get update
sudo apt-get remove docker docker-engine docker.io
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
docker --version
@xrdPe
xrdPe / del-paywall.js
Created January 19, 2024 17:31
Saltar pago en publicaciones de "El Comercio"
(function () {
let firstBlock = document.querySelector(".story-contents .story-contents__font-paragraph");
if(firstBlock){
firstBlock.classList.remove("story-contents--fade");
}
let premiumBlock = document.querySelector(".story-content__nota-premium.paywall");
if(premiumBlock){
premiumBlock.style.height = 'auto';
premiumBlock.style.opacity = 1;
premiumBlock.style.userSelect = 'all';