DEV Community

# snippet

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Effortless Formatting for OpenTofu Files with LazyVim

Effortless Formatting for OpenTofu Files with LazyVim

Comments
1 min read
Flatten Nested Arrays With PHP

Flatten Nested Arrays With PHP

Comments
1 min read
Implementing programmable code snippets in VSCode - `Code Recycle`

Implementing programmable code snippets in VSCode - `Code Recycle`

Comments
2 min read
A good code snippet for your posts đź’»

A good code snippet for your posts đź’»

Comments
1 min read
The Best Top 10 React Snippets for Web Developers 2023

The Best Top 10 React Snippets for Web Developers 2023

1
Comments
3 min read
Jenkins - run shell command on the master

Jenkins - run shell command on the master

4
Comments
1 min read
For loop with else in python

For loop with else in python

1
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
Cancellable task with timeout

Cancellable task with timeout

Comments
2 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
Codiga Redesign Journey: A designer perspective

Codiga Redesign Journey: A designer perspective

4
Comments
4 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
How to change the author of multiple Git commits

How to change the author of multiple Git commits

Comments
2 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
Sticky header with show/hide on scroll

Sticky header with show/hide on scroll

Comments
1 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
How to set up the project properties for Source Generators

How to set up the project properties for Source Generators

Comments
2 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
Old/New Dynamic SQL Cheat Sheet

Old/New Dynamic SQL Cheat Sheet

1
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
Code Snippets with Gist

Code Snippets with Gist

1
Comments
1 min read
Destructuring Tweets - Episode 8 - Timeout!

Destructuring Tweets - Episode 8 - Timeout!

1
Comments
1 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
Destructuring Tweets - Episode 5 - Comparing Arrays

Destructuring Tweets - Episode 5 - Comparing Arrays

3
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
Share Sheet UIActivityViewController within SwiftUI

Share Sheet UIActivityViewController within SwiftUI

Comments 1
2 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
PyCharm

PyCharm

1
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

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
loading...