Alquiler amueblado
- Carol puede financiar
- Javier puede evaluar y estimar
| ;;; init.el --- My customisations of emacs -*- lexical-binding: t; mode: emacs-lisp; -*- | |
| ;;; Commentary: | |
| ;; This is the new version in 2025 | |
| ;;; Code: | |
| ;; Initialize package sources | |
| (require 'package) | |
| (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) |
| ;; Initialize package sources | |
| (require 'package) | |
| ;; Add Melpa and Melpa-Stable to the list of repositories | |
| (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) | |
| (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) | |
| ;; Initialize the package system | |
| (package-initialize) |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "golang.org/x/crypto/ssh" | |
| ) |
| --- | |
| - name: Check disk space and service status | |
| hosts: compute_nodes | |
| gather_facts: true | |
| tasks: | |
| - name: Check disk space | |
| ansible.builtin.shell: | | |
| df -h|awk '{if(int($5)>10){print $1, $5; exit 1}}' | |
| changed_when: false |
| package main | |
| // https://ebitengine.org/en/examples/life.html | |
| import ( | |
| "fmt" | |
| "math/rand" | |
| "strconv" | |
| "time" |
| # | |
| # Simple lists | |
| # | |
| locals { | |
| ip_addresses = ["10.0.0.1", "10.0.0.2"] | |
| } | |
| resource "example" "example" { | |
| for_each = toset(local.ip_addresses) | |
| ip_address = each.key |
| #!/usr/bin/env bash | |
| # check systems idle time, run commands depending on that | |
| function get_idle { | |
| idle=$(top -bn2 | grep "Cpu(s)"|tail -n 1|sed "s/.*, *\([0-9.]*\)%* id.*/\1/") | |
| echo "$idle" | |
| } | |
| function main_loop { |