This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple script to total up steam purchases from https://store.steampowered.com/account/history/ | |
# Make sure you've fully loaded all purchases and copy & paste the whole table text in a text file. | |
# | |
# $ awk -f steam_purchases.awk my_logs.txt | |
# Cash purchases: £1000.00 | |
# Wallet purchases: £200.00 | |
# Total 'spent': £3000.00 | |
# Wallet balance bought: £180.00 | |
# Total gifted: £100.00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# Quickly set ForceFullCompositionPipeline with nvidia-settings for all currently connected screens, useful for gamers seeing screen tear issues | |
use strict; | |
use warnings; | |
# Grab xrandr output for parsing | |
my $xrandrOutput = `xrandr`; | |
# Filter all currently selected modes | |
my @modes = $xrandrOutput =~ /.*\sconnected.*/g; |