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
| defmodule Mix.Tasks.Koans.Init.Couch do | |
| use Mix.Task | |
| import ICouch | |
| alias ICouch.Document, as: Doc | |
| @shortdoc "Initialise CouchDB for koan-ci" | |
| def run(_) do | |
| # at this point in time, no apps are started and we do not have | |
| # access to parameters stashed in ./config/*.ex | |
| Application.ensure_all_started(:icouch) |
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
| chflags: /usr/obj/usr/src/arm64.aarch64/release: No such file or directory | |
| chown: /usr/obj/usr/src/arm64.aarch64/release: No such file or directory | |
| HEAD is now at 8d2dcf925d33 vmimage.subr: Add missing directories to METALOG | |
| make[1]: /usr/src/Makefile.inc1:362: SYSTEM_COMPILER: Determined that CC=/usr/local/bin/ccache cc matches the source tree. Not bootstrapping a cross-compiler. | |
| make[1]: /usr/src/Makefile.inc1:367: SYSTEM_LINKER: Determined that LD=ld matches the source tree. Not bootstrapping a cross-linker. | |
| -------------------------------------------------------------- | |
| >>> World build started on Fri Oct 17 17:48:54 UTC 2025 | |
| -------------------------------------------------------------- | |
| -------------------------------------------------------------- |
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 oci-launch-zfs-arm64 | |
| set -l USERDATA (mktemp -t oci) | |
| echo '#!/bin/sh -eux | |
| set -o pipefail | |
| touch /var/run/cloud_script_was_here | |
| sed -i"" -E -e "s/.*ssh-/ssh-/" /root/.ssh/authorized_keys | |
| # https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/gettingmetadata.htm | |
| curl --fail -H Authorization:\ Bearer\ Oracle -s \ | |
| http://169.254.169.254/opc/v2/instance \ | |
| | jq . > /var/run/oci.json |
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
| # nvidia-xconfig: X configuration file generated by nvidia-xconfig | |
| # nvidia-settings: version 460.73.01 | |
| Section "ServerLayout" | |
| Identifier "Layout0" | |
| Screen 0 "Screen0" 0 0 | |
| Option "Xinerama" "0" | |
| EndSection | |
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 zonekeys | |
| set -l type rsa | |
| set -l algo 8 | |
| set -l zone $argv[1] | |
| test -d $zone || mkdir $zone | |
| cd $zone | |
| # generate keys if missing | |
| test -s $zone-old.pem || ln -s canonical/51186.rsa1024.pem $zone-old.pem | |
| test -s $zone-ksk.pem || brssl skey -gen $type:1024 -rawpem $zone-ksk.pem | |
| test -s $zone-zsk.pem || brssl skey -gen $type:2048 -rawpem $zone-zsk.pem |
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 -eu | |
| export __MAKE_CONF=/dev/null | |
| umask 0022 | |
| cd /usr/src | |
| NOW=$(date -u +%Y%m%d-%H%M) | |
| NCPU=8 | |
| COMMIT=g$(git rev-parse --verify --short=7 HEAD) | |
| RELEASE=/usr/obj/usr/src/amd64.amd64/release |
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
| -- vim: set filetype=lua : | |
| --- bootstrap plugin manager | |
| local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim' | |
| if not vim.loop.fs_stat(lazypath) then | |
| vim.fn.system({ | |
| 'git', | |
| 'clone', | |
| '--filter=blob:none', | |
| 'https://github.com/folke/lazy.nvim.git', | |
| '--branch=stable', -- latest stable release |
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
| -- vim: set filetype=lua : | |
| --- bootstrap plugin manager | |
| local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim' | |
| if not vim.loop.fs_stat(lazypath) then | |
| vim.fn.system({ | |
| 'git', | |
| 'clone', | |
| '--filter=blob:none', | |
| 'https://github.com/folke/lazy.nvim.git', | |
| '--branch=stable', -- latest stable release |
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 | |
| # | |
| # $FreeBSD: tools/git-release/builds-15.conf 2804 2025-04-21 17:34:35Z cperciva $ | |
| # | |
| # usage | |
| # zfs destroy -vrf zroot/releng | |
| # zfs create -o sync=disabled -o mountpoint=/releng zroot/releng | |
| # zfs create -o mountpoint=/releng zroot/releng | |
| # ./thermite.sh -b -d -c dch.conf |
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 | |
| # | |
| # PROVIDE: APP | |
| # REQUIRE: networking epmd | |
| # AFTER: epmd | |
| # KEYWORD: | |
| . /etc/rc.subr | |
| name="APP" |
NewerOlder