Skip to content

Instantly share code, notes, and snippets.

View max-cx's full-sized avatar

Max Leonov max-cx

  • Red Hat
View GitHub Profile
@max-cx
max-cx / git-commit-log-stats.md
Created February 6, 2025 14:35 — forked from eyecatchup/git-commit-log-stats.md
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@max-cx
max-cx / list-fftabs.py
Created September 11, 2024 09:32 — forked from tmonjalo/list-fftabs.py
List all Firefox tabs with title and URL
#! /usr/bin/env python3
"""
List all Firefox tabs with title and URL
Supported input: json or jsonlz4 recovery files
Default output: title (URL)
Output format can be specified as argument
"""
@max-cx
max-cx / gist:cb4898c97e733c021d2701f88dea19f9
Last active August 3, 2023 13:48
Installing Tempo by using the CLI

Installing Tempo by using the CLI

Prerequisites
  • An active OpenShift CLI (oc) session by a cluster administrator user. See Getting started with the OpenShift CLI.

    Tip
    Ensure that your OpenShift CLI (oc) version is up to date and matches your {product-title} version.
    1. Install the Tempo Operator:

@max-cx
max-cx / gist:06ce2c7aca11110ffdd19c8330edeb72
Last active August 3, 2023 08:48
Installing Tempo by using the OpenShift web console

Installing {TempoName} by using the OpenShift web console

Installing {TempoName} in the OpenShift web console involves installing the Tempo Operator, creating a Secret and namespace, and using the Operator to deploy a TempoStack instance in the namespace for use with the Secret.

@max-cx
max-cx / MC Cheat Sheet
Created January 3, 2023 10:54 — forked from samiraguiar/MC Cheat Sheet
Midnight Commander Cheat Sheet / Shortcuts
Note for newcomers:
In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This is a convention
used in the Midnight Commander documentation and was kept here.
You can also use "ESC" instead of "ALT", which is useful on Macbooks.
Main View
---------------------------------------------------------------
- File/directory operations
@max-cx
max-cx / README.md
Created November 25, 2022 16:03 — forked from roachhd/README.md
EMOJI cheatsheet ๐Ÿ˜›๐Ÿ˜ณ๐Ÿ˜—๐Ÿ˜“๐Ÿ™‰๐Ÿ˜ธ๐Ÿ™ˆ๐Ÿ™Š๐Ÿ˜ฝ๐Ÿ’€๐Ÿ’ข๐Ÿ’ฅโœจ๐Ÿ’๐Ÿ‘ซ๐Ÿ‘„๐Ÿ‘ƒ๐Ÿ‘€๐Ÿ‘›๐Ÿ‘›๐Ÿ—ผ๐Ÿ”ฎ๐Ÿ”ฎ๐ŸŽ„๐ŸŽ…๐Ÿ‘ป

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. โœˆ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: ๐Ÿ˜„

@max-cx
max-cx / gist:95d0da262fd09717c2bffc9aa064dde4
Created November 25, 2022 16:03 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@max-cx
max-cx / colorscheme-bars
Created November 19, 2022 13:14 — forked from jcyamo/colorscheme-bars
Script for echoing current term color values
#!/bin/sh
case "$1" in
1)
echo "
\033[0;30mโ–ˆโ–ˆ \033[0;31mโ–ˆโ–ˆ \033[0;32mโ–ˆโ–ˆ \033[0;33mโ–ˆโ–ˆ \033[0;34mโ–ˆโ–ˆ \033[0;35mโ–ˆโ–ˆ \033[0;36mโ–ˆโ–ˆ \033[0;37mโ–ˆโ–ˆ
\033[0;30mโ–ˆโ–ˆ \033[0;31mโ–ˆโ–ˆ \033[0;32mโ–ˆโ–ˆ \033[0;33mโ–ˆโ–ˆ \033[0;34mโ–ˆโ–ˆ \033[0;35mโ–ˆโ–ˆ \033[0;36mโ–ˆโ–ˆ \033[0;37mโ–ˆโ–ˆ
\033[1;30mโ–ˆโ–ˆ \033[1;31mโ–ˆโ–ˆ \033[1;32mโ–ˆโ–ˆ \033[1;33mโ–ˆโ–ˆ \033[1;34mโ–ˆโ–ˆ \033[1;35mโ–ˆโ–ˆ \033[1;36mโ–ˆโ–ˆ \033[1;37mโ–ˆโ–ˆ
\033[1;30mโ–ˆโ–ˆ \033[1;31mโ–ˆโ–ˆ \033[1;32mโ–ˆโ–ˆ \033[1;33mโ–ˆโ–ˆ \033[1;34mโ–ˆโ–ˆ \033[1;35mโ–ˆโ–ˆ \033[1;36mโ–ˆโ–ˆ \033[1;37mโ–ˆโ–ˆ
";;
@max-cx
max-cx / colorscheme-text
Created November 19, 2022 13:14 — forked from jcyamo/colorscheme-text
Script for echoing hex values of current term colors
#!/bin/bash
colors=($(xrdb -query | sed -n 's/.*color\([0-9]\)/\1/p' | sort -nu | cut -f2))
echo -e "\e[1;37m
Black Red Green Yellow Blue Magenta Cyan White
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€\e[0m"
for i in {0..7}; do echo -en "\e[$((30+$i))m ${colors[i]} \e[0m"; done
echo
for i in {8..15}; do echo -en "\e[1;$((22+$i))m ${colors[i]} \e[0m"; done
@max-cx
max-cx / .Xdefaults
Created November 4, 2022 19:40 — forked from MicahElliott/.Xdefaults
Xterm color scheme
! xterm color scheme โ€” Make all 16 beautiful.
!
! Suited for black background, but includes disabled alternative light scheme.
!
! Open this file with gvim to enable <Leader><F2> color mode.
!
! Use `xfontsel`, `xlsfonts`, and `fc-list` to find other fonts.
!
! On Ubuntu I have to name this file โ€˜~/.Xdefaults-$(hostname)โ€™
!