- Actividades:
- Llegada al aeropuerto de Schiphol en Ámsterdam.
- Explorar el centro de la ciudad: paseo en barco por los canales (€16 por adulto, €8 para niños).
- Visitar el Museo NEMO de Ciencias (€17.50 por adulto, gratis para menores de 4 años).
- Pasear por la Plaza Dam y el distrito de Jordaan.
- Cena: Disfrutar de panqueques holandeses en una panadería local (€15-20 por persona).
- Alojamiento: viajar a Zwolle/Giethoorn en la tarde
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
| #!/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 { |
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
| # | |
| # 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 |
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
| package main | |
| // https://ebitengine.org/en/examples/life.html | |
| import ( | |
| "fmt" | |
| "math/rand" | |
| "strconv" | |
| "time" |
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
| --- | |
| - 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 |
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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "golang.org/x/crypto/ssh" | |
| ) |
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
| ;; 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) |
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
| ;;; 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) |
OlderNewer