download LTSC - https://massgrave.dev/windows_ltsc_links
easy activation - https://massgrave.dev/
Win-S
type cmd
run as administrator
slmgr /ipk key-for-your-windows-version
| <scheme name="Xcode-Dark" version="142" parent_scheme="Darcula"> | |
| <metaInfo> | |
| <property name="created">2024-04-25T19:45:44</property> | |
| <property name="ide">AndroidStudio</property> | |
| <property name="ideVersion">2023.2.1.25</property> | |
| <property name="modified">2024-04-25T19:45:53</property> | |
| </metaInfo> | |
| <colors> | |
| <option name="CARET_ROW_COLOR" value="2f3239" /> | |
| <option name="FILESTATUS_ADDED" value="c3e887" /> |
download LTSC - https://massgrave.dev/windows_ltsc_links
easy activation - https://massgrave.dev/
Win-S
type cmd
run as administrator
slmgr /ipk key-for-your-windows-version
| sudo su | |
| cryptsetup luksClose luks-part-uuid | |
| cryptsetup convert --type luks2 /dev/nvme0n1p6 # type YES and press Enter | |
| mkdir /tmp/linux | |
| cryptsetup luksOpen /dev/nvme0n1p6 linux | |
| mount /dev/mapper/linux /tmp/linux -o subvol=@ # '-o subvol=@' for btrfs only | |
| mount /dev/nvme0n1p4 /tmp/linux/boot/efi | |
| manjaro-chroot /tmp/linux | |
| grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Linux --recheck | |
| grub-mkconfig -o /boot/grub/grub.cfg |
| function checkPointsButton() { | |
| let points = document.getElementsByClassName('community-points-summary') | |
| let btn = points[0].getElementsByTagName('button')[1] | |
| if (btn !== undefined) { | |
| btn.click() | |
| console.log("points were earned") | |
| } else | |
| console.log("no points") | |
| } | |
| let interval = setInterval(checkPointsButton, 5000) |
| import androidx.compose.foundation.layout.PaddingValues | |
| import androidx.compose.foundation.layout.WindowInsets | |
| import androidx.compose.foundation.layout.union | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.platform.LocalDensity | |
| import androidx.compose.ui.platform.LocalLayoutDirection | |
| LazyColumn(contentPadding = insetsPadding { systemBars + displayCutout }) { | |
| } |
| PS1="\[\033[1;32m\[\u@\h\[\033[0m\[:\[\033[1;36m\[\w\[\033[0m\[\n$ " | |
| PROMPT='%(?.%B%F{green}√%b.%F{red}! %?)%f %B%F{cyan}%~%f%b'$'\n''%# ' | |
| PROMPT='%(?.✅.⛔ %F{red}%?%f) %B%F{cyan}%~%f%b'$'\n''%(!.😈.%(?.🙂.🥲)) ' | |
| RPROMPT='%F{235}%*%f' |
| Release Darwin x86_64 | |
| cargo build --release --bin <NAME> --target x86_64-apple-darwin | |
| Release Darwin Arm | |
| cargo build --release --bin <NAME> --target aarch64-apple-darwin | |
| Release Gnu x86_64 | |
| cargo build --release --bin <NAME> --target x86_64-unknown-linux-gnu | |
| Release Win Gnu x86_64 |
| #!/bin/sh | |
| adbpath=$(which adb) | |
| if [ -f $adbpath ]; then | |
| alias adb='adbrun' | |
| fi | |
| adbs() { # adb / adb -s ... | |
| devices=$($adbpath devices | grep -Po '.+(?=\tdevice)') | |
| # make an array | |
| devices=( $devices ) |
| typealias IteratorProducer<T> = (index: Int) -> T | |
| fun <T> MutableList<T>.addAll(count: Int, producer: IteratorProducer<T>) = addAll(collection(count, producer)) | |
| fun <T> iterable(count: Int, producer: IteratorProducer<T>) = object : Iterable<T> { | |
| override fun iterator(): Iterator<T> = iterator(count, producer) | |
| } | |
| fun <T> sequence(count: Int, producer: IteratorProducer<T>) = object : Sequence<T> { | |
| override fun iterator(): Iterator<T> = iterator(count, producer) |