This example takes olddisk.qcow2
and resizes it into newdisk.qcow2
,
extending one of the guest's partitions to fill the extra space.
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
failure-threshold: info # error|warning|info|style|ignore|none | |
ignored: | |
- DL3006 # explicit tag | |
- DL3008 # pin versions in apt | |
- DL3018 # pin versions in apk | |
- DL3026 # allowed registry | |
trustedRegistries: | |
- docker.io |
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
# | |
# /etc/sysctl.conf - Configuration file for setting system variables | |
# See /etc/sysctl.d/ for additional system variables. | |
# See sysctl.conf (5) for information. | |
# | |
#kernel.domainname = example.com | |
# Uncomment the following to stop low-level messages on console | |
#kernel.printk = 3 4 1 3 |
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 bash | |
# $USER | |
[[ -n $(logname >/dev/null 2>&1) ]] && logged_in_user=$(logname) || logged_in_user=$(whoami) | |
# $UID | |
# logged_in_uid=$(id -u "${logged_in_user}") | |
# $HOME | |
logged_in_home=$(eval echo "~${logged_in_user}") |
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
version: "1" | |
rules: | |
- fakeDirective: fakeyfake | |
label: | |
conflictLabel: |
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
version: "1" | |
rules: | |
- base: main | |
upstream: somet-code:main | |
mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none. | |
mergeUnstable: false # Optional, merge pull request even when the mergeable_state is not clean. Default: false | |
label: ":arrow_heading_down: pull" # Optional | |
conflictLabel: "merge-conflict" # Optional, on merge conflict assign a custom label, Default: merge-conflict |
As of at least macOS Catalina 10.15.3, /etc/sysctl.conf
values are no longer respected and/or the file straight up doesn't exist (confirmed on macOS Monterey 12.4.)
Ran across a fio
shm error: failed to setup shm segment
while benchmarking SSDs. The fix was to set shmmni
to 4096
. The following has to happen:
- Disable SIP
- Disclaimer from Apple
Warning
Disable SIP only temporarily to perform necessary tasks, and reenable it as soon as possible. Failure to reenable SIP when you are done testing leaves your computer vulnerable to malicious code.
- Disclaimer from Apple
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
BASE_URL= | |
ID= | |
SERVICE_TOKEN= | |
OUT_DIR= |
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
# Below are the dependencies required for installing the common combination of numpy, scipy, pandas and matplotlib | |
# in an Alpine based Docker image. | |
ARG VERSION=3.18 | |
FROM alpine:${VERSION} | |
RUN apk update \ | |
&& apk add \ | |
--no-cache \ |
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
# Source: https://gist.github.com/vfarcic/77c63cede031951654d5fea5ce0acb43 | |
######################################################################################### | |
# Say Goodbye to Makefile - Use Taskfile to Manage Tasks in CI/CD Pipelines and Locally # | |
######################################################################################### | |
# Additional Info: | |
# - Task: https://taskfile.dev | |
# - Dagger: The Missing Ingredient for Your Disastrous CI/CD Pipeline: https://youtu.be/oosQ3z_9UEM |