Skip to content
Navigation menu
Search
Search
Log in
Create account
DEV Community
Close
DEV Community
is a community of 853,399 amazing developers
We're a place where coders share, stay up-to-date and grow their careers.
Create account
Log in
Home
Listings
Podcasts
Videos
Tags
FAQ
Forem Shop
Sponsors
About
Contact
Other
Code of Conduct
Privacy Policy
Terms of use
Twitter
Facebook
Github
Instagram
Twitch
#
snippets
Follow
Posts
Left menu
👋
Sign in
for the ability to sort posts by
relevant
,
latest
, or
top
.
Right menu
Snippet: Change timezone for DateTime object
Peter van der Does
Peter van der Does
Peter van der Does
Follow
May 26
Snippet: Change timezone for DateTime object
#
python
#
snippets
Reactions
5
reactions
Comments
Add Comment
1 min read
Save
Saved
Adding an executable target to a Rust library
Konstantin
Konstantin
Konstantin
Follow
May 16
Adding an executable target to a Rust library
#
rust
#
library
#
targets
#
snippets
Reactions
6
reactions
Comments
Add Comment
2 min read
Save
Saved
Unleash the power of bookmarklets
Amir.H Ebrahimi
Amir.H Ebrahimi
Amir.H Ebrahimi
Follow
Apr 28
Unleash the power of bookmarklets
#
javascript
#
css
#
snippets
#
extensions
Reactions
6
reactions
Comments
Add Comment
2 min read
Save
Saved
What is a Smart Code Snippet?
Julien
Julien
Julien
Follow
for
Codiga
Apr 4
What is a Smart Code Snippet?
#
codesnippet
#
snippets
#
vscode
#
jetbrains
Reactions
4
reactions
Comments
Add Comment
3 min read
Save
Saved
Snipt: Search Engine for Code Snippets
Julien
Julien
Julien
Follow
for
Codiga
Mar 31
Snipt: Search Engine for Code Snippets
#
snippets
#
codesnippets
Reactions
4
reactions
Comments
Add Comment
2 min read
Save
Saved
Ruby VS Code Snippets
ArkfulDodger
ArkfulDodger
ArkfulDodger
Follow
Apr 8
Ruby VS Code Snippets
#
vscode
#
ruby
#
productivity
#
snippets
Reactions
6
reactions
Comments
1
comment
4 min read
Save
Saved
<details> and <summary>: a native HTML accordion
Stacey
Stacey
Stacey
Follow
Apr 15
<details> and <summary>: a native HTML accordion
#
html
#
css
#
snippets
Reactions
5
reactions
Comments
Add Comment
3 min read
Save
Saved
Transforming VS Code Snippets
ArkfulDodger
ArkfulDodger
ArkfulDodger
Follow
Apr 6
Transforming VS Code Snippets
#
vscode
#
snippets
#
productivity
#
regex
Reactions
6
reactions
Comments
Add Comment
6 min read
Save
Saved
Vim Tips: Snippets without plugins
Federico Ramirez
Federico Ramirez
Federico Ramirez
Follow
Mar 21
Vim Tips: Snippets without plugins
#
vim
#
snippets
Reactions
6
reactions
Comments
Add Comment
2 min read
Save
Saved
VSCode snippet for IE11-only CSS and SCSS
Stacey
Stacey
Stacey
Follow
Mar 31
VSCode snippet for IE11-only CSS and SCSS
#
css
#
scss
#
vscode
#
snippets
Reactions
5
reactions
Comments
Add Comment
3 min read
Save
Saved
Create color console in vscode snippets
Rajasekar Thangavel
Rajasekar Thangavel
Rajasekar Thangavel
Follow
Mar 25
Create color console in vscode snippets
#
console
#
vscode
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
Boost your productivity with Code Attendant.
Dor Cohen
Dor Cohen
Dor Cohen
Follow
Mar 22
Boost your productivity with Code Attendant.
#
javascript
#
productivity
#
vscode
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
How to use named parameters in JPA queries
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Feb 15
How to use named parameters in JPA queries
#
java
#
jpa
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
How to use named queries with JPA and JPQL
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Feb 15
How to use named queries with JPA and JPQL
#
java
#
jpa
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
Create Your Own VSCode Snippets
Brian Morrison II
Brian Morrison II
Brian Morrison II
Follow
Mar 16
Create Your Own VSCode Snippets
#
vscode
#
snippets
#
beginners
#
webdev
Reactions
7
reactions
Comments
Add Comment
4 min read
Save
Saved
Pagination with JPA queries
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Feb 16
Pagination with JPA queries
#
java
#
jpa
#
codever
#
snippets
Reactions
5
reactions
Comments
Add Comment
1 min read
Save
Saved
How to delete a kubernetes deployment with kubectl
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Feb 4
How to delete a kubernetes deployment with kubectl
#
kubernetes
#
kubectl
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
Command to list docker containers
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 28
Command to list docker containers
#
docker
#
commands
#
codever
#
snippets
Reactions
4
reactions
Comments
Add Comment
1 min read
Save
Saved
The Easiest Way To Share And Store Snippets of Code
Julien
Julien
Julien
Follow
for
Codiga
Feb 4
The Easiest Way To Share And Store Snippets of Code
#
codesnippets
#
vscode
#
intellij
#
snippets
Reactions
4
reactions
Comments
Add Comment
4 min read
Save
Saved
How to define and use variables in sass
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Feb 4
How to define and use variables in sass
#
scss
#
css
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
How to set focus on angular material autcomplete input field
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 31
How to set focus on angular material autcomplete input field
#
angular
#
angularmaterial
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
How to pass text as input in a POST request body with Jax-RS
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 18
How to pass text as input in a POST request body with Jax-RS
#
java
#
rest
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
How to start nodemon with custom port
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 17
How to start nodemon with custom port
#
node
#
nodemon
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
How to delay an http response in ExpressJS
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 27
How to delay an http response in ExpressJS
#
node
#
expressjs
#
codever
#
snippets
Reactions
5
reactions
Comments
1
comment
1 min read
Save
Saved
How to share code snippets in 2022
Julien
Julien
Julien
Follow
for
Codiga
Jan 24
How to share code snippets in 2022
#
snippets
#
vscode
#
intellij
#
codesnippets
Reactions
2
reactions
Comments
Add Comment
2 min read
Save
Saved
How to connect to SQL Plus in oracle xe running in a docker container
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 12
How to connect to SQL Plus in oracle xe running in a docker container
#
docker
#
database
#
codever
#
snippets
Reactions
5
reactions
Comments
Add Comment
1 min read
Save
Saved
How to read file from test resources in java unit test
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 11
How to read file from test resources in java unit test
#
java
#
testing
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
Use VS Code snippets to generate Markdown front matter
Cecelia Martinez
Cecelia Martinez
Cecelia Martinez
Follow
Jan 20
Use VS Code snippets to generate Markdown front matter
#
markdown
#
vscode
#
snippets
#
nuxt
Reactions
27
reactions
Comments
1
comment
5 min read
Save
Saved
All snippets you need for GraphQL and JavaScript
Julien
Julien
Julien
Follow
for
Codiga
Jan 16
All snippets you need for GraphQL and JavaScript
#
graphql
#
javascript
#
snippets
Reactions
6
reactions
Comments
Add Comment
2 min read
Save
Saved
How to disable Angular's build-in sanitization for an URL
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 10
How to disable Angular's build-in sanitization for an URL
#
angular
#
html
#
codever
#
snippets
Reactions
6
reactions
Comments
2
comments
1 min read
Save
Saved
Angular material dialog example
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 4
Angular material dialog example
#
angular
#
typescript
#
codever
#
snippets
Reactions
5
reactions
Comments
Add Comment
2 min read
Save
Saved
How to use routerLink in Angular to specify value of parameter in url
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Jan 3
How to use routerLink in Angular to specify value of parameter in url
#
angular
#
typescript
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
Snippets VSCode: Rapidito y con buena letra.
Marta Rey
Marta Rey
Marta Rey
Follow
Dec 29 '21
Snippets VSCode: Rapidito y con buena letra.
#
spanish
#
codenewbie
#
vscode
#
snippets
Reactions
5
reactions
Comments
Add Comment
7 min read
Save
Saved
Find safe and reusable code within your IDE in seconds
Julien
Julien
Julien
Follow
for
Codiga
Dec 27 '21
Find safe and reusable code within your IDE in seconds
#
assistant
#
snippets
#
vscode
#
productivity
Reactions
6
reactions
Comments
Add Comment
6 min read
Save
Saved
How to highlight liquid code in Jekyll
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Nov 23 '21
How to highlight liquid code in Jekyll
#
jekyll
#
codehighlighting
#
codever
#
snippets
Reactions
2
reactions
Comments
Add Comment
1 min read
Save
Saved
How to count newest entries created in an oracle database
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Dec 7 '21
How to count newest entries created in an oracle database
#
oracle
#
sql
#
codever
#
snippets
Reactions
6
reactions
Comments
2
comments
1 min read
Save
Saved
How to renew Let's Encrypt ssl certificate with certbot for nginx in the command line
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Dec 7 '21
How to renew Let's Encrypt ssl certificate with certbot for nginx in the command line
#
security
#
letsencrypt
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
3 min read
Save
Saved
JavaScript copy to clipboard function (no jQuery)
Nick Frostbutter
Nick Frostbutter
Nick Frostbutter
Follow
Nov 28 '21
JavaScript copy to clipboard function (no jQuery)
#
javascript
#
snippets
#
clipboard
Reactions
2
reactions
Comments
Add Comment
4 min read
Save
Saved
How to lazy load modules in Angular with loadChildren
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Nov 25 '21
How to lazy load modules in Angular with loadChildren
#
angular
#
typescript
#
codever
#
snippets
Reactions
2
reactions
Comments
Add Comment
2 min read
Save
Saved
How to store result from async pipe in angular
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Nov 23 '21
How to store result from async pipe in angular
#
angular
#
html
#
codever
#
snippets
Reactions
5
reactions
Comments
Add Comment
2 min read
Save
Saved
How to see remote url in git
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Nov 20 '21
How to see remote url in git
#
git
#
codever
#
snippets
Reactions
3
reactions
Comments
Add Comment
2 min read
Save
Saved
How to find an entity in jpa with primary key
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Nov 20 '21
How to find an entity in jpa with primary key
#
java
#
jpa
#
codever
#
snippets
Reactions
2
reactions
Comments
Add Comment
1 min read
Save
Saved
How to access path parameters in angular router
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Sep 9 '21
How to access path parameters in angular router
#
angular
#
typescript
#
codever
#
snippets
Reactions
5
reactions
Comments
Add Comment
2 min read
Save
Saved
How to create a MongoDB full text index
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Sep 8 '21
How to create a MongoDB full text index
#
mongodb
#
node
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
2 min read
Save
Saved
SQL Select with IN clause from list with JPA
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Sep 17 '21
SQL Select with IN clause from list with JPA
#
java
#
jpa
#
codever
#
snippets
Reactions
4
reactions
Comments
Add Comment
1 min read
Save
Saved
How to set query parameters in angular rest call
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Sep 8 '21
How to set query parameters in angular rest call
#
angular
#
typescript
#
codever
#
snippets
Reactions
4
reactions
Comments
Add Comment
1 min read
Save
Saved
How to get date or datetime from string in java
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Sep 3 '21
How to get date or datetime from string in java
#
java
#
codever
#
snippets
Reactions
5
reactions
Comments
Add Comment
1 min read
Save
Saved
Force null value check on field mapping in Mapstruct
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Sep 2 '21
Force null value check on field mapping in Mapstruct
#
java
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
Get user input value from input box in visual studio code
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Sep 2 '21
Get user input value from input box in visual studio code
#
typescript
#
vscode
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
1 min read
Save
Saved
Python: Comprehensions
Lennart
Lennart
Lennart
Follow
Aug 6 '21
Python: Comprehensions
#
python
#
comprehensions
#
snippets
#
javascript
Reactions
2
reactions
Comments
Add Comment
2 min read
Save
Saved
Python: Data Types
Lennart
Lennart
Lennart
Follow
Aug 6 '21
Python: Data Types
#
python
#
datatypes
#
snippets
Reactions
2
reactions
Comments
Add Comment
3 min read
Save
Saved
Javascript runtime interview question
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Aug 14 '21
Javascript runtime interview question
#
javascript
#
runtime
#
codever
#
snippets
Reactions
6
reactions
Comments
Add Comment
2 min read
Save
Saved
Higher order functions and closures example in Javascript
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Aug 11 '21
Higher order functions and closures example in Javascript
#
javascript
#
codever
#
snippets
Reactions
7
reactions
Comments
Add Comment
1 min read
Save
Saved
Hoisting with closures example
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
Codever
Aug 9 '21
Hoisting with closures example
#
javascript
#
closures
#
snippets
Reactions
5
reactions
Comments
Add Comment
1 min read
Save
Saved
Javascript call by value or by reference, actually by sharing
Adrian Matei
Adrian Matei
Adrian Matei
Follow
for
CodepediaOrg
Aug 7 '21
Javascript call by value or by reference, actually by sharing
#
javascript
#
snippets
#
codever
Reactions
7
reactions
Comments
7
comments
3 min read
Save
Saved
VS Code Snippets – How to Code Easier and Faster?
tomgrabski
tomgrabski
tomgrabski
Follow
for
Pagepro
May 11 '21
VS Code Snippets – How to Code Easier and Faster?
#
vscode
#
snippets
Reactions
8
reactions
Comments
Add Comment
6 min read
Save
Saved
JavaScript some and every method
Srimaniteja
Srimaniteja
Srimaniteja
Follow
Apr 7 '21
JavaScript some and every method
#
javascript
#
arrays
#
tips
#
snippets
Reactions
4
reactions
Comments
Add Comment
2 min read
Save
Saved
Python code snippets & resources for Developers
Sitharthan C
Sitharthan C
Sitharthan C
Follow
Apr 5 '21
Python code snippets & resources for Developers
#
python
#
snippets
#
coding
#
developers
Reactions
10
reactions
Comments
Add Comment
1 min read
Save
Saved
How To Add Custom Code Snippets in VS Code
Stefan Natter 🇦🇹👨🏻💻
Stefan Natter 🇦🇹👨🏻💻
Stefan Natter 🇦🇹👨🏻💻
Follow
Mar 16 '21
How To Add Custom Code Snippets in VS Code
#
visualstudiocode
#
vscode
#
snippets
Reactions
18
reactions
Comments
4
comments
3 min read
Save
Saved
What is the difference between callback functions, promises, and async/await in Javascript?
tq-bit
tq-bit
tq-bit
Follow
Mar 15 '21
What is the difference between callback functions, promises, and async/await in Javascript?
#
javascript
#
snippets
Reactions
17
reactions
Comments
Add Comment
8 min read
Save
Saved
loading...
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account