Move up/down in results - ctrl+j
and ctrl+k
Open file in vertical split - ctrl+v
Open file in horizontal split - ctrl+x
Open file in new tab - ctrl+t
#!/bin/sh | |
# Author: Dzintars Klavins | |
# This script will install Protoc compiler | |
# Don't forget to make this file executable | |
################################### | |
# Protocol Buffers installation # | |
################################### |
#!/bin/sh | |
# Author: Dzintars Klavins | |
# This script will setup GitHub with multiple SSH identities | |
# Don't forget to make this file executable | |
# Setup multiple SSH identities for different Git accounts (with different credentials) | |
# Empty content of file | |
> ~/.config/Code/User/settings.json | |
# Place configuration in file. |
#!/bin/bash | |
# Author: Dzintars Klavins | |
# This script will delete all network connections and devices. | |
# WARNING!!! Network connection will be lost! | |
# Delete all existing connections. | |
# All credits to: https://www.rene-pickhardt.de/index.html%3Fp=1955.html | |
for i in `nmcli c | \ | |
grep -o -- "[0-9a-fA-F]\{8\}-[0-9a-fA-F]\{4\}-[0-9a-fA-F]\{4\}-[0-9a-fA-F]\{4\}-[0-9a-fA-F]\{12\}"` ; \ |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: jenkins | |
labels: | |
app: jenkins | |
spec: | |
restartPolicy: Always | |
containers: | |
- name: jenkins-server |
To avoid ../../../../../../filename.ts
garbage in the source code you can use Typescript Path Aliases.
This approach not only cleans up your imports but also helps when making refacoring and moving packages/modules around.
No matter where you will place your package, all imports allways will be resolvable.
But this is not enought at runtime. For example if you want to run WebPack dev-server. By default webpack does not know how to resolve those imports. You need to tweak WebPack config
Other resources:
[UPDATE] by Dzintars Klavins @ 2023-05-15
These instructions is no more quite accurate. Current setup is much more simpler. Probably I will update these instructions at some point.
[WIP] by Dzintars Klavins @ 2021-08-28
These instructions is written for myself as an reminder guide. It is higly possible that they are wrong, outdated, un-maintained.
Set WshShell = CreateObject("WScript.Shell") | |
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) | |
Function ConvertToKey(Key) | |
Const KeyOffset = 52 | |
i = 28 | |
Chars = "BCDFGHJKMPQRTVWXY2346789" | |
Do | |
Cur = 0 | |
x = 14 |