Work in progress for my Linux installation on my work machine. See history for OS changes
Lenovo P52 Bios was already upgraded, I had Windows 10 before on this machine
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install -y \ | |
build-essential \ | |
zlib1g-dev \ | |
libncurses5-dev \ | |
libgdbm-dev \ | |
libnss3-dev \ | |
libssl-dev \ | |
libsqlite3-dev \ |
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+shift+u", | |
"command": "editor.action.transformToUppercase" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "editor.action.transformToLowercase" | |
} |
Set-Location $env:USERPROFILE | |
If ( ! ( Test-Path $PROFILE ) ) { New-Item -Force -ItemType File -Path $PROFILE; Add-Content -Path $PROFILE -Encoding UTF8 -Value "# Powershell Profile"; } | |
Set-ExecutionPolicy Bypass -Scope CurrentUser -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco feature enable --name allowGlobalConfirmation | |
# Administrator Powershell | |
choco install firacode | |
choco install cascadiafonts | |
choco install git.install --params "/GitAndUnixToolsOnPath /WindowsTerminal /SChannel" |
sudo apt update | |
sudo apt upgrade | |
# --- just alienware 17 R2 related | |
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.169.3_all.deb | |
sudo dpkg -i linux-firmware*.deb | |
sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci | |
# --- end | |
# base stuff |
image: dariuszparys/some-edge-module:1.0.0-preview018 | |
manifests: | |
- | |
image: dariuszparys/some-edge-module:1.0.0-preview018-linux-amd64 | |
platform: | |
architecture: amd64 | |
os: linux | |
- | |
image: dariuszparys/some-edge-module:1.0.0-preview018-linux-arm32v7 | |
platform: |
using System; | |
using System.Threading.Tasks; | |
namespace demo | |
{ | |
class Program | |
{ | |
static async Task Main(string[] args) | |
{ | |
await Task.Delay(1000); |
{ | |
"workbench.colorTheme": "Cobalt2", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontSize": 17, | |
"editor.lineHeight": 25, | |
"editor.letterSpacing": 0.5, | |
"files.trimTrailingWhitespace": true, | |
"editor.fontWeight": "400", | |
"editor.cursorStyle": "underline-thin", | |
"editor.cursorBlinking": "solid", |
# Function Prompt | |
# { | |
# $PromptData="PS $($executionContext.SessionState.Path.CurrentLocation)$('>' * ($nestedPromptLevel + 1)) " | |
# $host.ui.RawUI.WindowTitle=$PromptData+'-'+(Get-Date).tostring() | |
# } | |
$Global:CurrentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent() | |
$UserType = "User" | |
$CurrentUser.Groups | foreach { | |
if ($_.value -eq "S-1-5-32-544") { |
// This configuration is meant to be used in WSL v1 for Windows | |
// It is also not maintained anymore, as I switched to Windows Terminal | |
module.exports = { | |
config: { | |
// Disabling WebGL renderer to make font-ligatures work | |
// https://github.com/tolbertam/hyper-font-ligatures#disabling-webgl-rendering | |
webGLRenderer: false, | |
// default font size in pixels for all tabs |