GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.
For more information, visit our search help section.
GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.
For more information, visit our search help section.
Tips apply globally with a few adjustments depending on the hemisphere. Here's how you can recognize latitude and longitude anywhere:
-90° to 90°
0° to 90°
) → e.g., Vietnam, USA, Europe0° to -90°
) → e.g., Australia, ArgentinaIn useSWR
, both isLoading
and isValidating
represent states of the data-fetching process, but they serve different purposes:
true
only when there is no cached data and the fetch is in progress.false
once data is fetched or available in the cache.Refs:
// Init new db
// If the database file does not exist, it is created
// This happens synchronously, which means you can start executing queries right away
const Database = require('better-sqlite3');
package vn.ric.dragon.domain; | |
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | |
import jakarta.persistence.*; | |
import jakarta.validation.constraints.*; | |
import java.io.Serializable; | |
import java.time.Instant; | |
import org.hibernate.annotations.Cache; | |
import org.hibernate.annotations.CacheConcurrencyStrategy; | |
import org.springframework.data.domain.Persistable; |
Tested on Ubuntu Server 18.04, 20.04
Swap
is a portion of hard drive storage that has been set aside for the OS to temporarily store data that it can no longer hold in RAM.
It is believed that placing swap partitions on an SSD drive is not advisable, as it may harm the device. Actually, the write-cycle on modern SSDs is good enough that you'll likely replace the drive before it becomes a problem. Read this Reddit post, these AskUbuntu [one](https://askubuntu.com/questions/652337/why-are-swap-partitions-discouraged-on-ssd-drives-a
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link | |
rel="stylesheet" | |
href="https://cdn.jsdelivr.net/npm/water.css@2/out/dark.css" | |
/> | |
<title>Beautiful Sample Page</title> |