Mon 17. March 2025 | 2025-03-17
multi cursor addons
Vim gn
cgn
: enter change mode for next occurence
/
search for word
cgn
change word
.
repeat for next word
Search navigate stuff
Thu 13. February 2025 | 2025-02-13
Install taskwarrior: https://useful-snippets.netlify.app/posts/taskwarrior/
Install Taskwarrior-tui
- https://github.com/kdheepak/taskwarrior-tui/releases/tag/v0.26.3
- Ubuntu/WSL: taskwarrior-tui-x86_64-unknown-linux-gnu.tar.gz
- extract to WSL drive
- Navigate to file
- (chmod +x taskwarrior-tui)
- Run
./taskwarrior-tui
Wed 29. January 2025 | 2025-01-29
1. Hovedpunkt
1. subpunkt
2. subpunkt2
- Hovedpunkt
- subpunkt
- subpunkt2
https://markdownlivepreview.com/
Thu 16. January 2025 | 2025-01-16
Match ett ord
Search replace capture group
for รฅ replace
- export default Component;
+ export { Component }
Kan man kjรธre
Search export default (\w+)
Replace export { $1 }
Se pรฅl-notater for mer...
Newline i search replace
search replace kan legge til newline med \n
Mon 16. December 2024 | 2024-12-16
Naviger til commits pane
Ctrl l
"Toggle show whole git graph"
https://github.com/jesseduffield/lazygit/issues/3845
Lazygit config
https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md
git.showWholeGraph
Command used when displaying the current branch git log in the main window
branchLogCmd: git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium --
git.branchLogCmd
Mon 21. October 2024 | 2024-10-21
git ls-files -u | sed -n 's,3\t,0\t,p' | git update-index --index-info
git checkout-index -af
https://stackoverflow.com/questions/73388057/in-git-after-merging-some-files-i-want-to-accept-all-theirs-that-are-left-in?rq=3
Sun 29. September 2024 | 2024-09-29
import {ComboboxItem, NativeSelect, Select} from '@mantine/core';
<Select
id={'Flavor'}
onDropdownOpen={() => {
debugger;
}}
/>
Fri 06. September 2024 | 2024-09-06
<strong>Boolean value</strong>: <br/>
{String(booleanValue)}
Fri 23. August 2024 | 2024-08-23
WSL ubuntu
lsb_release -a
Windows Command Prompt
wsl --version
Mon 20. May 2024 | 2024-05-20
git reflog
copy hash (ex: 56e2f8f)
git checkout main/develop
git merge 56e2f8f
Fri 03. May 2024 | 2024-05-03
Unzip
which unzip
sudo apt-get install unzip
unzip file.zip
Mon 11. March 2024 | 2024-03-11
sudo chmod 0775 -R mappe/