Skip to content

Instantly share code, notes, and snippets.

View gccore's full-sized avatar

Ghasem Ramezani gccore

View GitHub Profile
@gccore
gccore / SFArabicRounded-Regular.ttf
Last active October 3, 2023 11:01
Testing Fonts
�pFFTM�p=��<GDEF�����(�GPOS���΀�GSUB��v��4�OS/2��Y�x`cmap�}�D�gasp��� glyfe
Y�2�(head`^�6hheaB �4$hmtx�w��lloca��,pmaxp�X namek�~4� post�}��L�KO���_<����(���9�r xM�� ��9� x��@� �3��3��N�� C� APPL@ �����@H� di�o�D�����k�������>s��
> [-
Ty = �=�|�t�t�I����u���svq�}.m������������a�/�
\�]Z'���������"��1]�_1]1]III�X�X�������]�] :] :]�=�=�I�I�]�]�4��2��E]�]y]] g�]�_����]�]��������P������zz��ZQA*]�]�cDd�0�W�V;������5�1]�]���������������������]1]1]1]1]1]1]1]1]IIIIIII�X�X�X�X�X�X�X�X�X����������������������������]�]�] :] :]�=�IE]E]E]E]E]E]�]�]�]
=�]y]y]y]�]�]�]�]�]�]]]]]�]�]�]�]�]a=I�_�_�_�_�������������������������]��E�4����]�]]]�n�_�|���3� h�-�����S��L���d������X���QA*]�]z]�dq��W�V;�] :]�IZ' ga=1
# dashed separator size
function afmagic_dashes {
# check either virtualenv or condaenv variables
local python_env_dir="${VIRTUAL_ENV:-$CONDA_DEFAULT_ENV}"
local python_env="${python_env_dir##*/}"
# if there is a python virtual environment and it is displayed in
# the prompt, account for it when returning the number of dashes
if [[ -n "$python_env" && "$PS1" = *\(${python_env}\)* ]]; then
echo $(( COLUMNS - ${#python_env} - 3 ))
@gccore
gccore / SysInfo.txt
Created September 11, 2024 17:34
My System Information
System:
Kernel: 6.10.9-arch1-2 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: acpi_pm parameters: BOOT_IMAGE=/vmlinuz-linux
root=UUID=4280d21f-f726-4a6b-9c82-5df1cdec000f rw loglevel=3
nvidia_drm.modeset=1 splash quiet plymouth.nolog
Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A info: frameworks v: 6.5.0
wm: kwin_wayland with: krunner vt: 1 dm: SDDM Distro: Arch Linux
Machine:
Type: Laptop System: HP product: Victus by HP Gaming Laptop 16-r1xxx
v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10