Skip to content

Instantly share code, notes, and snippets.

View oprietop's full-sized avatar
🤘
Forking

Oscar Prieto oprietop

🤘
Forking
  • NERV
  • Court Of The Crimson King
View GitHub Profile
@oprietop
oprietop / windows_activation.md
Created October 25, 2023 16:01 — forked from butageek/windows_activation.md
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

@oprietop
oprietop / update-zfs.sh
Created July 25, 2023 06:37 — forked from corrupt/update-zfs.sh
Bash helper script to update zfs-linux and zfs-utils on arch linux from the arch-zfs repo. I use it whenever the kernel revision in arch's official repos is ahead of arch-zfs. This script will pull a matching kernel version from archive.archlinux.org.
#!/bin/bash
##
#
# update-zfs.sh
#
# simple ZFS update script for arch linux
#
# will update zfs-linux and zfs-utils to their latest versions in the arch-zfs repo
# will retrieve mathching kernel packages from the arch linux package archive, even
@oprietop
oprietop / wget.sh
Created July 22, 2021 19:16 — forked from crittermike/wget.sh
Download an entire website with wget, along with assets.
# One liner
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com
# Explained
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.
@oprietop
oprietop / install.sh
Last active July 4, 2018 10:30 — forked from wdullaer/install.sh
Install Latest Docker and Docker-compose on Ubuntu
# Ask for the user password
# Script only works if sudo caches the password for a few minutes
sudo true
# Install kernel extra's to enable docker aufs support
# sudo apt-get -y install linux-image-extra-$(uname -r)
# Add Docker PPA and install latest version
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"