Karlygash Yakiyayevakarlygash-yakiyayeva.dev·Apr 8, 2024Formatting & Mounting Storage Volumes in LinuxPhysical storage devices (hard disk, SSD, floppy disk, etc.) are the actual hardware components that store data. A single physical storage device can be divided into multiple smaller usable sections, each acting as a separate volume. Hard Disk 1 an...Discuss·35 readsLinuxdisks
Slawomir Moriakslamcode.hashnode.dev·Jan 2, 2024Resources to types with 'infer'Learn how you can make any string-based resource into a TypeScript type, and make the compiler do the hard work of checking the data for you. The magic of pattern matching in conditional types with the help of infer keyword is the topic for today. Ca...DiscussTypescript magicTypeScript
Tug Gralltgrall.hashnode.dev·Dec 21, 2023Java: Using MessageFormat to Generate JSONAs developers, we often encounter situations where we need to generate a JSON string for debugging purposes, especially when dealing with REST services. While frameworks like Spring Boot or Quarkus typically handle this task seamlessly, there are ins...DiscussJava
Davide Bellonecode4it.hashnode.dev·Nov 10, 2023Pre-commit hooks with Husky.NET - build, format, and test your .NET application before a Git commitIf you need to run operations before completing a Git commit, you can rely on Git Hooks. Git hooks are scripts that run automatically whenever a particular event occurs in a Git repository. They let you customize Git's internal behaviour and trigger ...Discuss·64 readsGit
Arpitha Rajeevarpitha-rajeev.hashnode.dev·Aug 18, 2023Core Python: Part 7Check out the previous part: Core Python: Part 6 Strings They are the ordered collection of values of characters. 'hello', and 'he123' are collections of the characters 'h', 'e', 'l', 'l', 'o' and 'h', 'e', '1', '2', '3'. They can be indexed, negativ...Discuss·3 likes·45 readsCore PythonStrings
The Murphthemurph.hashnode.dev·Aug 3, 2023Configure Black in PycharmBlack is an uncompromising opinionated formatter for Python. The formatter is widely used in the industry and unlike many formatters, especially those in the JavaScript world, it doesn't have very many overrides available. One of the main overrides y...Discuss·178 readsPython
Fullchee Zhangfullchee.hashnode.dev·Jul 21, 2023Python Splatting *("-s", "1")Why do something like this? subprocess.check_call( ( "git", *("-c", "protocol.version=2") *("--depth", "1"), ) ) Because the black formatter will format it like this which is less readable subprocess.check_call( (...Discuss·40 readsPython
Adarsh Dubeyblog.adarshdubey.com·Jul 1, 2023Seamless Code Formatting: Setup ESLint, Prettier, Husky & Lint-staged for ReactJSWhy is code formatting important? Code formatting and enforcing a specific code style are important for many reasons such as the readability of a codebase, collaborating on a project, doing better code reviews, etc. But the main reason I decided to s...Discuss·20 likes·261 readsWeb Developmenteslint
Shivank Mitrashivankjshacker.hashnode.dev·Apr 19, 2023Clean JavaScript: A Quick Guide to Better Code QualityWriting cleaner and more understandable code is essential, whether you are working on a project as a team, or just in general if someone wants to review your code. I'll list several hacks that have helped me write clean and maintainable code. Just to...Discuss·95 readsJavaScript GuideJavaScript
Satyapriya Mahatosatyapriya-mahato.hashnode.dev·Apr 14, 2023HTML formatting elements and Global attributesIntroduction Till now we know about HTML tags and attributes. Now in this blog, we will explore global attributes and formatting. Formatting elements are those elements that were designed to display special types of text. Formatting Commenting in HTM...Discuss·27 readsHTML5