Skip to content

Instantly share code, notes, and snippets.


Vitor Santos rockerbacon

  • LiveHere Serviços Imobiliários
  • Rio de Janeiro - Brazil
View GitHub Profile
rockerbacon / skyrim_dxvk.conf
Created Nov 27, 2020
DXVK memory patch configuration for Skyrim LE
View skyrim_dxvk.conf
# Create the VkSurface on the first call to IDXGISwapChain::Present,
# rather than when creating the swap chain. Some games that start
# rendering with a different graphics API may require this option,
# or otherwise the window may stay black.
# Supported values: True, False
# dxgi.deferSurfaceCreation = False
# d3d9.deferSurfaceCreation = False
rockerbacon / floatpoint-associativity-problems-example.c
Created Aug 6, 2020
Showcase of float point associativity "problems"
View floatpoint-associativity-problems-example.c
* This small program is designed to showcase associativity problems with float point numbers
* Even though both sums below are mathematicaly equivalent, they differ in float point arithmetic
#include <stdio.h>
#include <math.h>
int main (void) {
rockerbacon /
Created Jul 29, 2018
Bash script for easily running Parsec's web app in Linux distros. Remember to edit the PARSEC_APP variable according to your browser
#Command for running the web app
#PARSEC_APP="google-chrome --profile-directory=Default --app-id=heklcdmcmclhhhaholelehcafdpbemdn"
#If the daemon is already running, you can either restart the daemon or attempt to join the web app with the currently running daemon
#This variable determines if a join is to be attempted