Skip to content

Instantly share code, notes, and snippets.

@dialogik
dialogik / RemovePubgIntroVideo.ps1
Created August 24, 2021 10:16
This PowerShell script removes the PUBG intro video
Rename-Item -Path "C:\Program Files (x86)\Steam\steamapps\common\PUBG\TslGame\Content\Movies\LoadingScreen.mp4" -NewName "C:\Program Files (x86)\Steam\steamapps\common\PUBG\TslGame\Content\Movies\LoadingScreen_REMOVED.mp4"
@dialogik
dialogik / JvPeek-chat-commands.md
Created February 3, 2021 19:07
Chat command list for JvPeek's Twitch channel
!ahshit
!bock
!chirp
!diagnose
!eeeeeee
!falscheentscheidung
!fbi
!gege
!hilfe
$(function() {
const channel = 'hornhauttv';
// Check if user comes from twitch authentication
if(window.location.hash !== '') {
var hash = window.location.hash.split('#')[1].split('&')[0].split('=');
var token = null;
if(hash[0] == 'access_token') {
var token = hash[1];
$('#twitch-connect').remove();
@dialogik
dialogik / remove-sp-cache.bat
Created February 22, 2017 13:13
Windows batch file to remove SharePoint cache
set folder="%HOMEPATH%\AppData\Local\Microsoft\WebsiteCache"
cd /d %folder%
for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
echo "Folder %folder% flushed"
set folder="%HOMEPATH%\AppData\Roaming\Microsoft\Web Server Extensions\Cache"
cd /d %folder%
for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
echo "Folder %folder% flushed"