Skip to content

Instantly share code, notes, and snippets.

View jehkinen's full-sized avatar
♥️

Andrei Bogdanov jehkinen

♥️
View GitHub Profile
@jehkinen
jehkinen / moonlight-audio.ps1
Last active October 10, 2026 17:50
Win10: wsappx, pc-specs, moonlight-audio
#Requires -RunAsAdministrator
$log = 'C:\moonlight-audio-log.txt'
Remove-Item $log -Force -ErrorAction SilentlyContinue
function L($m) { $m | Add-Content $log -Encoding utf8 }
L "=== What this script DOES / DOES NOT ==="
L "DOES: restart Windows audio services; disable Stereo Mix loopback; disable Nahimic/Dolby services; disable comms ducking."
L "DOES NOT: set 16-bit/48000 Hz (you set in GUI once — see below). Does not change Moonlight on Mac."
L ""
<?php
use vendori\traits\FindModelTrait;
/**
* Class DocumentController
*
* Manage document actions
*
<?php
$cs = Yii::app()->getClientScript();
$cs->registerCSSFile('/css/global-form-elements.css');
$cs->registerCSSFile('/css/global-font.css');
$cs->registerCSSFile('/css/global-layout.css');
$cs->registerCSSFile('/css/upload.css');
$cs->registerScriptFile('/js/remove_footer.js');
<?php
$cs = Yii::app()->getClientScript();
$cs->registerCSSFile('/css/global-form-elements.css');
$cs->registerCSSFile('/css/global-font.css');
$cs->registerCSSFile('/css/global-layout.css');
$cs->registerCSSFile('/css/upload.css');
$cs->registerScriptFile('/js/remove_footer.js');
<?php
use vendori\traits\FindModelTrait;
/**
* Class DocumentController
*
* Manage document actions
*