You can pop out YouTube video to a just a frame without any clattering UI. It is useful if you want to have it like a fullscreen but on the the part of the screen. So the feature called Picture-in-Picture, and you right-click on the video 2 (TWO) times it will show you browser’s context menu and click on Picture-in-Picture option. Chrome.
Write a bash one-liner to extract a list of developers from a git repository for the last 3 months.
Here’s a bash one-liner that will extract a list of developers from a Git repository for the last 3 months:
git log --since='3 months ago' --pretty=format:'%an' | sort | uniq
Explanation:
git log: This command shows the commit history of the repository.--since='3 months ago': This option limits the log output to commits made in the last 3 months.--pretty=format:'%an': This option specifies the format for each log entry. The %an placeholder prints the name of the author of each commit.sort | uniq: These commands sort the list of authors and remove duplicates, respectively, to show only unique names.
ChatGPT of course.
I wonder if we enable accessibility for blind people and feed the output to GPT-3 would it able to use it?
🌸 Thu, Feb 9, 2023 🌸
Humans! Just be nice to each other.
🌸 Wed, Feb 8, 2023 🌸
TIL; C-u M-| You can pipe selected text in Emacs to the command line. For example if you want to sort lines, select lines you want to sort and type C-u M-| sort RET. Or you want to pretty-format XML file. Select whole file and C-u M-| xmllint --format - RET
🌸 Tue, Feb 7, 2023 🌸
Just a reminder: early returns can make the code more readable and easier to follow. They can also improve performance by avoiding unnecessary execution. It’s a good programming practice to use early returns in your code.
🌸 Mon, Feb 6, 2023 🌸
I just learned that ChatGPT does not know about time, but it does know about date, which are based on UTC time, because it was telling me 5 minutes ago that it was February 6th, and now it is telling me that it is February 7th.
🌸 Sun, Feb 5, 2023 🌸
Add AutoPossessAI = EAutoPossessAI::PlacedInWorldOrSpawned; in your Mob or NPC constructor to automatically create AIController.
🌸 Fri, Feb 3, 2023 🌸
Free CC0 low-poly assets: https://quaternius.com/index.html
🌸 Wed, Feb 1, 2023 🌸
Ideas for prompts to Stable Diffusion: super kawaii, Cute Chubby 3D Model, desktop wallpaper
Apparently, it is not good to overfeed your smartphone. Just keep battery charge around 50%.
Yesterday I got two endings in Detroit: Become Human. Not sure what I am learning from this game, it gives a fatalistic feeling, no matter what you choose the end result is kind of the same.
It is raining again. Unbelievable.
My game did terribly at LD52. I have managed to get an overall score of 2.6. I don’t understand anything about game development. I think I should quit and become a truck driver.
How to get list of env variables of the specific process:
cat /proc/19457/environ | tr '\0' '\n'
How to setup transformer by huggingface
conda create --prefix /media/mika/Michigan/prj/bloom
conda activate /media/mika/Michigan/prj/bloom
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
pip install transformers[torch]
cd /media/mika/Michigan/prj/
mkdir bloomenv
cd bloomenv/
python -m venv .env
source .env/bin/activate
pip install transformers[torch]
python -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('we love you'))"
mkdir -p /media/mika/Michigan/huggingface
ln -s /media/mika/Michigan/huggingface ~/.cache/
Command line to run stable diffusion
conda activate ldm1
cd ~/prj/stablediffusion/
while read line; do echo === $line ===; if [[ $line == "q" || $line == "quit" || $line == "exit" ]]; then break; fi; for (( i=0; i<3; i+=1 )); do python scripts/txt2img.py --prompt "Based on very cute 3d art \"$line\" /r/MemeEconomy" --seed $RANDOM --ckpt ~/Downloads/v2-1_768-ema-pruned.ckpt --config configs/stable-diffusion/v2-inference-v.yaml --H 768 --W 768; done >> log.txt 2>&1; done < /dev/stdin
If you have multiple GPUs DXVK may become confused and your windows games on your steam may stop working. To fix it you can force DXVK with the following env varibale.
DXVK_FILTER_DEVICE_NAME="3090" steam
To get the list of GPUs and names you can use vulkaninfo command. You can use partial names it will work. More info here: https://github.com/doitsujin/dxvk/blob/master/README.md#device-filter
How to test write speed of your hard drive of Linux
sync; dd if=/dev/zero of=speedtest bs=1M count=4096; sync; rm speedtest
Unreal Engine tip: Use the Move Render Queue, it generates better quality movies instead of Render Movie.
How to give to the flatpack application access to the external drive?
flatpak override --user --filesystem=/media/mika/Michigan no.mifi.losslesscut
Me: what the difference between aww and aw?
ChatGPT: “AWW” and “AW” are informal expressions that are used to express various emotions in written communication.
“AWW” is typically used to express feelings of sympathy, compassion, or endearment. For example, someone might use “aww” to express sympathy for a person who is going through a difficult time, or to express endearment for a cute or adorable animal or child.
“AW” is often used to express mild surprise or disappointment, it’s also used to express admiration or appreciation, or as an expression of agreement or validation. Like “AW that’s really cool” , “AW I see” or “AW, yeah!”
Tags: #AWWvsAW #DifferenceBetweenAWWandAW
Previous - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27 - 28 - 29 - 30 - 31 - 32 - 33 - 34 - 35 - 36 - 37 - 38 - 39 - 40 - 41 - 42 - 43 - 44 - 45 - 46 - 47 - 48 - 49 - 50 - 51 - 52 - 53 - 54 - 55 - 56 - 57 - 58 - 59 - 60 - 61 - 62 - 63 - 64 - Next