Sources:
https://stackoverflow.com/questions/2231546/git-see-my-last-commit
https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History
See my last commit in git:
// Auto detect text files and perform LF normalization | |
* text=auto | |
In a .gitattributes file, setting `text=auto` means that the path is marked for automatic end-of-line normalization. | |
If Git decides that the content is text, its line endings are normalized to LF on check-in. | |
This setting allows fine-grained control over how line endings are converted. | |
https://stackoverflow.com/questions/21472971/what-is-the-purpose-of-text-auto-in-gitattributes-file | |
from that SO question: |
System Settings -> Keyboard -> Layouts | |
Add a layout with the plus sign, and select the German language from the list. | |
Then you have a little flag icon in the system tray. (if in the options there are enabled using country flaf) | |
Now with a simple click You can toggle between your favourite lanuages. | |
You can check the Character Table, if you click on the language flag on the tray, | |
and click 'Show Character Table'. |
Sources:
https://stackoverflow.com/questions/2231546/git-see-my-last-commit
https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History
See my last commit in git:
https://vuejs.org/api/reactivity-utilities.html#toref | |
https://vuejs.org/api/reactivity-utilities.html#torefs | |
In Vue 3, both toRef() and toRefs() are part of the Composition API and serve different purposes: | |
toRef(): | |
Converts a single reactive object property to a ref that maintains its connection with the parent object. | |
Example: |
PHP 8.0
https://www.php.net/releases/8.0/en.php
It contains many new features and optimizations including named arguments, union types, attributes, constructor property promotion, match expression, nullsafe operator, JIT, and improvements in the type system, error handling, and consistency.
Laravel is a popular PHP web application framework known for its elegant syntax, expressive features, and robust ecosystem. | |
It provides tools for routing, database interaction, authentication, and more, making it easier to build web applications. | |
Laravel Octane, on the other hand, is an open-source package that enhances Laravel’s performance. | |
https://laravel.com/docs/11.x/octane | |
Here are the key differences: | |
Performance: |
cpu-x
(like cpu-z)
inxi -F
lshw -class disk -class storage
sudo dmidecode --type slot
In Vue 3, both ref() and reactive() are used for creating reactive data, but they have some differences in how they work and what kind of data they are best suited for. | |
ref(): | |
Atomic Values: ref() is primarily used for creating reactive references to atomic values, such as numbers, strings, booleans, or any other single non-object value. | |
Unwrapping: When you access a value created with ref(), you need to explicitly use the .value property to access the underlying value. This is because ref() wraps the value in an object to make it reactive. | |
Use Cases: Use ref() for simple, individual values that need reactivity. For example, you might use ref() for a numeric counter, a string message, or a boolean flag. |
nvm github: | |
https://github.com/nvm-sh/nvm | |
install nvm (node version manager) | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash | |
list available node versions: | |
nvm ls-remote | |
then select one, and install: |
ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does
yum install zsh -y
chsh -s /bin/zsh root