Skip to content

Instantly share code, notes, and snippets.

View lordfiSh's full-sized avatar
🏠
Working from home

Bernhard lordfiSh

🏠
Working from home
View GitHub Profile
@lordfiSh
lordfiSh / gist:7216cd57d2b325727f28e4d6df01a5ff
Created February 5, 2020 17:03
fix for Windows Search, with reg add... wiiare.in
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search /v BingSearchEnabled /t REG_DWORD /d 0 /f
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search /v CortanaConsent /t REG_DWORD /d 0 /f
# See https://wiiare.in/19304-graveyard-keeper-savegame-backupscript/
$SAVEGAMESLOT = 1
$version = "0.1"
$file = "$env:appdata\..\locallow\Lazy Bear Games\Graveyard Keeper\$SAVEGAMESLOT.dat"
$file_backup = "$env:appdata\..\locallow\Lazy Bear Games\Graveyard Keeper\$SAVEGAMESLOT.dat.tmp"
$file_backup2 = "$env:appdata\..\locallow\Lazy Bear Games\Graveyard Keeper\$SAVEGAMESLOT.dat.backup1"
server {
listen 443 ssl http2;
server_name ##YOURDOMAIN###;
error_log /var/log/nginx/hass.error warn;
access_log /var/log/nginx/hass.access;
ssl on;
@lordfiSh
lordfiSh / fishs_personal_list.txt
Last active April 2, 2017 08:06
personal pi-hole blocklist
# block NVIDIA Telemetry
gfswl.geforce.com
gfe.geforce.com
telemetry.nvidia.com
gfe.nvidia.com
telemetry.gfe.nvidia.com
events.gfe.nvidia.com
# block Windows Telemetry - https://support.microsoft.com/en-us/help/3068708/update-for-customer-experience-and-diagnostic-telemetry
vortex-win.data.microsoft.com
<?php
/*
Original script by github user matrixagent (https://gist.github.com/matrixagent)
Original source https://gist.github.com/1209367
Improved by dktnecro (http://www.necromax.de) with following changes:
* Introduced new function csv2array to work with php version <5.3
* Introduced new constant IMDB_UID to read all parameters on the same position of the script