| version: '3' | |
| services: | |
| myDB: | |
| image: postgres:15.3 | |
| container_name: my-database | |
| restart: always | |
| ports: | |
| - 5432:5432 | |
| environment: |
NOTE: Make sure you add bin to the path for you to be able to run the command.
$ sudo service postgress start
Custom recipe to get OS X 10.11 El Capitan running from scratch with useful applications and Node.js Developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after fresh install.
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
| <!doctype html> | |
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Validador de RUT HTML5</title> | |
| </head> | |
| <body> | |
| <form> | |
| <input type="text" id="rut" name="rut" required oninput="checkRut(this)" placeholder="Ingrese RUT"> | |
| <button type="submit">Validar RUT y Enviar Form</button> |
| # Getting Started with TypeScript and Firebase | |
| ## What is TypeScript | |
| ## Creating a new TypeScript Project | |
| * Open Visual Studio 2013 | |
| * Navigate to NuGet plugins for this solution | |
| Nuget plugins for this solution -> Firebase definitely typed |
| Key/Command | Description |
|---|---|
| Tab | Auto-complete files and folder names |
| Ctrl + A | Go to the beginning of the line you are currently typing on |
| Ctrl + E | Go to the end of the line you are currently typing on |
| Ctrl + U | Clear the line before the cursor |
| Ctrl + K | Clear the line after the cursor |
| Ctrl + W | Delete the word before the cursor |
| Ctrl + T | Swap the last two characters before the cursor |
| # encoding=utf-8 | |
| # Obtener el dígito verificador del RUT en Python. | |
| # | |
| # La función recibe el RUT como un entero, | |
| # y entrega el dígito verificador como un entero. | |
| # Si el resultado es 10, el RUT es "raya k". | |
| from itertools import cycle |