This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Update | |
sudo apt update && sudo apt full-upgrade && sudo rpi-update | |
# Control Groups (cgroup) for Memory and CPU | |
echo -n "$(head -n1 /boot/cmdline.txt) cgroup_enable=cpuset cgroup_enable=memory" | sudo tee /boot/cmdline.txt | |
# Remove old Docker installs | |
sudo apt remove docker docker-engine docker.io containerd runc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: Boxstarter Script | |
# Common dev settings for desktop app development | |
# Test-Admin is not available yet, so use... | |
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
Start-Process powershell -ArgumentList "-noprofile -NoExit -file `"$PSCommandPath`"" -Verb RunAs | |
Exit | |
} | |
# http://boxstarter.org/InstallBoxstarter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-executionpolicy remotesigned -scope currentuser | |
$key = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' | |
Set-ItemProperty $key Hidden 1 | |
Set-ItemProperty $key HideFileExt 0 | |
Set-ItemProperty $key ShowSuperHidden 0 | |
## Install DotNetCore SDK | |
$dotnetInstallFilename = 'dotnet-install.ps1' | |
If(!(test-path $dotnetInstallFilename)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const commonCliConfig = 'node_modules/@angular/cli/models/webpack-configs/common.js'; | |
const pug_rule = `\n{ | |
test: /\\.(pug|jade)$/, | |
use: [ | |
'apply-loader', | |
{ | |
loader: 'pug-loader', | |
options: { |