Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
wiki2:shortcuts [2019/12/06 07:51] alfred [Docker] |
wiki2:shortcuts [2020/09/10 18:37] (actual) |
||
|---|---|---|---|
| Línea 22: | Línea 22: | ||
| * [[wiki2:linux_commands#apt]]-get install|reinstall|update | * [[wiki2:linux_commands#apt]]-get install|reinstall|update | ||
| + | |||
| + | === Date === | ||
| + | Format date in the way you like it: | ||
| + | <code> | ||
| + | $(date +%y%m%d) | ||
| + | </code> | ||
| ==== Cheat ==== | ==== Cheat ==== | ||
| You can define the next alias: | You can define the next alias: | ||
| Línea 101: | Línea 107: | ||
| <code> | <code> | ||
| python -m SimpleHTTPServer | python -m SimpleHTTPServer | ||
| + | </code> | ||
| + | |||
| + | ===== Prettify JSON ===== | ||
| + | <code> | ||
| + | cat file.json | python -m json.tool | ||
| </code> | </code> | ||