Function | Shortcut |
---|---|
New Tab | ⌘ + T |
Close Tab or Window | ⌘ + W (same as many mac apps) |
Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
This file contains 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/bash | |
# Update the system packages | |
yum update -y | |
# Install MariaDB | |
yum install -y mariadb-server | |
# Start MySQL service | |
systemctl start mariadb |
This file contains 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/bash | |
# Update the system | |
yum update -y | |
# install NVM | |
su - ec2-user -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash' | |
su - ec2-user -c '. ~/.nvm/nvm.sh' | |
# Install NodeJS 16.14.x |
This file contains 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 kubenet --description "Run an ephemeral Pod with tons of networking tools in a specified kubernetes namespace" | |
set -l namespace $argv[1] | |
if test -z "$namespace" | |
set namespace "default" | |
else | |
# Check if the namespace exists | |
if not kubectl get namespace $namespace &>/dev/null | |
echo "Namespace '$namespace' does not exist. Using 'default' namespace." | |
set namespace "default" |
This file contains 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/bash | |
function kubenet { | |
# Description: Run an ephemeral Swiss Army Knife pod in a specified namespace. | |
# You already have tons of networking test tools ready to be used inside a kubernetes infrastructure. | |
# Based on Sören Metje's article | |
# https://dev.to/soerenmetje/debug-kubernetes-applications-a-swiss-army-knife-container-56id | |
# Usage: | |
# kubenet {YOUR_NAMESPACE} | |
This file contains 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
EJERCICIOS LINUX | |
EJERCICIOS COMANDOS BASICOS y GESTIÓN DE DIRECTORIOS DE LINUX | |
———————————————————————————————————————— | |
a) Determine quien está conectado al sistema | |
who |
This file contains 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
Apuntes SO Linux | |
HERRAMIENTAS DE CREACION DE ARCHIVOS | |
Sin editor de texto | |
* Sin contenido touch [nombre_archivo] | |
* Modo directo: cat > Tarea2 |
This file contains 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
PREPARACION LINUX | |
MAQUINAS VR | |
----------- | |
user: vbot | |
password: vbotpassword | |
This file contains 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
/* Bootstrap 4.1.0 - https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css */ | |
.accordion | |
.active | |
.alert | |
.alert-danger | |
.alert-dark | |
.alert-dismissible | |
.alert-heading | |
.alert-info |