This file contains hidden or 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
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 | |
| sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/" | |
| sudo apt-get install libcurl4-openssl-dev | |
| sudo apt-get install libfontconfig1-dev | |
| sudo apt-get install libharfbuzz-dev libfribidi-dev | |
| sudo apt-get install libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev | |
This file contains hidden or 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
| # Gentoo ARM on Crostini | |
| I got Gentoo ARM installed on a Lenovo Chromebook Duet! | |
| ## 0. Before we begin | |
| - Enable **Linux development environment** in Chrome OS's settings | |
| - Get it running |
This file contains hidden or 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
| xrandr --newmode $(gtf 1920 1080 60 | grep -o '"1920x1080_60.00" .*' | sed 's/^\(.*\)"\(.*\)" \(.*\)$/\2 \1 \3/') && xrandr --addmode VIRTUAL1 "1920x1080_60.00" && xrandr --output VIRTUAL1 --mode "1920x1080_60.00" | |
| nohup weylus --no-gui & |
This file contains hidden or 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
| $dnsServers = @("2a10:50c0::ad1:ff", "2a10:50c0::ad2:ff", "1.1.1.1") | |
| $adapters = Get-NetAdapter | Where-Object { $_.Status -eq "Up" } | |
| foreach ($adapter in $adapters) { | |
| Write-Host "" | |
| Write-Host "Adapter detected: $($adapter.Name)" -ForegroundColor Cyan | |
| Write-Host "Current DNS servers:" -ForegroundColor DarkGray | |
| (Get-DnsClientServerAddress -InterfaceAlias $adapter.Name -AddressFamily IPv4, IPv6).ServerAddresses | |
| $choice = Read-Host "Do you want to set DNS for '$($adapter.Name)'? (Y/N)" |
OlderNewer