Documentación oficial sobre Jest
- Instalaciones de desarrollo (super test es útil para probar Express)
npm install -D jest @types/jest ts-jest supertest
Documentación oficial sobre Jest
npm install -D jest @types/jest ts-jest supertest
Uso adecuado de los decoradores: NestJS proporciona una serie de decoradores para ayudarte a desarrollar tu aplicación de manera más eficiente. Por ejemplo, los decoradores @Get()
, @Post()
, @Put()
, @Delete()
y @Patch()
en tus controladores te permiten manejar fácilmente los diferentes tipos de solicitudes HTTP. Los decoradores @Body()
, @Query()
, @Param()
, etc., te permiten acceder a diferentes partes de la solicitud HTTP.
@Post('register')
async register(@Body() createUserDto: CreateUserDto) {
return this.authService.register(createUserDto);
}
Run rails new --help
to see all of the options you can use to create a new Rails application:
Output for Rails 7+
Usage:
rails new APP_PATH [options]
Options:
[--skip-namespace], [--no-skip-namespace] # Skip namespace (affects only isolated engines)
#!/usr/bin/env ruby | |
# usage: stripiT.rb file1.m4a file2.m4a file3.m4a | |
# automatically outputs to file1 - stripped.m4a, file2 - stripped.m4a, and so on. | |
# Script to remove extraneous/unwanted atoms from iTunes purchased files by way of AtomicParsley. | |
# Output should be comparable to the atoms left over after reencoding the file in iTunes itself. | |
# I only care about songs, so I have no clue how well this applies to video files | |
# Some information taken from: https://code.google.com/p/mp4v2/wiki/iTunesMetadata |
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: |
# In order to use this you need to increase max_extrude_cross_section in your extruder config or klipper will complain. I set mine to 30 | |
[gcode_macro PURGE_BLOB] | |
gcode: | |
# This is for a 300mm bed. If you have a diferent bed size you may want to adjust the line below | |
{% set rand_pos = (105 + ( printer.system_stats.cputime * 1000 ) % 60) %} ; Generate pseudo random start pos so we dont wear out that one spot on the bed. | |
M117 Purging at X{ rand_pos } | |
# The start pos will be within the "handle" of the flex plate where there is some extra Y space available so we can go all the way to Y0 | |
# If your setup does not have this extra space then just increase the y valie in the line "G1 X{ rand_pos } Y0 Z1 F18000" | |
G92 E0 ; zero the extruder |
sudo
privileges and SSH access.Administration
-> Configuration
Options
-> Show all configurable settings, including advanced settings