Skip to content

Instantly share code, notes, and snippets.

Avatar

Merritt Merrit

  • Canada
View GitHub Profile
View rockPaperScissors.js
// Rock, Paper, Scissors - Challenge
let userChoice = 'Rock';
function computerChoice() {
let number = Math.round((Math.random() * 3) + 1);
if (number < 1) {
computerChoice();
View vkBasalt.conf
#effects is a colon seperated list of effect to use
#e.g.: effects = fxaa:cas
#effects will be run in order from left to right
#one effect can be run multiple times e.g. smaa:smaa:cas
#cas - Contrast Adaptive Sharpening
#fxaa - Fast Approximate Anti-Aliasing
#smaa - Enhanced Subpixel Morphological Antialiasing
#deband - Effects against banding artefacts
#lut - color LookUp Table
effects = colourfulness
View steam-native.sh
#!/bin/sh
# Launch Steam with steam-native & workaround for power suppression bug
# https://github.com/ValveSoftware/steam-for-linux/issues/5607
xdg-dbus-proxy "$DBUS_SESSION_BUS_ADDRESS" "$XDG_RUNTIME_DIR/steam-bus-proxy" --filter --call="org.freedesktop.DBus.*=*" --call="org.freedesktop.IBus.*=*" --call="org.freedesktop.portal.*=*" --call="com.feralinteractive.GameMode.*=*" --call="com.canonical.*=*" --broadcast="*=*" --call="org.kde.*=*" --call="org.gtk.*=*" steam-native
You can’t perform that action at this time.