View dl_geforce_drivers.ps1
# Download latest geforce drivers
# TODO: find a way to get series (ex: GeForce 10 Series) id somehow
Add-Type -AssemblyName System.Web
Import-Module BitsTransfer
$systemLocaleCode = Get-UICulture | select -ExpandProperty LCID
# Get machine's GPUs
$gpus = @{}
View recursive_file_process.go
package main
import (
View json_middleware.go
package main
import (
router ""
routermw ""
import logging
import os
import sys
# 3rd party
from bs4 import BeautifulSoup
import requests
if __name__ == "__main__":
if ! [ -x "$(command -v xmlstarlet)" ]; then
echo "Error: xmlstarlet is not installed. Install it first. It's required for XML manipulation." >&2
exit 1
echo "Resetting GoLand eval.."
echo ""
echo "! There might be few errors but those can be ignored."
View nvidia-driver-remove-crap.ps1
# Remove unnecessary trash from nvidia GPU driver installer
# Modifies the setup.cfg XML file and removes garbage directories as well
# First unpack the installer .exe with 7zip and then run:
# this_script.ps1 <unpack directory>
# (c) Pekka Järvinen 2018-
param (
[Parameter(Mandatory=$true)][ValidateScript({Test-Path $_})] [string]$unpackDir
View Deus Ex Mankind Divided - Remove intro videos.ps1
# Remove annoying intro videos from Deus Ex Mankind Divided
# Finds DXMD path from registry
# Steam application id (337000 = Deus Ex Mankind Divided)
$steamAppId = 337000
# Empty BINK video
$emptyVideo = @(
0x4B, 0x4E, 0x49, 0x42, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
# -*- encoding: utf8 -*-
# Move files based on file list in a md5 checksum file
# (c) Pekka Järvinen 2017-
import logging
log = logging.getLogger(__name__)
import os
View network-ping-gateway.service
# Save in /etc/systemd/system/network-ping-gateway.service
Description=Ping default network gateway service
# Wait time if process hangs
# Command to run
View pacman-auto-update.service
# Download new packages but don't install them
# Save in /etc/systemd/system/
Description=Pacman Automatic Download (no install) service
# Wait time if process hangs