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
:: -- Pull -- | |
@echo off | |
setlocal | |
set TARGET_DIR=%cd% | |
echo Pulling files from the device... | |
adb pull /sdcard/Movies/ScreenRecording "%TARGET_DIR%\ScreenRecording" | |
adb pull /sdcard/Pictures/Screenshots "%TARGET_DIR%\Screenshots" |
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
# Remove Xbox App | |
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage | |
# Disable ms-gamingoverlay links | |
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0 | |
reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0 | |
# Disable ms-gamebar links | |
reg add HKCR\ms-gamebar /f /ve /d URL:ms-gamebar 2>&1 >'' | |
reg add HKCR\ms-gamebar /f /v "URL Protocol" /d "" 2>&1 >'' |
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
// ==UserScript== | |
// @name X Embed Button | |
// @version 1.0.1 | |
// @description Userscript that adds a button on X (Formerly Twitter) that allows you to copy a tweet to the obsidian embed format (user plugin) | |
// @author philippgitpush | |
// @match https://x.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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
using UnityEngine; | |
using UnityEditor; | |
public class RenameChildren : EditorWindow { | |
private static readonly Vector2Int size = new Vector2Int(250, 100); | |
private string childrenPrefix; | |
private int startIndex = 0; | |
[MenuItem("GameObject/Rename children")] public static void ShowWindow() { | |
EditorWindow window = GetWindow<RenameChildren>(); |
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
{ | |
"SAVE_CREDENTIALS": "True", | |
"CREDENTIALS_LOCATION": "", | |
"OUTPUT": "", | |
"SONG_ARCHIVE": "", | |
"ROOT_PATH": "", | |
"ROOT_PODCAST_PATH": "", | |
"SPLIT_ALBUM_DISCS": "False", | |
"DOWNLOAD_LYRICS": "False", | |
"MD_SAVE_GENRES": "False", |
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
// ==UserScript== | |
// @name Enhanced X Video Player | |
// @version 1.0.1 | |
// @description Enhance X video player with volume control memory. | |
// @author philippgitpush | |
// @match https://x.com/* | |
// @grant none | |
// ==/UserScript== | |
(() => { |
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
# Path to the current directory | |
$baseFolder = Get-Location | |
# Path to the JPG folder | |
$jpgFolder = Join-Path $baseFolder "JPG" | |
# Path to the RAW folder | |
$rawFolder = Join-Path $baseFolder "RAW" | |
# Iterate through all .jpg files in the JPG folder |
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
# Flac to mp3, Single File | |
ffmpeg -i input.flac -ab 320k -ar 44100 output.mp3 | |
# Flac to mp3, Current Dir | |
for file in *.flac; do | |
[ -e "$file" ] || continue | |
ffmpeg -i "$file" -ab 320k -ar 44100 "${file%.flac}.mp3" | |
done | |
rm -f *.flac |
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
// Load the required libraries | |
#target "InDesign" | |
#targetengine "session" | |
// Create a new panel | |
var myPanel = new Window("palette", "Coordinates Extraction", undefined); | |
// Add content to the panel | |
var label = myPanel.add("statictext", undefined, "Coordinates:"); | |
label.alignment = "left"; |
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
"C:\Program Files\Git\usr\bin\openssl.exe" req -x509 -nodes -days 3365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem -sha256 |
NewerOlder