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
<div class="container"> | |
<div class="loader"></div> | |
</div> | |
.container { | |
width: 350px; | |
height: 350px; | |
border-radius: 100%; | |
margin: 60px; | |
background: linear-gradient(165deg, rgba(255,255,255,1) 0%, rgb(220, 220, 220) 40%, rgb(170, 170, 170) 98%, rgb(10, 10, 10) 100%); |
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
/** | |
* Required changes to @types/pdfjs-dist/index.d.ts | |
* Add at the start `/// <reference path="web/pdf_viewer.d.ts" />` | |
*/ | |
import { PDFDocumentProxy, PDFPageProxy, PDFPageViewport, PDFRef, TextContent } from 'pdfjs-dist'; | |
export const enum ZoomScale { | |
AUTO = 'auto', | |
PAGEHEIGHT = 'page-height', |
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
cat > plik1 - utworzenie pliku | |
cat >> plik1 - dołączenie zawartości | |
cp -r test1/* test2 - całej zawartości | |
mv test1/* test2 | |
chmod a+x skrypt.sh - prawa wykowyania sla wszystkich uzytkownikow | |
groupadd gr1 - utworzenie nowej grupy | |
groupmod –n gr_nowa gr_poprz - zmiana nazwy grupy | |
useradd –m –g gr1 user1 - utworzenie nowego użytk. | |
passwd user1 - przypisanie/zmiana hasła |
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
// Instead of selector helpers like `export const getHasError = (state: AppUIState) => state.hasError;` | |
// use this. The typing is compatible with ngrx and gives you type hinting also (just dont forget to provide generic!) | |
const fromState = <T = {[key: string]: any}>() => { | |
return (new Proxy({}, { | |
get: (target: {}, p: string | number | symbol) => (state) => state[p] | |
})) as {[key in keyof T]: (state: T) => T[key]}; | |
}; |