Skip to content

Instantly share code, notes, and snippets.

@misury
misury / MediaServer.md
Created February 2, 2021 21:12
Media Server

Install docker

curl https://get.docker.com | sh
sudo usermod -aG docker $USER

Create directory to mount external drive

mkdir -p /media/external

Get UUID of external drive

blkid

@misury
misury / boxstarter.ps1
Last active June 14, 2018 13:49 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
#!/bin/bash
export PGID=1050
export PUID=1050
docker-compose pull
docker-compose up -d
Install-WindowsUpdate -acceptEula -SuppressReboots
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
Set-CornerNavigationOptions -EnableUpperRightCornerShowCharms -EnableUpperLeftCornerSwitchApps -EnableUsePowerShellOnWinX
Set-TaskbarOptions -Size Large -UnLock -Dock Left
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Enable-RemoteDesktop
Disable-UAC