Skip to content

Instantly share code, notes, and snippets.

@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 / 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)’
!
@max-cx
max-cx / .Xresources
Created November 4, 2022 19:31 — forked from AnthonyDiGirolamo/.Xresources
Xresources example
! Font options - ~/.fonts.conf seems to override this
! Resolution for Xft in dots per inch (e.g. 96)
!Xft.dpi: 128
! Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr)
!Xft.rgba: rgba
!Xft.antialias: 1
!Xft.hinting: 1
!Xft.autohint: 0
! What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull)
!Xft.hintstyle: hintslight
@max-cx
max-cx / .Xdefaults
Created November 4, 2022 17:45 — forked from cqpx/.Xdefaults
urxvt xterm zenburn theme
URxvt*termName: rxvt-256color
URxvt*xftAntialias: true
URxvt*background: #3f3f3f
URxvt*foreground: #dcdccc
URxvt*cursorColor: #aaaaaa
URxvt*colorUL: #366060
URxvt*underlineColor: #dfaf8f
URxvt*color0: #3f3f3f
URxvt*color1: #cc9393
URxvt*color2: #7f9f7f