- Windows Terminal (Windows Store)
- Windows Subsystem Linux 2 (Ubuntu) (Windows Store)
- Visual Studio Code (https://code.visualstudio.com/)
- Google Chrome (https://www.google.com/chrome/)
- Slack (https://slack.com)
- 7z (https://www.7-zip.org/download.html)
- XMeters (https://entropy6.com/xmeters/)
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
#SingleInstance | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
XButton1::^#Right ; Go to next desktop | |
XButton2::^#Left ; Go to previous desktop | |
^!t::run, wt ; Open windows terminal |
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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}", | |
"profiles": [ | |
{ | |
// Make changes here to the powershell.exe profile | |
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
"name": "Windows PowerShell", |
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
find src -name "*.jsx" -exec sh -c 'mv "$0" "${0%.jsx}.js"' {} \; |
- Do not leave
console.log
in your code unless it needed (for debugging in production). - Always remove unuseful comments.
- Always provide Interface for both http request and response.
- Avoid using namespace if possible.
- Always remove unused imports.
- Consider using separated component instead of inheritence (and configure it via
Input
or route data). - Limit usage for
environment.ts
to only inapp.module.ts
(useInjectionToken
), this make your module flexibilty to move later in the future. - Consider configuring your api endpoint and default content type in
HttpInterceptors
instead of handling manually in services or components.
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
# Comfortable Swipe converts touchpad swipe gestures to keyboard commands. You | |
# may edit this configuration file if you have different keyboard shortcuts | |
# that you would like to use. You can ignore a gesture by commenting out with | |
# a pound(#) symbol. | |
# | |
# Refer to https://www.linux.org/threads/xdotool-keyboard.10528/ for a list of | |
# keycodes you can use. | |
################# | |
# MISCELLANEOUS # |
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
go build -gcflags "-m -m" | |
go test -gcflags "-m -m" -run none -bench BenchmarkLiteralFunctions -benchmem -memprofile mem.out | |
go tool pprof -alloc_space memcpu.test mem.out | |
go test -run none -bench . -benchtime 3s -benchmem -memprofile mem.out | |
go test -run none -bench AlgorithmOne -benchtime 3s -benchmem -memprofile mem.out |
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
@Component({ | |
selector: 'my-wrapper', | |
template: '<input ngDefaultControl>', | |
providers: [ | |
{ | |
provide: NG_VALUE_ACCESSOR, | |
useExisting: forwardRef(() => NumberInputComponent), | |
multi: true, | |
}, | |
], |
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
<?php | |
/** | |
* Created by: pckofstad | |
*/ | |
$GITLAB_CI_TOKEN= | |
$REPO = "{user}/{project} | |
$REGISTRY_ID = 11111; // only way i found this was to inspect the calls done from the webpage | |
$TAGS_TO_WHITELIST = ['dev', 'master']; |
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
{ | |
"$schema": "http://json.schemastore.org/prettierrc", | |
"parser": "typescript", | |
"printWidth": 100, | |
"semi": true, | |
"singleQuote": true, | |
"tabWidth": 2, | |
"useTabs": false | |
} |