Skip to content

Instantly share code, notes, and snippets.

View palopezv's full-sized avatar

Pedro A. López-Valencia palopezv

  • 2561 m (8402 ft) of paranoia above sea level.
View GitHub Profile

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@palopezv
palopezv / config
Last active April 16, 2023 17:14
sway config file
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
@palopezv
palopezv / mpv.conf
Last active July 31, 2023 21:20
my personal mpv windows configuration.
# 2023-08-01
# use quotes for text that may contain spaces.
term-status-msg = "Time: ${time-pos}"
#
vo = gpu-next
#
hwdec = auto
gpu-api = vulkan
gpu-context = winvk
@palopezv
palopezv / enable SMB_anonymous_share_access_in_win10.txt
Last active February 7, 2022 15:18
Enable insecure SMB (1/2/3) anonymous share access in windows 10
#
# run command in administrator mode.
#
reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters /v AllowInsecureGuestAuth /t reg_dword /d 00000001 /f
#
#
@palopezv
palopezv / adiantum-encryption-how-to.md
Last active May 18, 2024 12:44
How to create a LUKS partition encrypted with Adiantum, ideal for low end and older devices/computers

How to create a LUKS partition encrypted with the Adiantum scheme

Important note

  • Sector size and key size are fixed, you cannot change them!
  • You can play with the hash but using less than sha256 is irresponsible!
  • You can convert an already existing luks2 partition with cryptsetup(8).

Very low end devices or computers (say, an old Pentium, Celeron, Raspberry Pi or older SoC)

@palopezv
palopezv / PKGBUILD_libtorrent-rasterbar
Created September 16, 2020 14:34
libtorrent-rasterbar PKGBUILD that fixes upstream ABI breakage
pkgname=libtorrent-rasterbar
pkgver=1.2.10
pkgrel=1
epoch=1
pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
url="https://www.rasterbar.com/products/libtorrent/"
arch=('x86_64')
license=('BSD')
depends=('boost-libs')
makedepends=('boost' 'python2' 'python')
@palopezv
palopezv / rclone_mount_commands.txt
Last active March 28, 2020 17:18
mounting cloud storage with rclone
# Unix-like OSs
#
# From the command line or a script, if using systemd
#
systemd-run --scope --user --nice=10 rclone mount --vfs-cache-mode full --vfs-cache-max-age <hours>h<minutes>m --write-back-cache --option big_writes remote: /home/<user>/<target>
#
# From a session manager or an OS using a diffent process manager...
#
rclone mount --vfs-cache-mode full --vfs-cache-max-age <hours>h<minutes>m --write-back-cache --option big_writes remote: /home/<user>/<target>
#
@palopezv
palopezv / user.js
Created June 2, 2019 15:10
Firefox Nightly Portable personal settings
# Mozilla User Preferences
/* Do not edit this file.
*
* If you make changes to this file while the browser is running,
* the changes will be overwritten when the browser exits.
*
* To make a manual change to preferences, you can visit the URL about:config
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/
# /etc/default/svnserve
# svnserve options
DAEMON_ARGS="--daemon --pid-file /run/svnserve/svnserve.pid --root /srv/svn/repos --log-file /var/log/svnserve/svnserve.log"
The URI is:
https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/your-google-code-project/repo.svndump.gz