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
1) Install VB on Windows | |
https://www.virtualbox.org/wiki/Downloads | |
2) Create a new VM Machine: | |
https://fedoramagazine.org/install-fedora-virtualbox-guest/ | |
amount of space: 250GB | |
RAM: with 32GB I gave it half - circa 16GB | |
After creating a new machine, right click on it and choose to display "Settings". | |
In "Storage" add Fedora Workspace ISO file to "Controller IDE". |
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
More info here: https://docs.brew.sh/Homebrew-on-Linux | |
1) Installation script installs Homebrew: | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" | |
When instalation ends, you'll see next steps: | |
2) sudo dnf groupinstall 'Development Tools' | |
3) eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) |
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
1) Stwórz katalog o nazwie 'bin' w katalogu domowym | |
2) Teraz, jeżeli skrypt był zapisany wczesniej w pliku z jakimkolwiek rozszerzeniem (w tym wypadku .txt) | |
trzeba go przepisać na plik bez rozszerzenia. | |
Jeżeli wcześniej wejdziemy do folderu, w którym znajduje się skrypt to wystarczy podac jego nazwę bezpośrednio. | |
mv <nazwa-skryptu> ~/bin/<nowa-nazwa-skryptu> | |
Jeśli natomiast nie jesteśmy w folderze z tym plikiem, to nalezy podac do niego ścieżkę bezwzględną. | |
mv <ścieżka-do-skryptu> ~/bin/<nowa-nazwa-skryptu> |
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
More info here: | |
https://github.com/robbyrussell/oh-my-zsh | |
1) Install zsh: | |
sudo dnf install zsh | |
2) Install zsh as the main shell (from Basic Installation) | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
3) To make sure it's installed correctly and added as the main shell check /etc/passwd file: |
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
Solution here: https://superuser.com/questions/1394044/fedora-kde-29-random-directories-in-home-directory/1394355 |
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
To prepare a list of VisualStudioCode extensions on the Fedora 29 system invoke the console: | |
ls ~/.vscode/extensions/ > ~/extensions | |
The file with extensions will be saved in the Home Catalog. | |
List of extensions for Vikijob: | |
angular.ng-template-0.1.11 | |
christian-kohler.path-intellisense-1.4.2 |
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
1) HTML: | |
<!-- New case --> | |
<div class="container card"> | |
<div class="card-body"> | |
<div class="row"> | |
<div class="col-12"> | |
<ngb-tabset class="new-case-details-tabset"> | |
<ngb-tab title="Widok formularza sprawy"> |
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
Install Angular Toastr - follow steps described here: | |
https://github.com/scttcper/ngx-toastr | |
https://scttcper.github.io/ngx-toastr/ | |
1) To display a message for the User you need create a private 'toast.service'. Example here: | |
import { Injectable } from '@angular/core'; | |
import { ToastrService } from 'ngx-toastr'; | |
// If we would like to show error connected with http response: import { HttpErrorResponse } from '@angular/common/http'; | |
@Injectable() |
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
You need to declare APP_BASE_HREF in your app - more info on this here: | |
https://angular.io/api/common/APP_BASE_HREF | |
I added this in the 'app.module' | |
providers: [{ provide: APP_BASE_HREF, useValue: '/' }], | |
You can also add it directly in the test file, also as providers. |
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
https://stackoverflow.com/questions/37448491/angular-2-typescript-an-implementation-cannot-be-declared-in-ambient-contexts | |
And here: | |
https://basarat.gitbooks.io/typescript/content/docs/types/ambient/d.ts.html | |
What worked for me: | |
1) Find: ode_modules/@ngrx/store/src/store_module.ts | |
2) Removed '.d' from store_module.d.ts -> when I did this the project didn't compile :P | |
2) Then I added the '.d' again and everything worked :) |
NewerOlder