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
# Prompt Theme | |
Set-PoshPrompt -Theme R:\personal-environment\scripts\powershell\custom-theme.json | |
Remove-Alias cd | |
# Modules | |
Import-Module npm-completion | |
Import-Module Terminal-Icons | |
Import-Module PSReadline -RequiredVersion 2.2.0 |
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
<div *ngFor="let elementOfArray of someArray; let i = index"> | |
<a (click)="arrayOfFunctionsDeclaredOnComponent[i]()">{{ elementOfArray }}</a> | |
</div> |
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
import java.util.Scanner; | |
class FormulaGeneral { | |
static Scanner sn = new Scanner(System.in); | |
private static double askNumber(String question) { | |
double userInput = 0; | |
while (true) { | |
System.out.print(question); | |
try { |