Skip to content

Instantly share code, notes, and snippets.

@keenthemes
keenthemes / _init.js
Created November 21, 2022 14:37
Place this file in resources/assets/core/js/components/_init.js
//
// Global init of core components
//
// Init components
var KTComponents = function () {
// Public methods
return {
init: function () {
KTApp.init();
@icedterminal
icedterminal / about.md
Last active July 25, 2024 00:34
Jellyfin + NGINX

Jellyfin + NGINX

Reference configuration files for using Jellyfin with NGINX.

https://docs.icedterminal.com/en/linux/jellyfin

  • Last updated: 2nd January, 2024
  • Supports NGINX mainline releases with OpenSSL 3+. The minimum required verison is 1.25.1.

Notes

The config files are used with my own custom build of NGINX. Things you will not have access to with a vanilla build (mainline) are commented out. This being Brotli and HTTP3. I have left these in if you want to use a custom build.

@michaelbutler
michaelbutler / Install_PHP_on_Arch_Manjaro.md
Last active July 19, 2024 07:28
Install multiple PHP versions on Arch / Manjaro Linux

Install Any PHP on Arch / Manjaro

Through the AUR it is possible to install older and newer PHP versions, simultaneously on the same system. I often had trouble installing using pacman and pamac so here's what I did:

mkdir -p $HOME/bin
mkdir ~/src
cd ~/src
git clone https://aur.archlinux.org/php81.git
cd php81
@agyild
agyild / NVScaler.glsl
Last active July 7, 2024 22:36
NVIDIA Image Scaling v1.0.2 for mpv
// The MIT License(MIT)
//
// Copyright(c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files(the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions :
@agyild
agyild / FSR.glsl
Last active July 7, 2024 16:02
AMD FidelityFX Super Resolution v1.0.2 for mpv
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
@agyild
agyild / CAS-scaled.glsl
Last active July 7, 2024 22:36
AMD FidelityFX Contrast Adaptive Sharpening v1.0.2 for mpv
// LICENSE
// =======
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved.
// -------
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
// modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
// -------
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
@coreybruce
coreybruce / Dead Rising 2 infinite loading fix
Last active June 26, 2024 13:03
Dead Rising 2 infinite loading fix & controller fix instructions
You will first need to install xact first to fix the infinite loading screen bug
"WINEPREFIX=/home/$USER/.steam/steam/steamapps/compatdata/427190/pfx/ winetricks xact"
Change the location on the command above if your library is on a different drive location.
Please use the latest Proton-GE to also fix wierd controller layout issues
https://github.com/GloriousEggroll/proton-ge-custom/releases
After that your game will run without issues.
@JeanRoldanDev
JeanRoldanDev / kml.dart
Last active February 29, 2024 17:39
Basic steps to understand the construction of a file kml in google maps with flutter, it goes without saying that much more can be done depending on the internal structure of the kml. this is just a start guide.
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:flutter/services.dart' show rootBundle;
import 'package:xml/xml.dart';
/// used packages
/// xml: 4.5.1
/// latlong: 0.6.1
/// google_maps_flutter: 1.2.0
///
@tatsumoto-ren
tatsumoto-ren / subs.md
Last active July 24, 2024 18:25
Japanese Subtitles

📓 Table of Contents 📚 Resources ✉️ Chat


kitsunekko.net jp subtitles

A large repository of japanese subtitles that is updated reasonably often and has a clean design.| The most popular one, you can upload your own subs.| Often have to be retimed.

GloriousEgroll actually added a fix for the Kernel issue for this game but CEG still makes it impossible to launch through Proton.
Guide to playing Black Ops II on Linux:
Make sure you have Vulkan libraries, your graphics driver and Lutris installed. GloriousEgroll's "Get out of Wine dependency hell" could help.
Install the runner "Steam Wine" through Lutris. Set the Wine version to newest you can find on Lutris, anything before 5.6 won't work.
Set these as Environment variables under System Options of Wine Steam.
DXVK_STATE_CACHE = 1
DXVK_STATE_CACHE_PATH = /home/(your username)/.local/share/lutris/runners/winesteam/prefix64/