Skip to content

Instantly share code, notes, and snippets.

View sidewinder94's full-sized avatar

Antoine-Ali Zarrouk sidewinder94

View GitHub Profile
@sidewinder94
sidewinder94 / HonkaiLauncher.ps1
Created February 18, 2020 20:51
Honkai Impact 3rd Locale Auto-Change
#Requires -RunAsAdministrator
#Create shortcut with target : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -File "K:\miHoYo\Honkai Impact 3rd\HonkaiLauncher.ps1"
$currentDir = (Split-Path $script:MyInvocation.MyCommand.Path)
$originalCulture = Get-Culture
Set-Culture 'en-GB'
@sidewinder94
sidewinder94 / Convert.ps1
Created January 13, 2017 13:41
Convert a folder using ffmpeg in Powershell
#Replace the extensions if needed
Get-ChildItem -File | Foreach {ffmpeg.exe -i $_.FullName -vn -acodec copy ($_.FullName -replace "\.mp4", ".aac")}
using Microsoft.ConcurrencyVisualizer.Instrumentation;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApplication3
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CopyCat
{
@sidewinder94
sidewinder94 / ClickOnce.cs
Last active August 29, 2015 14:21
List all ClickOnce Applications for a User
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Text.RegularExpressions;
namespace ConsoleApplication1