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
" .ideavimrc is a configuration file for IdeaVim plugin. It uses | |
" the same commands as the original .vimrc configuration. | |
" You can find a list of commands here: https://jb.gg/h38q75 | |
" Find more examples here: https://jb.gg/share-ideavimrc | |
"" -- Suggested options -- | |
" Show a few lines of context around the cursor. Note that this makes the | |
" text scroll if you mouse-click near the start or end of the window. | |
set scrolloff=5 |
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
#!/bin/bash | |
alias zcompfix='rm -rf ~/.zcomp* && exec zsh' | |
# habits making, habits breaking | |
function clear { echo "ctrl+l" ; } | |
alias lsport.who='lsof -nP -iTCP -sTCP:LISTEN' | |
alias lsport='lsof -nP -iTCP -sTCP:LISTEN' |
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
/** | |
Many times I tryed to use fuctional concepts to make the client, like Result and Either and pattern match. | |
That being said while I like Elm and functional concepts I ended up coding myself to oblivion. | |
Everything is grate as long as you don't read the absolutelly brutal TypeScript errors when using such a concepts | |
in language that's not made for it. TypeScript errors are unreadable anyway, using it with functional concepts is even worse. | |
Hence I settle for middle ground which is this code here. |
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
/** | |
* Linearly interpolates between two values (`start` and `end`) based on a given interpolation factor `t`. | |
* | |
* @param start - The starting value of the interpolation. | |
* @param end - The ending value of the interpolation. | |
* @param t - A factor between `0.0` and `1.0` that determines the weight of the `end` value. | |
* - `t = 0.0`: Returns the `start` value. | |
* - `t = 1.0`: Returns the `end` value. | |
* - `0.0 < t < 1.0`: Returns a value between `start` and `end`, weighted proportionally to `t`. | |
* - Values outside the range `[0.0, 1.0]` result in extrapolation beyond the `start` and `end` range. |
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
button { | |
-webkit-tap-highlight-color: transparent; | |
-webkit-touch-callout: none; | |
} | |
:where(h1,h2,h3) { | |
margin: 0; | |
text-wrap: balance; | |
} |
OlderNewer