There are no keys that TypeScript can guarantee belong to a value in the union type, so keyof for the union must be the empty set (never). Or, more formally:
This file contains 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
# .github/workflows/test.yaml | |
name: test | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
# Service containers to run with `container-job` | |
services: | |
# Label used to access the service container | |
postgres: |
This file contains 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
http POST https://graphqlapi.now.sh query="query { feed { id title } }" |
- https://bafybeicklkqcnlvtiscr2hzkubjwnwjinvskffn4xorqeduft3wq7vm5u4.ipfs.dweb.link/
- https://bafybeicklkqcnlvtiscr2hzkubjwnwjinvskffn4xorqeduft3wq7vm5u4.ipfs.w3s.link/
- https://bafybeicklkqcnlvtiscr2hzkubjwnwjinvskffn4xorqeduft3wq7vm5u4.ipfs.cf-ipfs.com/
- https://bafybeicklkqcnlvtiscr2hzkubjwnwjinvskffn4xorqeduft3wq7vm5u4.ipfs.4everland.io/
- https://bafybeicklkqcnlvtiscr2hzkubjwnwjinvskffn4xorqeduft3wq7vm5u4.ipfs.nftstorage.link/
dig +noall +answer TXT \_dnslink.chat.thedisco.zone
This file contains 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
use std::collections::HashMap; | |
fn main() { | |
let v: Vec<u32> = vec![10, 20, 20, 30, 38, 42, 48, 51, 62, 70]; | |
println!("vector: {:?}", v); | |
println!("mean: {}", mean(&v)); | |
// println!("median: {}", median(&mut v)); | |
println!("median: {}", median_1(&v)); | |
// println!("median: {}", median_2(v.clone())); | |
println!("mode: {}", mode(&v)); |
This file contains 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
SELECT `main`.`User`.`id`, `main`.`User`.`email`, `main`.`User`.`city`, `main`.`User`.`name`, `aggr_selection_0_Post`.`_aggr_count_posts` FROM `main`.`User` LEFT JOIN (SELECT `main`.`Post`.`authorId`, COUNT(*) AS `orderby_aggregator` FROM `main`.`Post` GROUP BY `main`.`Post`.`authorId`) AS `orderby_0_Post` ON (`main`.`User`.`id` = `orderby_0_Post`.`authorId`) LEFT JOIN (SELECT `main`.`Post`.`authorId`, COUNT(*) AS `_aggr_count_posts` FROM `main`.`Post` GROUP BY `main`.`Post`.`authorId`) AS `aggr_selection_0_Post` ON (`main`.`User`.`id` = `aggr_selection_0_Post`.`authorId`) WHERE 1=1 ORDER BY COALESCE(`orderby_0_Post`.`orderby_aggregator`, ?) DESC LIMIT ? OFFSET ? |
This file contains 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
import { Observable } from 'rxjs' | |
import 'rxjs/add/observable/of' | |
import 'rxjs/add/operator/map' | |
import 'rxjs/add/operator/merge' | |
import { createAction } from 'redux-actions' | |
export const SESSION_STORAGE_KEY = 'SESSION_STORAGE_KEY' | |
export const GET_SESSION_REQUESTED = 'payout/GET_SESSION_REQUESTED' | |
export const GET_SESSION_FOUND = 'payout/GET_SESSION_FOUND' |
This file contains 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
REVOKE ALL ON DATABASE example_database FROM example_user; | |
GRANT CONNECT ON DATABASE example_database TO example_user; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO example_user; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO example_user; |
NewerOlder