display:grid; -> Para indicar que el contenedor se muestra como un grid
grid-template-columns: repeat(7, 1fr); -> Para indicar cuantas columnas tendrá el grid 7 de 1 fracción (nomral: 100px,100px,100px -> 3 columnas)
grid-template-rows: repeat(2,1fr); -> Lo mismo que con las columnas pero para las filas
grid-template: repeat(3, 1fr)/repeat(4, 100px); -> Junta ambas propiedades en una sola r/f
row-gap: 15px; -> Para expresar sepración entre filas. Debe estar junto con display: grid;
column-gap: 10px; -> Para expresar sepración entre column. Debe estar junto con display: grid;
grid-gap: 15px 10px; -> Para expresar separación entre filas y columas en una sola expresión. Debe estar junto con display: grid;
pwd: Nos muestra la ruta de carpetas en la que te encuentras ahora mismo.
mkdir: Nos permite crear carpetas (por ejemplo, mkdir Carpeta-Importante).
touch: Nos permite crear archivos (por ejemplo, touch archivo.txt).
rm: Nos permite borrar un archivo o carpeta (por ejemplo, rm archivo.txt). Mucho cuidado con este comando, puedes borrar todo tu disco duro.
cat: Ver el contenido de un archivo (por ejemplo, cat nombre-archivo.txt).
ls: Nos permite cambiar ver los archivos de la carpeta donde estamos ahora mismo. Podemos usar uno o más argumentos para ver más información sobre estos archivos (los argumentos pueden ser -- + el nombre del argumento o - + una sola letra o shortcut por cada argumento).
- ls -a: Mostrar todos los archivos, incluso los ocultos.
- ls -l: Ver todos los archivos como una lista.
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
| Accidentally pushed sensitive data? Follow these steps to undo the damage. | |
| If you have accidentally pushed some sensitive information to a remote repository, you don’t need to panic. Take couple of deep breaths; Wipe the sweat off your forehead; And follow the steps below. | |
| First, control the damage: | |
| Any sensitive information pushed to a public repository should be considered compromised. So if there are passwords and private keys in those commits, change them right now! | |
| Scenario 1: You pushed sensitive information in your last commit. | |
| If the sensitive information was in the last commit you just pushed to remote, you can amend it right away. Here we use the master branch as an example but you could do this on any branch. |
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
| Para cuando no hay parámetro | |
| import "google/protobuf/empty.proto"; | |
| service ShowGenreService { | |
| rpc Search (google.protobuf.Empty) returns (google.protobuf.Empty); | |
| } |