- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
Source: https://bleepcoder.com/starship/640385008/unable-to-install-on-windows-git-bash-configuration-not
All scripts should be ran in your git bash terminal, not cmd or ps.
mkdir -p ~/bin/starship && cd ~/bin
curl -fsSL https://starship.rs/install.sh > ./install.sh
./install.sh --bin-dir /c/Users/<username>/bin/starship/ --platform pc-windows-msvc
Edit /etc/systemd/resolved.conf
, set option Domains=
(space separated list of domains) according to docs and then restart systemd-resolved.
$ systemctl restart systemd-resolved
Recently found some clowny gist was the top result for 'google takeout multiple tgz', where it was using two bash scripts to extract all the tgz files and then merge them together. Don't do that. Use brace expansion, cat
the TGZs, and extract:
$ cat takeout-20201023T123551Z-{001..011}.tgz | tar xzivf -
You don't even need to use brace expansion. Globbing will order the files numerically:
$ cat takeout-20201023T123551Z-*.tgz | tar xzivf -
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import xml.etree.ElementTree as et | |
import logging as log | |
import os.path | |
import fnmatch | |
import argparse | |
import xlsxwriter | |
from datetime import datetime as dt |
Either via | |
$ docker run --dns 10.0.0.2 busybox nslookup google.com | |
or edit your /etc/docker/daemon.json to have something like: | |
{ | |
"dns": ["10.0.0.2", "8.8.8.8"] | |
} | |
then restart docker service |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git
#!/bin/bash | |
INSTALL_DIR="${1:-/opt/terraform}" | |
URL="https://releases.hashicorp.com/terraform" | |
VER="$(curl -sL $URL | grep -v beta | grep -Po "_(\d*\.?){3}" | sed 's/_//' | sort -V | tail -1)" | |
ZIP="terraform_${VER}_linux_amd64.zip" | |
echo "* Downloading ${URL}/${VER}/terraform_${VER}_linux_amd64.zip" | |
curl -s ${URL}/${VER}/terraform_${VER}_linux_amd64.zip -o ${INSTALL_DIR}/${ZIP} |