Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 50
  1. Couple of months ago when I read the post How I hacked my clock to control my focus by Marc Päpper, It quickly became a daily driver for me.

  2. I have been using pass for a while to avoid credentials being saved into CLI history.

  3. For all of my JavaScript projects, I depend on the npm version command to update the version number for generating a release.

  4. In this blog post we will explore how to pass the options/values from the build to the project’s Zig code.

  5. Provenance statements are a way to establish where a package was built and who published a package, which can increase supply-chain security and transparency for the packages.

  6. As most of the CLI tools/JavaScript frameworks started collecting telemetry data by default, I started looking into how I could easily opt out from these.

  7. As a person coming from a Ruby on Rails background, I prefer ActiveRecord pattern to DataMapper.

  8. The simple way to center a flex item is using center for justify-content or align-content.

  9. In this blog post, we will explore into how a PWA can receive files or text from the navite OS share functionality.

  10. When working with webassembly (wasm) we only have numeric values.

  11. As more and more JavaScript runtimes become popular, and each runtime has some subtle differences in how modules/functions behave, if we want to support our JavaScript code in these runtimes, we should be able to detect the runtime.

  12. While working with @fedify/fedify today, I came across a bug where the .well-known/webfinger route was returning 404.

  13. Visualize different string normalization forms using string-normalize.surge.sh/?

  14. In this blog post, I will show you how to read from stdin in a GTK application written with gjs.

  15. Recently I wanted to write a small GTK utility for personal use, and I was looking into writing it in TypeScript.

  16. CSS @property allows developers to define variables with type checking and constraining, initial value and inherit rules.

  17. Git is more than just adding files and storing them.

  18. Consider a simple function draw which can expect and enum for the type of the shape needs to draw as first argument and dimensions object as second argument. const SHAPE_TYPES = { CIRCLE: 'CIRCLE', SQUARE: 'SQUARE', TRIANGLE: 'TRIANGLE', } as…

  19. When using CommonJS module system, we can jest.mock to mock the modules or functions. with jest.mock the mock statement will be hoisted automatically so we don’t need to worry about the import orders.

  20. Yesterday I thought of putting together my recent learning’s about ANSI escape codes and zig.

  21. In this blog post, we will look into using ANSI escape sequences to give colors for the terminal outputs in Gren Lang.

  22. Recently, when I pushed some gren-lang code to GitHub, it was missing the syntax highlighting.

  23. In my previous blog post, we discussed adding fuzzy search for curl options using fzf.

  24. Curl has more than 200 CLI options, and using classic autocomplete is not a great way to find those options.

  25. In this post, we will look into writing a test case for file upload using the React testing library Select accepted file type In order to simulate file upload in test case, we will be using upload method from @testing-library/user-event. upload method will

  26. When using axios with TypeScript, one major problem we face is the types for the response data and error data.

  27. As of now jest matcher toThrow help us to match only the Exception class or the error message.

  28. To make the eslint issues more visible on pull requests, especially the warnings, we used to add comments on PR as part of our review process.

  29. In JavaScript, String.length does not represent the count of characters.

  30. This post explains a simple GitHub action to deploy your frontend app to surge for each pull request created.

  31. Some web applications, especially certain banking applications won’t allow you to copay and paste the text into input forms.

  32. By default, the param name for the member resources like :show, :update, :delete etc are id.

  33. The first step to using SSL on local development is to generate a self-signed certificate on our development machine.

  34. Recently I came into a situation where I want to migrate one database to another.

  35. As of now, Heroku doesn’t support auto-deploy from GitLab.

  36. Part 1 of this post is available at designing better component api - UI Part 2 : For Functional / Large UI components In part 1 we discussed the API for primitive UI components.

  37. A good api has a huge impact on the productivity of the team and stability of the product.

  38. 1.

  39. Please note this blog post drafted long back and might be outdated. please notify me if you see any issues.

  40. We tend to use different external libraries for various purposes.

  41. Last couple of months in my free time I was working on a small Android app by learning react native.

  42. Install wireguard on FireTV

    WireGuard is a moden next gen VPN which utilizes cryptography.

  43. Owning the content

    Photo by Kelli McClintock on Unsplash.

  44. There are a lot of ways you can be a responsible developer.

  45. Most of the social apps now come with features called personalised feed or personalised experience.

  46. I was searching for a height adjustable standing desk for my personal use.

  47. Github revolutionized how we contribute to Open Source.

  48. ELM : Fetching data with XHR

    This post will explain how to use elm/http package to fetch data using XHR requests in ELM applications.

  49. Setting up dangerjs

    Ever felt like you are repeating the same comment over and over in many PR’s during the code review?

  50. When jest introduced snapshot tests we were very eager to try out. we were using snapshot for most of the components and soon enough we have to make a decision that we no longer do snapshot tests.