Skip to content

Instantly share code, notes, and snippets.

View Nithanim's full-sized avatar

Nithanim

  • Somewhere with trains
  • Austria
View GitHub Profile
@Nithanim
Nithanim / popup.partial.vue.ts
Created May 6, 2021 10:26
OAuth login via popup
// These are some methods from a VUE SFC serving as examples
// Called when user wants to login
private doLogin(provider: AvailableProvider) {
const popup = Login.openPopup();
if (popup == null) {
// Could fall back to full-redirect instead of popup, theoretically
alert("Please allow popups!");
} else {
popup.focus();
@Nithanim
Nithanim / README.md
Last active May 14, 2021 13:47
WINE 6.7 staging TKG for Guild Wars 2 on Ubuntu 20.04
@Nithanim
Nithanim / README.md
Created May 9, 2021 22:46
Compile TS3 plugin ducker

How to comple the ducker Teamspeak3 plugin (https://github.com/thorwe/teamspeak-plugin-ducker) for linux.

Mor or less follow the compile instuctions in https://github.com/thorwe/teamspeak-plugin-ducker#compiling-yourself. Since we a are only interested in x64, obly create and go into the build64 folder. the call cto cmake does not need any of the arguments that are stated, only cmake ...

Call make. For the error that complains about random stuff and mentions "fpermissive", go to deps/teamspeak-plugin-qt-common/CMakeLists.txt and add set(CMAKE_CXX_FLAGS "-fpermissive") somewahre in the top lines. Call make again and it should (hopefully) compile successfully.

@Nithanim
Nithanim / start.sh
Created August 7, 2021 18:54
Start script for Guild Wars 2 with a custom wine build
#!/bin/bash
# This is a script for a custom Guild Wars 2 installation on Linux (Ubuntu 20.04).
# Drop it in the wine-prefix folder
# It is the start script for a custom wine build with some (performance) setings on top.
# Options are commented
# A gw2.log will be created right next to this script
path_to_gw2="/path_to_your_gw2_prefix/guild-wars-2/drive_c/Program Files/Guild Wars 2/GW2-64.exe"
@Nithanim
Nithanim / hybrid_tunnel_locomotive_log.bt
Created August 8, 2021 11:40
File format of hybrid tunnel locomotive log file
//------------------------------------------------
//--- 010 Editor v10.0.2 Binary Template
//
// File: LO_6827.LOG
// Authors:
// Version:
// Purpose: Log file format of something like this hybrid tunnel locomotive: https://www.schoema.de/media/schoema_datenblatt_hybrid-tunnellokomotiven_en.pdf
// Category:
// File Mask:
// ID Bytes:
# mounts
2486036=Taiga Lupine?
2486027=Alluring Devilfish
2486018=Dappled Reef Glaucus
2485886=Kintsugi Raptor
2485874=Dark Matter Raptor
2485840=Lucent Long Ear
2485806=Aurene's Prismatic Griffon
2485796=Sunrise Macaw
2485737=Darkmist Terror
@Nithanim
Nithanim / main.md
Last active March 11, 2025 10:45
Detailed Guide for LineageOS 17.1 on Samsung Galaxy Tab S (SM-T805)

This guide is based on the work of https://forum.xda-developers.com/t/rom-unofficial-10-lineageos-17-1-for-samsung-galaxy-tab-s-sm-t700-sm-t705-sm-t800-sm-t800-sm-p600.4270943/ Just a tiny bit more detailed. You can adapt it for the other devices mentioned there. Please make sure that you always download and use only files specifically for your device (never close-enough!).

As always: THIS WILL VOID YOUR WARRANTY AND I AM NOT RESPONSIBLE FOR ANY DAMAGES! YOU ARE DOING THIS AT OUR OWN RISK. ADDITIONALLY ALL YOUR DATA WILL BE DELETED IN THE PROCESS!

@Nithanim
Nithanim / oebb-live.openapi.yml
Created May 26, 2022 19:20
ÖBB live openapi schema
openapi: 3.0.3
info:
title: OEBB LIVE
version: '1'
servers:
- url: https://live.oebb.at/
paths:
/backend/info:
get:
parameters:
@Nithanim
Nithanim / tplink_archer_c80.md
Created August 30, 2022 17:33
TP-Link Archer C80 Setup for Network Admins
@Nithanim
Nithanim / template.bt
Created October 15, 2022 19:20
010Editor Steam Server Query Response Template
// 010Editor templatefor steam server query response
//https://developer.valvesoftware.com/wiki/Server_queries
int32 prefix;
byte header<format=hex>;
byte protocol<format=hex>;
string name;
string map;
string folder;
string game;