Skip to content

Instantly share code, notes, and snippets.

View awsms's full-sized avatar

awsms

  • Grand Est
View GitHub Profile
@extremecoders-re
extremecoders-re / qemu-networking.md
Last active April 24, 2025 12:10
Setting up Qemu with a tap interface

Setting up Qemu with a tap interface

There are two parts to networking within QEMU:

  • The virtual network device that is provided to the guest (e.g. a PCI network card).
  • The network backend that interacts with the emulated NIC (e.g. puts packets onto the host's network).

Example: User mode network

@mvsde
mvsde / android-volume-steps.md
Last active September 20, 2024 23:54
Android Volume Steps

Android Volume Steps

Warning

This is a rather old guide and may or may not work with modern versions of Android.

Connect through ADB

  1. Boot into TWRP
  2. Connect device to computer
  3. Terminal: List devices with adb devices
1,2.16.106.51-2.16.106.51
2,2.16.106.91-2.16.106.91
3,111.221.29.177-111.221.29.177
4,111.221.29.253-111.221.29.253
5,131.253.40.37-131.253.40.37
6,134.170.30.202-134.170.30.202
7,134.170.115.60-134.170.115.60
8,134.170.165.248-134.170.165.248
9,134.170.165.253-134.170.165.253
10,134.170.185.70-134.170.185.70
@fjpalacios
fjpalacios / arch-i3gaps-install.md
Last active April 18, 2025 09:44
Arch + i3-gaps Install Guide

Arch + i3-gaps Install Guide

First set up your keyboard layout. For example, in Spanish:

   # loadkeys es

For a list of all acceptable keymaps:

   # localectl list-keymaps
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/
@tatsumoto-ren
tatsumoto-ren / subs.md
Last active April 24, 2025 20:29
Japanese Subtitles
@JeanRoldanDev
JeanRoldanDev / kml.dart
Last active January 29, 2025 14:19
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
///
@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.
@agyild
agyild / CAS-scaled.glsl
Last active April 2, 2025 08:21
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
@agyild
agyild / FSR.glsl
Last active April 19, 2025 04:58
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