You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have a client with a website. Client wants to add new feature or fix some bug.
Initial analysis
Listen carefully what client needs
Describe current logic that we need to modify. If logic is complex draw scheme on the sheet of paper. Don't describe details yet, forget about table names, class' names on this step.
With the addition of ES modules, there's now no fewer than 24 ways to load your JS code: (inline|not inline) x (defer|no defer) x (async|no async) x (type=text/javascript | type=module | nomodule) -- and each of them is subtly different.
This document is a comparison of various ways the <script> tags in HTML are processed depending on the attributes set.
If you ever wondered when to use inline <script async type="module"> and when <script nomodule defer src="...">, you're in the good place!
Note that this article is about <script>s inserted in the HTML; the behavior of <script>s inserted at runtime is slightly different - see Deep dive into the murky waters of script loading by Jake Archibald (2013)
Docker compose is a tool that is used for defining and running multi-container Docker apps in an easy way.
It provides docker-compose.yml configuration file that can be used to bring up an app and the suite of services it depends on
with just one command.
docker compose up - start all services from docker-compose.yml
docker compose up db - start only service db
docker compose up --build - rebuild all images and run containers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a Package.swift file in your root project directory, add dependencies, then run swift package fetch on the command line in the same directory. We’re not going to run swift build because it will just complain.
Install and configure LetsEncrypt on Ubuntu Server 14.04 & 16.04 (Apache)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simple profanity filter written in Java for efficient comparison. Runtime grows based on string input, not list size.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters