Archivo de configuración: ~/.xbindkeysrc
Abre el archivo con tu editor. Cada macro usa este formato:
"comando a ejecutar"
| #!/bin/bash | |
| # Mantiene Alt pulsado (miniaturas de ventanas visibles) hasta que | |
| # ocurra CUALQUIER clic del mouse, que confirma la selección. | |
| echo "script iniciado $(date)" >> /tmp/alt-tab.log | |
| PIDFILE="/tmp/xbindkeys-alt-tab.pid" | |
| # Matar instancia anterior colgada (si existe) | |
| if [ -f "$PIDFILE" ]; then |
| # For the benefit of emacs users: -*- shell-script -*- | |
| ########################### | |
| # xbindkeys configuration # | |
| ########################### | |
| # | |
| # Version: 1.8.7 | |
| # | |
| # If you edit this file, do not forget to uncomment any lines | |
| # that you change. | |
| # The pound(#) symbol may be used anywhere for comments. |
| ; Define a flag to track the mute state | |
| isMuted := false | |
| ; Function to mute the system volume | |
| MuteVolume() { | |
| Run, C:\nircmd\nircmd.exe mutesysvolume 1 | |
| } | |
| ; Function to unmute the system volume | |
| UnmuteVolume() { |
| # i3 config file (v4) for Regolith Desktop Environment | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
| # This defines which key super maps to on your keyboard. | |
| # Alt key is Mod1, and Windows key is Mod4 | |
| set $mod Mod4 | |
| set $alt Mod1 | |
| # i3xrocks config file |
| const swaggerJsdoc = require("swagger-jsdoc"); | |
| const swaggerUI = require('swagger-ui-express'); | |
| const options = { | |
| definition: { | |
| openapi: "3.0.0", | |
| info: { | |
| "title": "Server Importacion", | |
| "version": "1.0.0" | |
| }, |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com, example2.com, and example1.com/images on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
| interface SuperHeroe { | |
| nombre: string; | |
| edad: number; | |
| direccion: Direccion, | |
| mostrarDireccion: () => string | |
| } | |
| interface Direccion { | |
| calle: string; | |
| pais: string; | |
| ciudad: string; |
| var Fn = { | |
| // Valida el rut con su cadena completa "XXXXXXXX-X" | |
| validaRut : function (rutCompleto) { | |
| if (!/^[0-9]+[-|‐]{1}[0-9kK]{1}$/.test( rutCompleto )) | |
| return false; | |
| var tmp = rutCompleto.split('-'); | |
| var digv = tmp[1]; | |
| var rut = tmp[0]; | |
| if ( digv == 'K' ) digv = 'k' ; | |
| return (Fn.dv(rut) == digv ); |
| # i3 config file (v4) for Regolith Desktop Environment | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
| # This defines which key super maps to on your keyboard. | |
| # Alt key is Mod1, and Windows key is Mod4 | |
| set $mod Mod4 | |
| set $alt Mod1 | |
| # i3xrocks config file |