This file contains 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
@echo off | |
setlocal | |
echo This script will delete all files in the following directories: | |
echo %LOCALAPPDATA%\Starfield\ | |
echo %LOCALAPPDATA%\AMD\DxCache\ | |
echo Deleting files... | |
if exist "%LOCALAPPDATA%\Starfield\" ( |
This file contains 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
[Display] | |
bVolumetricLightingEnable=0 | |
bDepthOfFieldEnable=0 | |
fFilmGrainIntensity=0.0 | |
[Decals] | |
uMaxDecals=20 | |
uMaxSkinDecals=5 | |
uMaxSkinDecalsPerActor=5 | |
iMaxDecalsPerFrame=3 |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0020] | |
"DALNonStandardModesBCD1"=hex:\ | |
19,20,10,80,00,00,00,00,\ | |
16,00,09,00,00,00,00,00,\ | |
12,80,07,20,00,00,00,00 | |
"DALRestrictedModesBCD1"=hex:\ | |
51,20,28,80,00,00,00,00,\ | |
38,40,24,00,00,00,00,00,\ |
This file contains 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
# This PowerShell script tries to do almost all the things required to set up | |
# an Ubuntu WSL2 instance for use with DDEV and docker-ce installed inside WSL2. | |
# It requires that an Ubuntu wsl2 distro be installed already, preferably with `wsl --install`, but it can also be | |
# done manually. | |
# Run this in an administrative PowerShell window. | |
# You can download, inspect, and run this, or run it directly with | |
# Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; | |
# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev_wsl2_docker_inside.ps1')) | |
#Requires -RunAsAdministrator |
This file contains 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
echo "alias docker-clean='docker stop \$(docker ps -a -q) && docker rm \$(docker ps -a -q) && docker rmi \$(docker images -q) && docker volume rm \$(docker volume ls -q)'" >> ~/.bashrc && source ~/.bashrc |
This file contains 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
ChangeScreenResolution.exe /w=5120 /h=1440 /d=0 | |
@ECHO OFF | |
explorer ms-settings:display | |
ping -n 2 127.0.0.1 > nul | |
:VBSDynamicBuild | |
SET TempVBSFile=%tmp%\~tmpSendKeysTemp.vbs | |
IF EXIST "%TempVBSFile%" DEL /F /Q "%TempVBSFile%" |
This file contains 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
import 'dart:io'; | |
import 'package:path/path.dart'; | |
import 'package:sqflite/sqflite.dart'; | |
import 'package:path_provider/path_provider.dart'; | |
class DatabaseHelper { | |
static final _databaseName = "MyDatabase.db"; | |
static final _databaseVersion = 1; |