Skip to content

Instantly share code, notes, and snippets.

View oleksis's full-sized avatar
💭
Be Happy!

Oleksis Fraga Menéndez oleksis

💭
Be Happy!
View GitHub Profile
@oleksis
oleksis / Oh-My-Posh_Posh-Git.md
Last active January 21, 2023 06:57
Set up a custom prompt for PowerShell or WSL with Oh My Posh

Instalar y Configurar Oh-My-Posh V3 y Posh Git

Usar Powershell como Administrador o con las directiva de ejecución de PowerShell para ejecutar scripts

Establecer directiva de ejecución RemoteSigned

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Instalar

@oleksis
oleksis / Compile_wxPython_4.1.2a1_Python3.10_Windows.md
Last active January 7, 2023 23:09
Compile wxPython 4.1.2a1 using Microsoft C++ Build Tools 2019

Use case:

  • Windows 11 Dev Channel
  • GnuWin32: Make winget install -e --id GnuWin32.Make
  • Windows Subsystem for Linux 2
➜ wsl --version
WSL version: 0.50.2.0
Kernel version: 5.10.74.3
WSLg version: 1.0.29
Windows version: 10.0.22523.1000
@oleksis
oleksis / Compile_wxPython_4.1.1_Python3.9.5_Ubuntu_21.04_hirsute_hippo.md
Last active January 23, 2022 00:52
Compile wxPython 4.1.1 using Ubuntu on Windows Community Preview
@oleksis
oleksis / Upgrade_Ubuntu-21.04_to_Ubuntu-21.10.md
Last active July 23, 2023 13:48
Upgrade from Ubuntu 21.04 'Hirsute Hippo' to Ubuntu 21.10 'Impish Indri'

Upgrade to Ubuntu 21.10 'Impish Indri'

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Hirsute Hippo (development branch)
Release:        21.04
Codename:       hirsute
@oleksis
oleksis / Upgrade_openSUSE_Tumbleweed.md
Last active February 16, 2023 04:52
Upgrade openSUSE Tumbleweed

Upgrade openSUSE Tumbleweed

Check current version

$ cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20211111"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20211111"
@oleksis
oleksis / Update_openSUSE_15.3_to_15.4.md
Last active June 25, 2023 01:53
Update openSUSE 15.3 to 15.4

Update openSUSE 15.3 to 15.4

Check current version

$ cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.3"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.3"
@oleksis
oleksis / xampp_php8_xdebug.md
Created March 8, 2022 18:25
Installing Xdebug for XAMPP

Installing Xdebug for XAMPP

XDebug Setup for PHP 8

Download XDebug

Installation using the Wizard.

Copy the PHP info using Powershell

 php -i | clip
@oleksis
oleksis / Compile_wxPython_4.1.2a1_openSUSE_Tumbleweed.md
Last active October 21, 2023 18:24
Compile wxPython 4.1.2a1 on openSUSE Tumbleweed

Compile wxPython from source on openSUSE Tumbleweed

Dev Tools

sudo zypper -n install -t pattern devel_basis
sudo zypper -n install gcc-c++ git wget

Requirement for build Python from source (Build dependencies)

@oleksis
oleksis / OpenSSH-Server_sshd_Windows_11.md
Created April 9, 2022 19:25
Configuring OpenSSH-Server (sshd) on Windows 11

Configuring OpenSSH-Server (sshd) on Windows 11

Install the OpenSSH Server

Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

Start the sshd service

Start-Service sshd
@oleksis
oleksis / azure-winget.md
Created August 1, 2022 15:17
Azure and winget tools

Azure

The Azure region

az account list-locations -o table
az functionapp list-consumption-locations | ConvertFrom-Json | Select-Object Name | Sort-Object Name

Winget