Skip to content

Instantly share code, notes, and snippets.

View mxvin's full-sized avatar
🍪

mxvin mxvin

🍪
  • World
View GitHub Profile
@eylenburg
eylenburg / msoffice_in_linux.md
Last active November 19, 2024 08:30
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.

@s0ftice
s0ftice / zerotier-moon
Created May 6, 2020 14:13
How-to setup a zerotier moon for the Parrot Disco/Bebop 2 UAVPAL 4G/LTE softmod
### SERVER SETUP @ Home/Cloud Linux Server (here Debian 9)
echo "deb http://download.zerotier.com/debian/stretch stretch main" | sudo tee /etc/apt/sources.list.d/zerotier.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1657198823E52A61
sudo apt-get update
sudo apt-get install zerotier-one
sudo zerotier-idtool initmoon /var/lib/zerotier-one/identity.public >moon.json
nano -w moon.json
# change the line
"stableEndpoints": []
<?xml version="1.0" ?>
<!--
Stylesheet for Microsoft Word 2010:
Bibliography formatting according to the Bitex standard.
Author(s): Karsten Jahn ([email protected])
Jaime Chavarriaga ([email protected])
Copyright: Copyright (c) 2012 Karsten Jahn
@pwrliang
pwrliang / config.json
Last active December 9, 2021 04:45
V2Ray on Router
# TCP
iptables -t nat -N V2RAY
iptables -t nat -A V2RAY -d 0.0.0.0/8 -j RETURN
iptables -t nat -A V2RAY -d 127.0.0.0/8 -j RETURN
iptables -t nat -A V2RAY -d 192.168.8.0/24 -j RETURN
# From lans redirect to Dokodemo-door's local port
iptables -t nat -A V2RAY -s 192.168.8.0/24 -p tcp -j REDIRECT --to-ports 12345
iptables -t nat -A PREROUTING -p tcp -j V2RAY
iptables -t nat -A OUTPUT -p tcp -j V2RAY
#!/bin/bash
hsurl="https://matrix.org"
access_token="this_was_totally_not_a_valid_token"
roomIds=($(curl "$hsurl/_matrix/client/r0/joined_rooms?access_token=$access_token" | tr '"' '\n' | grep !))
for roomId in ${roomIds[@]}
do
@JamieMason
JamieMason / unfollow.js.md
Last active November 5, 2024 21:42
Unfollow everyone on twitter.com

Unfollow everyone on twitter.com

  1. Go to https://twitter.com/YOUR_USER_NAME/following
  2. Open the Developer Console. (COMMAND+ALT+I on Mac)
  3. Paste this into the Developer Console and run it
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//