DEV Community

# snippet

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Jenkins - run shell command on the master

Jenkins - run shell command on the master

4
Comments
1 min read
Get JSON Value with Dynamic Key in TypeScript

Get JSON Value with Dynamic Key in TypeScript

2
Comments
1 min read
Quick and dirty copy embed.FS to another directory

Quick and dirty copy embed.FS to another directory

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

Unlocking 100% of NGINX Ingress Controller

7
Comments 1
5 min read
JS & CSS snippet to detect and style if dark mode

JS & CSS snippet to detect and style if dark mode

3
Comments
1 min read
XCode Code Snippet

XCode Code Snippet

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

Vim Convert Tab Key Press into Spaces

6
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

4
Comments
1 min read
Our favorite javascript one-liners

Our favorite javascript one-liners

106
Comments 14
2 min read
What are Snippets in VSCode?

What are Snippets in VSCode?

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.

7
Comments
2 min read
Making the most of $Query

Making the most of $Query

2
Comments
2 min read
Animated gradient background using only CSS

Animated gradient background using only CSS

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

Let's create our snippets on VSCode

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

Snippets in C#: Offsets and substrings

2
Comments
1 min read
GZIP on the Browser

GZIP on the Browser

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

Django logging - forget about 'print' when debugging

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

Destructuring Tweets - Episode 13 - Let's Construct

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

How to Create Your Own Snippets in VS Code

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

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

Drupal 8/9: Listing all available entity types

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

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

Destructuring Tweets - Episode 12 - Coalesced False

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

Destructuring Tweets - Episode 11 - Continue to Break

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

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

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

Destructuring Tweets - Episode 9 - Short Read about Length

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

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

Destructuring Tweets - Episode 7 - Even more Evil Eval

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

Destructuring Tweets - Episode 6 - Default Parameter Values

6
Comments
2 min read
Create and drop oracle table example

Create and drop oracle table example

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

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

Destructuring Tweets - Episode 4 - Summing Up

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

Get the current unix timestamp in oracle

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

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

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

Destructuring Tweets - Episode 2 - Hoisting

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

Destructuring Tweets - Episode 1 - Set() Trickery

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

A tool for managing VS Code code snippets

22
Comments 3
2 min read
Django Packages

Django Packages

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

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

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

8
Comments 1
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

9
Comments
1 min read
Simple tag trait for Laravel models

Simple tag trait for Laravel models

13
Comments
1 min read
How do you upload a PDF received from an API to AWS S3?

How do you upload a PDF received from an API to AWS S3?

5
Comments
1 min read
Identify models using their name with Laravel

Identify models using their name with Laravel

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

Stop event propagation Nativescript (vue)

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

Get categories by post type in WordPress

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

Enable fullscreen view on nativescript-vue

2
Comments
1 min read
String Interpolation in Dart/Flutter

String Interpolation in Dart/Flutter

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

How to create a user snippet in VS Code

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

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

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

Destructure an object to remove a property

46
Comments
1 min read
TS async data creation helper function

TS async data creation helper function

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

6
Comments
1 min read
SQL Join Memento

SQL Join Memento

6
Comments
3 min read
Pipe Stream to Express

Pipe Stream to Express

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

SCP between two hosts with non-standard ports

6
Comments
1 min read
Remove duplicates rows with SQL

Remove duplicates rows with SQL

10
Comments
1 min read
TS sort helper

TS sort helper

13
Comments
1 min read
Updating a table from another table

Updating a table from another table

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

Generate a random hash with fixed length

6
Comments
1 min read
loading...