source: http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/
For more commands:
man readline- Ctrl + a – go to the start of the command line
 - Ctrl + e – go to the end of the command line
 
| import pyxel | |
| pyxel.init(100, 100) | |
| m1 = "t90 @1 o2 q8 l16 x0:7654 x1:743 x0d4x1f8d8e8fgx0f8.x1e x0d4defgx1a8ga>c8dc< f8b-8x0a2>c+efg x1a8gfe8fg fed8f8ed <b8>c+dc+dec+defab-8a8 g8f8x0g4.<x1g8f8e8 x0q7d2" | |
| m2 = "t90 @1 o1 q8 l8 x0:532 x0 f4afgaa4 f4b-4a4>g4< b-4>e4d4g4 b-d<b->c<a>daf g+de<a>a>cfe dc<bgedc+<g q7f2" | |
| m3 = "t90 @0 o1 q8 l8 v6 d2c4<b-4& b-4g4f4>e4 d4c+4<b-4a4 g4>c4<f4b4 e4agfed>c< b-ag4&gb-a4> q7d2" | |
| pyxel.sounds[0].mml(m1) | |
| pyxel.sounds[1].mml(m2) | 
| // https://x.com/tsoding/status/1897049953090068614/photo/1 | |
| //cc -o main main.c -lm && ./main | |
| #include <stdio.h> | |
| #include <math.h> | |
| #define WIDTH 30 | |
| #define HEIGHT 30 | |
| int main() { | |
| float w = WIDTH; | 
source: http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/
For more commands:
man readline| #!/usr/bin/env bash | |
| function p() { | |
| jq -n \ | |
| --arg content "$*" \ | |
| '{ | |
| "model": "pplx-7b-online", | |
| "messages": [ | |
| { | |
| "role": "system", | |
| "content": "Be precise and concise." | 
List of desktop Nvidia GPUS ordered by CUDA core count
Compute Capability from (https://developer.nvidia.com/cuda-gpus) Check the card / architecture / gencode info: (https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/)
| GPU | CUDA cores | Memory | Processor frequency | Compute Capability | CUDA Support | 
|---|---|---|---|---|---|
| GeForce GTX TITAN Z | 5760 | 12 GB | 705 / 876 | 3.5 | until CUDA 11 | 
| NVIDIA TITAN Xp | 3840 | 12 GB | 1582 | 6.1 | CUDA 8+ | 
| // main.c | |
| // https://www.youtube.com/watch?v=8nOi-0kBv2Y | |
| // gcc create_wave_file.c -o create_wave_file -lm | |
| // or clang create_wave_file.c -lm | |
| #include <math.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <stdio.h> | |
| set number | |
| color desert | |
| syntax on | |
| filetype plugin indent on | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| set expandtab | 
| #Systemd - How to read live-tail logs of multiple services with journalctl | |
| sudo journalctl --follow _SYSTEMD_UNIT=docker.service + _SYSTEMD_UNIT=apache2.service | |
| Hint: | |
| https://serverfault.com/questions/805775/journalctl-how-to-display-colors-in-its-output/893763#893763 | |
| If the original daemon output is already colorized, but the colors are being lost when using journalctl, the `--output cat` option will restore them. | 
https://www.sparkfun.com/lilypad_how_to https://learn.sparkfun.com/tutorials/choosing-a-lilypad-arduino-for-your-project https://github.com/sparkfun/LilyPad_Arduino_328_Main_Board/ https://www.instructables.com/The-Lilypad-Arduino-an-In-depth-Look/3
avrdude -v -v -v -v -C /path/to/avrdude.conf -patmega328 -P/dev/usbport -U flash:w:/path/to/firmware.hex