Skip to content

Instantly share code, notes, and snippets.

@Kurre
Kurre / boxstarter.ps1
Last active November 22, 2018 08:15
Boxstarter script
# Description: Boxstarter Script
# Original Author: Jess Frazelle <jess@linux.com>
# Fork of: https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f
# Last Updated: 2017-11-28
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
@Kurre
Kurre / 00-ubuntu-install.sh
Last active December 6, 2018 12:16
Ubuntu - Environment setup scripts
#!/usr/bin/env bash
# Elevate to sudo if needed
if [ $EUID != 0 ]; then
sudo "$0" "$@"
exit $?
fi
WORKSTATION=true
DISTRO=$(lsb_release -c -s)
@Kurre
Kurre / x11.conf
Created March 11, 2019 08:17
test
Section "Monitor"
Identifier "Virtual1"
Modeline "2560x1440" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync
Option "PreferredMode" "2560x1440"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "Virtual1"
DefaultDepth 24
@Kurre
Kurre / boxstarter.ps1
Last active June 30, 2019 20:03 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# 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:
@Kurre
Kurre / Windows Defender Exclusions for Developer.ps1
Created July 4, 2020 15:17 — forked from nerzhulart/Windows Defender Exclusions for Developer.ps1
Adds Windows Defender exclusions for developers (Visual Studio, JetBrains Rider, IntellIJ Idea, Git, MsBuild, dotnet, mono etc.)
$userPath = $env:USERPROFILE
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null
$pathExclusions.Add('C:\Windows\assembly') > $null
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null