Skip to content

Instantly share code, notes, and snippets.

View kiwnix's full-sized avatar

Eduardo Garcia Cebollero kiwnix

View GitHub Profile
@kiwnix
kiwnix / msoffice_in_linux.md
Created October 1, 2024 11:38 — forked from eylenburg/msoffice_in_linux.md
Installing Microsoft Office in Linux

Step by step guide: How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

  1. Winapps, based on KVM, QEMU, Docker/Podman and FreeRDP. Still actively maintained (getting Github commits). Decribed below
  2. Cassowary, based on KVM, QEMU, libvirt/virt-manager, and FreeRDP. Has a helpful GUI and apparently can auto-suspend the VM when no Windows app is in use. Last release in Feb 2022 and seems to be abandoned.

The VM-based options means can run Office 2021 or Office 365 including all apps, but while the Windows apps themselves run flawlessly (as they're running on real Windows) there's various freerdp-related bugs you may encounter.

#!/bin/sh
# Para smartproxy server ( https://addons.mozilla.org/es/firefox/addon/smartproxy/ )
echo "[SmartProxy Servers]"
curl -LsS https://api.mullvad.net/public/relays/wireguard/v1/ | jq -r ".countries[] | (.code + \" - \" + .name + \" \" + ( .cities[] | (.name + \";\" + (.relays[].hostname / \"-\")[0] + \"-wg.socks5.mullvad.net\" ) ) ) + \":1080\" " | awk '{split($0,a,";"); print a[2] " [SOCKS5] " "["a[1]"]"}' | sed s/","/" -"/g
@kiwnix
kiwnix / admin.py
Created March 10, 2017 20:25 — forked from mariocesar/admin.py
Django admin decorator to create a confirmation form action, like the default delete action works
from .models import Post, Category
from .decorators import action_form
class PostCategoryForm(forms.Form):
title = 'Update category for the selected posts'
category = forms.ModelChoiceField(queryset=Category.objects.all())
@admin.register(Post)
@kiwnix
kiwnix / keybase.md
Last active November 2, 2017 01:25

Keybase proof

I hereby claim:

  • I am kiwnix on github.
  • I am kiwnix (https://keybase.io/kiwnix) on keybase.
  • I have a public key ASB0Jb7EfN56g3aFVYRzmAh_55zgYZVDiwxeHeNzRrc9yAo

To claim this, I am signing this object: