DEV Community

# snippets

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
VSC Snippets

VSC Snippets

Comments
3 min read
Writing multi-line code on Chrome DevTools

Writing multi-line code on Chrome DevTools

Comments
2 min read
ClerkDocs for VSCode: Essential Snippets for Clerk Components

ClerkDocs for VSCode: Essential Snippets for Clerk Components

7
Comments 1
4 min read
How to compare date (no time) with current day in javascript

How to compare date (no time) with current day in javascript

2
Comments
1 min read
How to set value of input field in angular template

How to set value of input field in angular template

8
Comments
1 min read
How to set mongoose schema field from list of strings (enum)

How to set mongoose schema field from list of strings (enum)

5
Comments
1 min read
Do nothing on Angular material dialog scrolling

Do nothing on Angular material dialog scrolling

6
Comments
2 min read
How to configure and use environment specific values in Angular

How to configure and use environment specific values in Angular

6
Comments 1
2 min read
Entry-3: Display Image with Intent (React-native)

Entry-3: Display Image with Intent (React-native)

5
Comments
1 min read
Entry-2: ByteArray conversion (React-native)

Entry-2: ByteArray conversion (React-native)

7
Comments
1 min read
How to expand dynamically angular material panel

How to expand dynamically angular material panel

8
Comments
1 min read
Create custom VSCode shortcuts and code snippets

Create custom VSCode shortcuts and code snippets

5
Comments
2 min read
Dark Theme Toggle - How to create a dark mode switch in a few lines of JS + CSS

Dark Theme Toggle - How to create a dark mode switch in a few lines of JS + CSS

11
Comments
2 min read
Snippet: Change timezone for DateTime object

Snippet: Change timezone for DateTime object

5
Comments
1 min read
Adding an executable target to a Rust library

Adding an executable target to a Rust library

7
Comments
2 min read
Unleash the power of bookmarklets

Unleash the power of bookmarklets

6
Comments
2 min read
<details> and <summary>: a native HTML accordion

<details> and <summary>: a native HTML accordion

14
Comments 2
3 min read
Ruby VS Code Snippets

Ruby VS Code Snippets

7
Comments 1
4 min read
Transforming VS Code Snippets

Transforming VS Code Snippets

14
Comments
6 min read
VSCode snippet for IE11-only CSS and SCSS

VSCode snippet for IE11-only CSS and SCSS

5
Comments
3 min read
Create color console in vscode snippets

Create color console in vscode snippets

5
Comments
1 min read
Boost your productivity with Code Attendant.

Boost your productivity with Code Attendant.

6
Comments
1 min read
Vim Tips: Snippets without plugins

Vim Tips: Snippets without plugins

7
Comments
2 min read
Create Your Own VSCode Snippets

Create Your Own VSCode Snippets

10
Comments
4 min read
Pagination with JPA queries

Pagination with JPA queries

5
Comments
1 min read
How to use named parameters in JPA queries

How to use named parameters in JPA queries

6
Comments
1 min read
How to use named queries with JPA and JPQL

How to use named queries with JPA and JPQL

6
Comments
1 min read
How to define and use variables in sass

How to define and use variables in sass

6
Comments
1 min read
How to delete a kubernetes deployment with kubectl

How to delete a kubernetes deployment with kubectl

6
Comments
1 min read
How to set focus on angular material autcomplete input field

How to set focus on angular material autcomplete input field

7
Comments
1 min read
Command to list docker containers

Command to list docker containers

4
Comments
1 min read
How to delay an http response in ExpressJS

How to delay an http response in ExpressJS

5
Comments 1
1 min read
Use VS Code snippets to generate Markdown front matter

Use VS Code snippets to generate Markdown front matter

32
Comments 3
5 min read
How to pass text as input in a POST request body with Jax-RS

How to pass text as input in a POST request body with Jax-RS

6
Comments
1 min read
How to start nodemon with custom port

How to start nodemon with custom port

7
Comments
1 min read
How to connect to SQL Plus in oracle xe running in a docker container

How to connect to SQL Plus in oracle xe running in a docker container

6
Comments
1 min read
How to read file from test resources in java unit test

How to read file from test resources in java unit test

8
Comments
1 min read
How to disable Angular's build-in sanitization for an URL

How to disable Angular's build-in sanitization for an URL

9
Comments 2
1 min read
Angular material dialog example

Angular material dialog example

5
Comments
2 min read
How to use routerLink in Angular to specify value of parameter in url

How to use routerLink in Angular to specify value of parameter in url

6
Comments
1 min read
Accessing your standalone Gitlab Snippets with Curl

Accessing your standalone Gitlab Snippets with Curl

Comments 1
2 min read
Snippets VSCode: Rapidito y con buena letra.

Snippets VSCode: Rapidito y con buena letra.

5
Comments
7 min read
How to count newest entries created in an oracle database

How to count newest entries created in an oracle database

6
Comments 2
1 min read
How to renew Let's Encrypt ssl certificate with certbot for nginx in the command line

How to renew Let's Encrypt ssl certificate with certbot for nginx in the command line

8
Comments
3 min read
JavaScript copy to clipboard function (no jQuery)

JavaScript copy to clipboard function (no jQuery)

2
Comments
4 min read
How to lazy load modules in Angular with loadChildren

How to lazy load modules in Angular with loadChildren

2
Comments
2 min read
How to store result from async pipe in angular

How to store result from async pipe in angular

5
Comments
2 min read
How to highlight liquid code in Jekyll

How to highlight liquid code in Jekyll

2
Comments
1 min read
How to see remote url in git

How to see remote url in git

3
Comments
2 min read
How to find an entity in jpa with primary key

How to find an entity in jpa with primary key

2
Comments
1 min read
SQL Select with IN clause from list with JPA

SQL Select with IN clause from list with JPA

7
Comments
1 min read
How to access path parameters in angular router

How to access path parameters in angular router

5
Comments
2 min read
How to set query parameters in angular rest call

How to set query parameters in angular rest call

6
Comments
1 min read
How to create a MongoDB full text index

How to create a MongoDB full text index

6
Comments
2 min read
How to get date or datetime from string in java

How to get date or datetime from string in java

5
Comments
1 min read
Get user input value from input box in visual studio code

Get user input value from input box in visual studio code

8
Comments
1 min read
Force null value check on field mapping in Mapstruct

Force null value check on field mapping in Mapstruct

7
Comments
1 min read
Python: Data Types

Python: Data Types

2
Comments
3 min read
Python: Comprehensions

Python: Comprehensions

2
Comments
2 min read
Javascript runtime interview question

Javascript runtime interview question

6
Comments
2 min read
loading...