Skip to content

Instantly share code, notes, and snippets.

View viktorsml's full-sized avatar
🧔
hello there

Victor Samuel viktorsml

🧔
hello there
View GitHub Profile
@viktorsml
viktorsml / Microsoft.PowerShell_profile.ps1
Last active September 2, 2023 09:57
Custom PowerShell Profile
# 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
<div *ngFor="let elementOfArray of someArray; let i = index">
<a (click)="arrayOfFunctionsDeclaredOnComponent[i]()">{{ elementOfArray }}</a>
</div>
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 {