DEV Community 👩‍💻👨‍💻

DEV Community 👩‍💻👨‍💻 is a community of 968,873 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in

# snippet

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Get JSON Value with Dynamic Key with TypeScript

Get JSON Value with Dynamic Key with TypeScript

Reactions 2 Comments
1 min read
Unlocking 100% of NGINX Ingress Controller

Unlocking 100% of NGINX Ingress Controller

Reactions 7 Comments
5 min read
Quick and dirty copy embed.FS to another directory

Quick and dirty copy embed.FS to another directory

Reactions 2 Comments
1 min read
JS & CSS snippet to detect and style if dark mode

JS & CSS snippet to detect and style if dark mode

Reactions 3 Comments
1 min read
XCode Code Snippet

XCode Code Snippet

Reactions 7 Comments
1 min read
Vim Convert Tab Key Press into Spaces

Vim Convert Tab Key Press into Spaces

Reactions 7 Comments
1 min read
Snippet... QR Code - Yes it's that easy to generate a QR Code

Snippet... QR Code - Yes it's that easy to generate a QR Code

Reactions 4 Comments
1 min read
Our favorite javascript one-liners

Our favorite javascript one-liners

Reactions 106 Comments 14
1 min read
What are Snippets in VSCode?

What are Snippets in VSCode?

Reactions 9 Comments
3 min read
Packageless - It's time to reduce your dependencies: The Supertest case.

Packageless - It's time to reduce your dependencies: The Supertest case.

Reactions 7 Comments
2 min read
Making the most of $Query

Making the most of $Query

Reactions 2 Comments
2 min read
Animated gradient background using only CSS

Animated gradient background using only CSS

Reactions 2 Comments
3 min read
Let's create our snippets on VSCode

Let's create our snippets on VSCode

Reactions 6 Comments 2
3 min read
Snippets in C#: Offsets and substrings

Snippets in C#: Offsets and substrings

Reactions 2 Comments
1 min read
GZIP on the Browser

GZIP on the Browser

Reactions 5 Comments
1 min read
Django logging - forget about 'print' when debugging

Django logging - forget about 'print' when debugging

Reactions 6 Comments
3 min read
Destructuring Tweets - Episode 13 - Let's Construct

Destructuring Tweets - Episode 13 - Let's Construct

Reactions 6 Comments
4 min read
How to Create Your Own Snippets in VS Code

How to Create Your Own Snippets in VS Code

Reactions 3 Comments
1 min read
Drupal 8/9: Adding Alternating Class Names to Views Rows with Twig

Drupal 8/9: Adding Alternating Class Names to Views Rows with Twig

Reactions 4 Comments
3 min read
Drupal 8/9: Listing all available entity types

Drupal 8/9: Listing all available entity types

Reactions 3 Comments
2 min read
Drupal 8/9: Adding CSS body classes based on the current user's roles

Drupal 8/9: Adding CSS body classes based on the current user's roles

Reactions 5 Comments 1
1 min read
Destructuring Tweets - Episode 12 - Coalesced False

Destructuring Tweets - Episode 12 - Coalesced False

Reactions 6 Comments
2 min read
Destructuring Tweets - Episode 11 - Continue to Break

Destructuring Tweets - Episode 11 - Continue to Break

Reactions 9 Comments
2 min read
Destructuring Tweets - Episode 10 - Short && Circuit && Evaluation

Destructuring Tweets - Episode 10 - Short && Circuit && Evaluation

Reactions 7 Comments
2 min read
Destructuring Tweets - Episode 9 - Short Read about Length

Destructuring Tweets - Episode 9 - Short Read about Length

Reactions 8 Comments
2 min read
Get all headings and their target URLs from a Markdown generated page

Get all headings and their target URLs from a Markdown generated page

Reactions 5 Comments
1 min read
Destructuring Tweets - Episode 7 - Even more Evil Eval

Destructuring Tweets - Episode 7 - Even more Evil Eval

Reactions 2 Comments
3 min read
Destructuring Tweets - Episode 6 - Default Parameter Values

Destructuring Tweets - Episode 6 - Default Parameter Values

Reactions 6 Comments
2 min read
Create and drop oracle table example

Create and drop oracle table example

Reactions 6 Comments 1
2 min read
How to use browser history to pass data in Angular navigation

How to use browser history to pass data in Angular navigation

Reactions 6 Comments
1 min read
Destructuring Tweets - Episode 4 - Summing Up

Destructuring Tweets - Episode 4 - Summing Up

Reactions 5 Comments
2 min read
Get the current unix timestamp in oracle

Get the current unix timestamp in oracle

Reactions 7 Comments
1 min read
Destructuring Tweets - Episode 3 - Length of a Multiline-String

Destructuring Tweets - Episode 3 - Length of a Multiline-String

Reactions 6 Comments
2 min read
Destructuring Tweets - Episode 2 - Hoisting

Destructuring Tweets - Episode 2 - Hoisting

Reactions 6 Comments 2
2 min read
Destructuring Tweets - Episode 1 - Set() Trickery

Destructuring Tweets - Episode 1 - Set() Trickery

Reactions 6 Comments
2 min read
A tool for managing VS Code code snippets

A tool for managing VS Code code snippets

Reactions 22 Comments 3
2 min read
Django Packages

Django Packages

Reactions 2 Comments
1 min read
JavaScript snippet: get trailing information after ("/", "-", "etc")

JavaScript snippet: get trailing information after ("/", "-", "etc")

Reactions 4 Comments
1 min read
Hide RED console.error LOG WALL while testing errors with jest

Hide RED console.error LOG WALL while testing errors with jest

Reactions 4 Comments
1 min read
How to list files recursively in a directory with PHP iterators

How to list files recursively in a directory with PHP iterators

Reactions 9 Comments
1 min read
Simple tag trait for Laravel models

Simple tag trait for Laravel models

Reactions 13 Comments
1 min read
Identify models using their name with Laravel

Identify models using their name with Laravel

Reactions 9 Comments
1 min read
Stop event propagation Nativescript (vue)

Stop event propagation Nativescript (vue)

Reactions 5 Comments
1 min read
Get categories by post type in WordPress

Get categories by post type in WordPress

Reactions 9 Comments
6 min read
Enable fullscreen view on nativescript-vue

Enable fullscreen view on nativescript-vue

Reactions 2 Comments
1 min read
String Interpolation in Dart/Flutter

String Interpolation in Dart/Flutter

Reactions 6 Comments 3
1 min read
How to create a user snippet in VS Code

How to create a user snippet in VS Code

Reactions 10 Comments 1
3 min read
💻💨 Quick TypeScript - Make Object Literal Properties Read-only

💻💨 Quick TypeScript - Make Object Literal Properties Read-only

Reactions 21 Comments 2
1 min read
Destructure an object to remove a property

Destructure an object to remove a property

Reactions 46 Comments
1 min read
TS async data creation helper function

TS async data creation helper function

Reactions 7 Comments
1 min read
Update all values in a MongoDB collection to a random range

Update all values in a MongoDB collection to a random range

Reactions 6 Comments
1 min read
SQL Join Memento

SQL Join Memento

Reactions 6 Comments
3 min read
Pipe Stream to Express

Pipe Stream to Express

Reactions 6 Comments
1 min read
SCP between two hosts with non-standard ports

SCP between two hosts with non-standard ports

Reactions 6 Comments
1 min read
Remove duplicates rows with SQL

Remove duplicates rows with SQL

Reactions 10 Comments
1 min read
TS sort helper

TS sort helper

Reactions 13 Comments
1 min read
Updating a table from another table

Updating a table from another table

Reactions 8 Comments 3
1 min read
Generate a random hash with fixed length

Generate a random hash with fixed length

Reactions 6 Comments
1 min read
Downloading Files With Groovy and Authentication

Downloading Files With Groovy and Authentication

Reactions 7 Comments
1 min read
Easy URL Parsing using the DOM

Easy URL Parsing using the DOM

Reactions 16 Comments 3
1 min read
loading...