winget install HandyWinget
winget install OpenJS.NodeJS.LTS
winget install Mirantis.Lens
winget install Github.cli
winget install Audacity.Audacity
winget install Microsoft.PowerShell
winget install Microsoft.PowerToys
winget install Win32diskimager.win32diskimager
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
oss.maxcdn.com | |
hiriwebsitestatic.s3.amazonaws.com |
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
takeown /F "C:\Windows.old" /A /R /D Y | |
icacls "C:\Windows.old" /T /grant administrators:F | |
rmdir /s /q "C:\Windows.old" |
- Wrapper for format and number pipes, for better maintainability
- Use projections instead of working with *ngIf in template or with methods
- Use a screenrreader as validation and in the development process
- Good accessibility is also positiv for a good HTML dom and SEO
- Respect contrast and visualize focus
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
# theming configuration | |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Set-Theme Paradox | |
# thanks to https://dev.to/ofhouse/add-a-bash-like-autocomplete-to-your-powershell-4257 | |
# improved tabbing for autocompletion | |
# Shows navigable menu of all options when hitting Tab | |
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete |
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
#!/usr/bin/env bash | |
# credits: https://github.com/containous/traefik/issues/635#issuecomment-400423859 | |
# usage: revokeCert.sh {yourDomainToRevoke} | |
# the JSON path changed a bit compared with Traefik v1 | |
set -e | |
ACME_FILE=/traefik/path/traefik/acme.json # change | |
jq -r ".default.Certificates | .[] | select(.domain.main == \"$1\").key" < $ACME_FILE | base64 --decode > /tmp/a.key |
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
// this file has to look something like this... | |
import {NgModule,} from '@angular/core'; | |
import { MyComponent } from './my.component'; | |
import { FilterPipe } from './filter.pipe'; | |
@NgModule({ | |
declarations: [ | |
MyComponent |
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
# the hash describes the commit you want to go back | |
git reset --soft <hash> | |
git commit -m "<message>" | |
git push |
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
// execute the following line in <yourjenkins>/script script console | |
// and then you can generate for every user tokens <yourjenkins>/user/<username>/configure | |
jenkins.security.ApiTokenProperty.ADMIN_CAN_GENERATE_NEW_TOKENS = true |
https://github.com/felixse/FluentTerminal
https://github.com/JanDeDobbeleer/oh-my-posh
If you get an permission error in PS:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
NewerOlder