- A bullet point
- And another
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
# Description: Boxstarter Script | |
# Author: Alec Clews <[email protected]> (forked from Jess Frazelle <[email protected]>) | |
# Last Updated: 2018-01-10 | |
# | |
# 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: |
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
#!/bin/sh | |
xrandr --output HDMI-1 --same-as eDP-1 --auto --output eDP-1 --mode 1280x720 |
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
function Remove-StoppedContainers { | |
docker container rm $(docker container ls -q) | |
} | |
function Remove-AllContainers { | |
docker container rm -f $(docker container ls -aq) | |
} | |
function Get-ContainerIPAddress { | |
param ( |
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
# Run some program that needs to supply valid json strings (that contain `"`) | |
# note the use of backtick to escape newlines | |
# AND NOTE that from --% onwards the backtick no longer works. It must be on one line! | |
# This information helped me | |
# https://ss64.com/ps/syntax-esc.html | |
& 'C:\Program Files\<app>\<program>.exe' ` |
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
#!/usr/bin/env bash | |
docker container run --rm -it --user $(id -u):$(id -g) \ | |
--mount "type=bind,source=$PWD,target=/testproj" \ | |
--workdir /testproj --env HOME=/testproj/dotnetcache mcr.microsoft.com/dotnet/sdk:6.0 "$@" |
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
1. Package manager CLI is `dnf` | |
2. ALL the hardware works. Wifi, bt, function buttons | |
3. BT pairing and tethering was easy to set up | |
4. BT headphones took a few attempts to work | |
4. Good battery management | |
Snap: | |
Many apps (e.g. Spotify, Slack, ..) need to be installed with Snap |
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
FROM debian:buster-slim | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && \ | |
apt-get install -y \ | |
nginx | |
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
#!/bin/bash | |
oldb="${1:-master}" | |
newb="${2:-main}" | |
git pull --all | |
git checkout $oldb |