Windows
docker rmi $(docker images -q -f dangling=true)
Linux
docker rmi $(docker images -q -f dangling=true)
[xml]$xml = Get-Content "C:\Users\$env:UserName\OneDrive\Documents\BatchRun.ffs_batch" | |
$lefts = Select-Xml "//Left" $xml | |
$rights = Select-Xml "//Right" $xml | |
$allPaths = New-Object System.Collections.ArrayList; | |
$lefts | ForEach-Object { $allPaths.Add( $_.Node.'#text') | out-null } | |
$rights | ForEach-Object { $allPaths.Add( $_.Node.'#text') | out-null } | |
$created = New-Object System.Collections.ArrayList; | |
$skipped = New-Object System.Collections.ArrayList; |
#!/bin/bash | |
# Set display resolution to 4k | |
xrandr --output eDP-1 --mode 3840x2160 | |
# Set display scale to 125% (=1.75 to xrandr) | |
xrandr --output eDP-1 --scale 1.75x1.75 | |
# Move "Show Applications" button to the left side of the dock | |
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true |
# Configure the following 3 paths before using | |
$pathToReplace = "N:\\Library\\Games\\Sony\\PSP" | |
$replacementPath = "N:\\Games\\Sony\\PSP" | |
$pathOfGameSettings = "C:\Users\Dogan\OneDrive\Portable Apps\Playnite\library\games" | |
# Script | |
$pathToReplace = $pathToReplace.Replace("\\", "\\\\") | |
$processedFileCount = 0; | |
Get-ChildItem $pathOfGameSettings -Filter *.json | | |
Foreach-Object { |
[General] | |
Path="" | |
[Regular Expressions] | |
Match="(\w{4})(_)(\d{3})(\.)(\d{2})(\.)(.*?)(\(|\[)(.*)" | |
Replace="\7 [\1-\3\5] \8\9" | |
Include Extension=0 | |
Simple=0 | |
v2=0 | |
[Filename] |
"custom-zone-sets": [ | |
{ | |
"uuid": "{A7B1BF4C-A283-4CB6-9055-1A8876F060C9}", | |
"name": "Custom layout 2", | |
"type": "canvas", | |
"info": { | |
"ref-width": 3440, | |
"ref-height": 1400, | |
"zones": [ | |
{ |
search for ([^\\])(\\)([^\\])
replace with $1\\\\$3
adb shell pm grant com.zacharee1.systemuituner android.permission.WRITE_SECURE_SETTINGS |
// Settings for Config.h | |
const char* BLYNK_AUTH = "AuthTokenGoesHere"; // Get the token in the Blynk app on your phone (project settings) | |
const bool BLYNK_USE_LOCAL_SERVER = false; | |
// Following settings are obsolete, if BLYNK_USE_LOCAL_SERVER is set to false | |
const char* BLYNK_SERVER = "yourBlynkServer.ddns.net"; | |
const unsigned short int BLYNK_PORT = 8080; | |
// Code in sketch | |
const int BlynkHandlerThreadStackSize = 10000; | |
ushort cycleDelayInMilliSeconds = 100; |
# List all saved ssid's | |
netsh wlan show profiles | |
# Get cleartext password of specific ssid (replace "profile") | |
netsh wlan show profile name=profile key=clear |