export VM=dist-lunar-01 IMG=https://cloud-images.ubuntu.com/lunar/current/lunar-server-cloudimg-amd64.img OS=ubuntu22.04; curl https://spellcaster.sh/spells/cwitch | bash && ssh -t -i ./id_ed25519 -o StrictHostKeyChecking=no $USER@$(virsh domifaddr $VM | awk -F'[ /]+' '{if (NR>2) print $5}')
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
| pipeline { | |
| agent any | |
| stages { | |
| stage('Build') { | |
| steps { | |
| echo 'Hi, GeekFlare. Starting to build the App.' | |
| } | |
| } | |
| } | |
| } |
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
| curl https://test.spellcaster.sh/spells/aws-ssh-$(uname | tr '[:upper:]' '[:lower:]') | bash && export AWS_VM=spell-vm-01; aws ec2 wait instance-running --instance-ids $(aws ec2 describe-instances --filter Name=tag:Name,Values="${AWS_VM}" 'Name=instance-state-name,Values=[running, stopped, pending]' --query 'Reservations[*].Instances[*].InstanceId' --out text) && sleep 10 && ssh -o ConnectTimeout=20 -i ${AWS_VM}.pem ubuntu@$(aws ec2 describe-instances --filter Name=tag:Name,Values="${AWS_VM}" 'Name=instance-state-name,Values=[running, stopped, pending]' --query 'Reservations[*].Instances[*].PublicIpAddress' --out text) |
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
| whoami | |
| pwd | |
| get-location | |
| hostname | |
| # Show all cmdlets | |
| Get-Command | |
| Get-Command ls |
export CLOUDSDK_CORE_PROJECT=gke-project-319818 CLOUDSDK_COMPUTE_REGION=us-west1 CLOUDSDK_COMPUTE_ZONE=us-west1-a; curl https://test.spellcaster.sh/spells/gcloud-macos | bash; . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && curl https://test.spellcaster.sh/spells/gcloud-macos | bash- Parts of the computer
- Counting in Binary
- Booting the Computer
- Users and Login
- Command Line Shell
- navigating
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
| stephen@meerkat:~/dev/chef/audit$ kitchen converge chef-assert-centos-7 | |
| -----> Starting Test Kitchen (v2.4.0) | |
| -----> Converging <chef-assert-centos-7>... | |
| Preparing files for transfer | |
| Preparing dna.json | |
| Resolving cookbook dependencies with Berkshelf 7.0.9... | |
| Removing non-cookbook files before transfer | |
| Preparing validation.pem | |
| Preparing client.rb | |
| -----> Chef installation detected (install only if missing) |
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
| ;; disable auto-save and auto-backup | |
| (setq auto-save-default nil) | |
| (setq make-backup-files nil) | |
| ;; set to dark mode | |
| (setq frame-background-mode 'dark) |