Skip to content

Instantly share code, notes, and snippets.

@gbaptista
gbaptista / gist:60636a0cc123064b96672bda0137fa00
Created January 14, 2024 00:51 — forked from gelembungsahabat/gist:1e12557faf55ae8977a55560bc68eecc
Solve Extremely Low FPS on God Of War (Linux Steam)

Solve Extremely Low FPS on God Of War (Linux Steam)

  1. add or change this line in /etc/default/grub file to:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet split_lock_detect=off"
  2. then run sudo update-grub and reboot.
@gbaptista
gbaptista / install_ruby
Created October 9, 2016 19:29 — forked from squiter/install_ruby
How to install ruby with TCL and TK for Coursera Programming Languages Part C
#!/bin/bash
set -eou pipefail
version=8.6.4.1
patchinfo=299124-linux-x86_64-threaded
dir=ActiveTcl$version.$patchinfo
package=$dir.tar.gz
url=http://downloads.activestate.com/ActiveTcl/releases/$version/$package
@gbaptista
gbaptista / nginx
Created March 18, 2013 23:33 — forked from tjstein/nginx
#! /bin/sh
### BEGIN INIT INFO
# Provides: nginx
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the nginx web server
# Description: starts nginx using start-stop-daemon