cp *.qcow2 qcow2.BACKUP
qemu-img resize *.qcow2 50G
./run
fdisk -l
swapoff -a
pkgcenter is a tool for people who
- Rely on native Unix system packages for software dependency management
- Must manage dependency risks beyond the capabilities of native Unix package tools
Let's say you're on Enterprise Linux 7 and working through the EL9 upgrade.
A year later, I think (but can't be sure I'm remembering correctly) that I did this with Ubuntu 21.10.
- Download Ubuntu install 2. Using Rufus for Windows, write it to a USB stick
- Remove rEFInd from the old Mac
- Download bootable-CD rEFInd 2. Using Rufus for Windows, write it to a USB stick
- Download a special
bootia32.efi
Start | End | Place | Event | CFP |
---|
| Start | End | Place | Event | CFP |
Start | End | Place | Event | CFP |
---|
| Start | End | Place | Event | CFP |
Start | End | Place | Event | CFP |
---|---|---|---|---|
01/24 | 01/25 | NYC | Devopsdays | accepted |
05/10 | NYC | Big Apple Scrum Day | accepted |
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
pkg_comp: I: Creating sandbox | |
pkg_comp: I: Bootstrapping pkg tools | |
pkg_comp: I: Setting up bootstrap in /opt/.pkg-20180804 from scratch | |
===> bootstrap command: ./bootstrap --gzip-binary-kit=/pkg_comp/packages/pkg/bootstrap.tgz --make-jobs=1 --mk-fragment=/pkg_comp/work/mk.conf.fragment --pkgdbdir=/opt/.pkg-20180804/libdata/pkgdb --prefix=/opt/.pkg-20180804 --sysconfdir=/etc --varbase=/var --workdir=/pkg_comp/work/pkg/bootstrap | |
===> bootstrap started: Sat Aug 4 17:00:17 UTC 2018 | |
Working directory is: /pkg_comp/work/pkg/bootstrap | |
===> running: /usr/bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|' /pkg_comp/pkgsrc/sysutils/install-sh/files/install-sh.in > /pkg_comp/work/pkg/bootstrap/bin/install-sh | |
===> running: /bin/chmod +x /pkg_comp/work/pkg/bootstrap/bin/install-sh | |
===> Creating default mk.conf in /pkg_comp/work/pkg/bootstrap | |
===> running: /bin/sh /pkg_comp/work/pkg/bootstrap/bin/install-sh -d -o root -g wheel /pkg_comp/work/pkg/bootstrap/sbin |
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 | |
vbox_is_running() { | |
count=$(VBoxManage showvminfo "$1" | grep -c 'running (since') | |
[ 0 -lt $count ] | |
} | |
vbox_start_if_needed() { | |
vbox_is_running "$1" || VBoxManage startvm "$1" --type headless | |
} |
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
#!/usr/bin/env perl | |
# in .qmail: | |
# | rewriteto something@somewhere.else | forward something@somewhere.else | |
use warnings; | |
use strict; | |
sub munge_to_header { | |
my ($new_to) = @_; |
Write a program that, given an age in seconds, calculates how old someone is in terms of a given planet's solar years.
Given an age in seconds, calculate how old someone would be on:
- Earth: orbital period 365.25 Earth days, or 31557600 seconds
- Mercury: orbital period 0.2408467 Earth years
- Venus: orbital period 0.61519726 Earth years
- Mars: orbital period 1.8808158 Earth years
NewerOlder