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 June 21, 2024 17:59
Installing Microsoft Office 2016 (Excel, Powerpoint, Word) in Linux

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

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

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

  1. Winapps, based on KVM, QEMU, Virt-Manager, and FreeRDP. Still actively maintained (getting Github commits).
  2. Cassowary, based on KVM, QEMU, 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 for me it was quite buggy and when I encounterd some (FreeRDP-related?) bug in both Winapps and Cassowary that meant I could only start Excel with an external screen plugged in, I gave up. bug

@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 (karsten@k-jahn.de)
Jaime Chavarriaga (jaime.chavarriaga@gmail.com)
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 June 25, 2024 10:48
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
//