Skip to content

Instantly share code, notes, and snippets.

View cjemorton's full-sized avatar

Clement Morton cjemorton

View GitHub Profile
@cjemorton
cjemorton / help
Created September 29, 2025 20:34
Uploaded via gist script
Usage: oci [OPTIONS] COMMAND [ARGS]...
Oracle Cloud Infrastructure command line interface, with support for Audit,
Block Volume, Compute, Database, IAM, Load Balancing, Networking, DNS, File
Storage, Email Delivery and Object Storage Services.
Most commands must specify a service, followed by a resource type and then
an action. For example, to list users (where $T contains the OCID of the
current tenant):
@cjemorton
cjemorton / Rainbow
Created August 11, 2024 22:05
Rainbow
The concept of a rainbow in the Bible is most famously connected to the story of Noah's Ark in the Book of Genesis. According to the narrative in Genesis 9:8-17, after the flood that destroyed much of the earth, God made a covenant with Noah and his descendants, promising never to flood the earth again to destroy all life. The rainbow was given as a sign of this covenant:
*"I have set my rainbow in the clouds, and it will be the sign of the covenant between me and the earth. Whenever I bring clouds over the earth and the rainbow appears in the clouds, I will remember my covenant between me and you and all living creatures of every kind. Never again will the waters become a flood to destroy all life."* (Genesis 9:13-15, NIV)
In this context, the rainbow symbolizes God's promise, mercy, and the enduring nature of His covenant with humanity and all living creatures. The appearance of a rainbow after a storm has often been seen as a reminder of God's faithfulness and His commitment to preserving life on Earth.
##
## Arch Linux repository mirrorlist
## Filtered by mirror score from mirror status page
## Generated on 2024-02-27
##
## Germany
#Server = https://ftp.fau.de/archlinux/$repo/os/$arch
## New Zealand
#Server = https://mirror.2degrees.nz/archlinux/$repo/os/$arch
[nix-shell:~/oracle_images]$ nix-build '<nixpkgs/nixos>' -A config.system.build.OCIImage --argstr system x86_64-linux --option system-features kvm -o oci-image
error: attribute 'OCIImage' in selection path 'config.system.build.OCIImage' not found
@cjemorton
cjemorton / dahdi_
Last active February 6, 2024 22:53
dahdi_ finding nothing.
root@rocky ~# systemctl status dahdi.service
● dahdi.service - LSB: DAHDI kernel modules
Loaded: loaded (/etc/rc.d/init.d/dahdi; generated)
Active: active (exited) since Tue 2024-02-06 17:37:20 EST; 2min 58s ago
Docs: man:systemd-sysv-generator(8)
Process: 1394 ExecStart=/etc/rc.d/init.d/dahdi start (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 48932)
Memory: 0B
CGroup: /system.slice/dahdi.service
root@rocky /u/s/asterisk# phreaknet update
+ AST_CONFIG_DIR=/etc/asterisk
+ AST_VARLIB_DIR=/var/lib/asterisk
+ AST_SOURCE_PARENT_DIR=/usr/src
+ AST_ALT_VER=
+ AST_MIN_PREFERRED_VER=20
+ AST_DEFAULT_MAJOR_VER=21
+ AST_NEXT_MAJOR_VER=22
+ AST_MAJOR_VER=21
+ AST_MM_VER=0
@cjemorton
cjemorton / phreaknet_20240206_1:30PM
Last active February 6, 2024 22:01
Example of phreaknet.sh run on 2024 02 06 @ 1:30Am
root@rocky /u/s/asterisk# phreaknet update
Updating PhreakScript...
Upstream: https://docs.phreaknet.org/script/phreaknet.sh
Successfully updated PhreakScript from 1.1.1 (2024-01-12) to 1.1.1 (2024-01-12)
root@rocky /u/s/asterisk# phreaknet install --force --dahdi
Real time pusling is not compatible or has been disabled for this build.
WARNING: You are installing Asterisk to run as root. This is not recommended.
Specify -u or --user to specify a run user
Starting installation with country code 1
@cjemorton
cjemorton / phreaknet_20240205_8:37PM
Created February 6, 2024 03:38
Example run of phreaknet.sh on 2024 02 05 @ 8:37PM
root@rocky /u/s/a/patches# phreaknet examples
========= PhreakScript Example Usages =========
Presented in the logical order of usage, but with multiple variations for each command.
Installation commands:
phreaknet install Install the latest version of Asterisk.
phreaknet install --cc=44 Install the latest version of Asterisk, with country code 44.
phreaknet install --force Reinstall the latest version of Asterisk.
#!/bin/sh
# Detect the shell
if [ -n "$BASH_VERSION" ]; then
SHELL_NAME="bash"
elif [ -n "$ZSH_VERSION" ]; then
SHELL_NAME="zsh"
else
SHELL_NAME="unknown"
fi