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/sh | |
# Generates a self-signed certificate. | |
# Edit dovecot-openssl.cnf before running this. | |
umask 077 | |
OPENSSL=${OPENSSL-openssl} | |
SSLDIR=${SSLDIR-/etc/ssl} | |
OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf} |
function fibonacci(n) {
if (n <= 1) {
return 1
}
return fibonacci(n - 1) + fibonacci(n - 2);
}
function memoizedFibonacci(n, memo) {
We have very precise rules over how our git commit messages can be formatted. This leads to more readable messages that are easy to follow when looking through the project history. But also, we use the git commit messages to generate the Angular change log.
Each commit message consists of a header, a body and a footer. The header has a special format that includes a type, a scope and a subject:
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
import { | |
Controller, | |
Get, | |
ParseIntPipe, | |
Query, | |
} from '@nestjs/common'; | |
export class GalleryController { | |
constructor() { | |
} |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
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
# Terminal Cheat Sheet | |
pwd # print working directory | |
ls # list files in directory | |
cd # change directory | |
~ # home directory | |
.. # up one directory | |
- # previous working directory | |
help # get help | |
-h # get help |
1. El autocompletado de un IDE realiza las siguientes funciones:
Seleccione una:
a. Visualiza un listado de los comentarios en el código.
b. Ninguna respuesta es correcta.
c. Justifica (tabula) el código seleccionado.
d. ✅Visualiza un listado de sugerencias al empezar a escribir un nombre de una variable, clase u objeto entre otros.
---
I hereby claim:
- I am dan-dm on github.
- I am danmarius (https://keybase.io/danmarius) on keybase.
- I have a public key whose fingerprint is ACC2 2FC9 16B2 C732 5247 075F 69A3 CF12 5FBE 00C7
To claim this, I am signing this object:
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
NewerOlder