Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| // See how it's works using: gcc -S get-function-size.c -o get-function-size.s | |
| // To manually check function size: objdump -d get-function-size | |
| #include <stdio.h> | |
| #define DECLARE_FUNCSIZE(funcname) \ | |
| extern unsigned int funcname##_funcsize; \ | |
| asm(#funcname "_funcsize: .long . - " #funcname "\n\t") | |
| #define FUNCSIZE(funcname) \ | |
| funcname##_funcsize |
This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.
Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4
The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.
| #EXTM3U | |
| #EXTINF:-1,BBC - Radio 1 | |
| http://as-hls-ww-live.akamaized.net/pool_01505109/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8 | |
| #EXTINF:-1,BBC - Radio 1Xtra | |
| http://as-hls-ww-live.akamaized.net/pool_92079267/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8 | |
| #EXTINF:-1,BBC - Radio 1Dance | |
| http://as-hls-ww-live.akamaized.net/pool_62063831/live/ww/bbc_radio_one_dance/bbc_radio_one_dance.isml/bbc_radio_one_dance-audio%3d96000.norewind.m3u8 | |
| #EXTINF:-1,BBC - Radio 1 Anthems (UK Only) | |
| http://as-hls-uk-live.akamaized.net/pool_11351741/live/uk/bbc_radio_one_anthems/bbc_radio_one_anthems.isml/bbc_radio_one_anthems-audio%3d96000.norewind.m3u8 | |
| #EXTINF:-1,BBC - Radio 2 |
| #!/bin/bash | |
| # set -eux | |
| # This a simple script that builds static versions of Python and LibPython using musl-libc | |
| # Find the associated article at: http://general-purpose.io/2015/12/06/compiling-python-and-libpython-statically-using-musl-libc/ | |
| WORKING_DIR="/code/static-python" | |
| MUSL_PREFIX="/code/static-python/musl" | |
| PY_PREFIX="/code/static-python/python" |