67 lines
1.7 KiB
YAML
67 lines
1.7 KiB
YAML
- lang: python3
|
|
type: gen
|
|
description: connect to postgres and list the rows in the orders table
|
|
- lang: python3
|
|
type: fix
|
|
code: |-
|
|
def main(num: int) -> float:
|
|
return 3 / num
|
|
error: division by zero
|
|
- lang: python3
|
|
type: edit
|
|
code: |-
|
|
def main(num: int) -> float:
|
|
return num / 16
|
|
description: comment my code
|
|
- lang: go
|
|
type: gen
|
|
description: civide a number by 16
|
|
- lang: deno
|
|
type: gen
|
|
description: convert a number to a word
|
|
- lang: deno
|
|
type: gen
|
|
description: connect to postgres and list the rows in the orders table
|
|
- lang: bun
|
|
type: gen
|
|
description: convert a number to a word
|
|
- lang: postgresql
|
|
type: gen
|
|
description: insert an a new user
|
|
- lang: mysql
|
|
type: gen
|
|
description: insert an email and a name in the users table
|
|
- lang: bigquery
|
|
type: gen
|
|
description: insert an email and a name in the users table
|
|
- lang: snowflake
|
|
type: gen
|
|
description: insert an email and a name in the users table
|
|
- lang: graphql
|
|
type: gen
|
|
description: create a new user with an email and a name
|
|
- lang: bash
|
|
type: gen
|
|
description: divide a number by 16
|
|
- lang: powershell
|
|
type: gen
|
|
description: divide a number by 16
|
|
- lang: bash
|
|
type: gen
|
|
description: write a docker image for a python app
|
|
- lang: nativets
|
|
type: gen
|
|
description: query the github api and return the number of stars of a repo
|
|
- lang: frontend
|
|
type: gen
|
|
description: set the value of the input with id 'my_field' to the context variable email
|
|
- lang: postgresql
|
|
type: gen
|
|
description: compute the average number of completed jobs per month for the given username
|
|
- lang: postgresql
|
|
type: fix
|
|
code: |-
|
|
SELECT is_secret FROM account
|
|
error: |-
|
|
ExecutionError: db error: ERROR: column "is_secret" does not exist
|