DEV Community

loading...

# snippet

👋 Sign in for the ability sort posts by top and latest.
GZIP on the Browser

GZIP on the Browser

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

Django logging - forget about 'print' when debugging

Reactions 7 Comments
3 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
Destructuring Tweets - Episode 13 - Let's Construct

Destructuring Tweets - Episode 13 - Let's Construct

Reactions 6 Comments
4 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 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 4 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 6 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 20 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 7 Comments
1 min read
Simple tag trait for Laravel models

Simple tag trait for Laravel models

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

Identify models using their name with Laravel

Reactions 8 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 7 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 8 Comments 1
3 min read
List all files changed in last commit

List all files changed in last commit

Reactions 2 Comments
1 min read
Check if type exists in MSSQL

Check if type exists in MSSQL

Reactions 5 Comments
1 min read
Modify your last commit message

Modify your last commit message

Reactions 3 Comments
1 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
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
Simple snippet to make Node's built in modules globally accessible

Simple snippet to make Node's built in modules globally accessible

Reactions 18 Comments 1
2 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?

Reactions 5 Comments
1 min read
What note/snippet app do you use?

What note/snippet app do you use?

Reactions 3 Comments 5
1 min read
Handle page unload event in nativescript-vue

Handle page unload event in nativescript-vue

Reactions 5 Comments
1 min read
JavaScript - Abbreviate Numbers

JavaScript - Abbreviate Numbers

Reactions 5 Comments
2 min read
Node.js IsDirectory

Node.js IsDirectory

Reactions 2 Comments
1 min read
Detect if JS is running under Node

Detect if JS is running under Node

Reactions 4 Comments
1 min read
SQL Join Memento

SQL Join Memento

Reactions 6 Comments
3 min read
Horrible Snippet - Updating an Nested Array With The Spread Operator

Horrible Snippet - Updating an Nested Array With The Spread Operator

Reactions 6 Comments
1 min read
Horrible Howto - Get that Middle Initial

Horrible Howto - Get that Middle Initial

Reactions 8 Comments
1 min read
Anchor links in Mithril.js

Anchor links in Mithril.js

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

Easy URL Parsing using the DOM

Reactions 15 Comments 3
1 min read
loading...