Skip to content

Instantly share code, notes, and snippets.

@formidablae
formidablae / weekly_commit_stats.json
Last active November 5, 2021 22:47
Weekly commit statistics
{"2021-11-01":{"commentsBlankLines":202,"HTML":33,"C":9,"Ruby":15,"C++":19,"D":6,"Dart":5,"TypeScript":13,"C#":9,"Java":38,"Python":7,"PHP":34,"XML":1,"SQL":4,"JSON":2},"2021-10-23":{"commentsBlankLines":7053,"HTML":1184,"Markdown":2,"JavaScript":461,"JSON":7986,"PHP":8,"TypeScript":232,"Bourne Shell":50,"CSS":217,"C++":55,"Java":467},"2021-10-22":{"commentsBlankLines":58,"HTML":40,"JavaScript":41,"Markdown":1},"2021-10-19":{"commentsBlankLines":466,"HTML":40,"JavaScript":58,"Java":467,"PHP":192,"C++":55,"CSV":5},"2021-09-30":{"commentsBlankLines":1210,"HTML":33,"PHP":34,"Java":237,"JavaScript":32,"SQL":4},"2021-11-02":{"commentsBlankLines":64,"C++":19,"D":6,"Python":7,"Ruby":15,"Java":38,"Dart":5,"C":9,"JSON":1,"SQL":4,"XML":1,"PHP":30},"2021-10-31":{"commentsBlankLines":6376,"TypeScript":89,"Ruby":15,"PHP":350,"Java":99,"C++":81,"Dart":5,"C":9,"Markdown":7286,"Python":155,"D":6,"JavaScript":9127,"JSON":1832589},"2021-10-29":{"commentsBlankLines":376,"PHP":45,"JSON":8,"XML":1,"JavaScript":246,"Bourne Shell":
@formidablae
formidablae / gourcevideo.sh
Created November 3, 2021 18:53 — forked from Gnzlt/gourcevideo.sh
Gource video export command
#!/bin/bash
gource \
-s .03 \
-1280x720 \
--auto-skip-seconds .1 \
--multi-sampling \
--stop-at-end \
--key \
--highlight-users \

cloc

$ cloc count lines of code.

Use as: $ cloc ./ or $ cloc ./*.py

convert

$ convert convert .gif or .mp4 to many png frames

Use as: $ convert -coalesce my_animatedfile.gif my_pngfiles.png

@formidablae
formidablae / .bashrc
Created July 7, 2021 16:07
.bashrc with custon config for autologging of terminals and nicer interface
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@formidablae
formidablae / .vimrc
Last active October 22, 2021 01:45
.vimrc custom config for colorscheme, autostart session, tabs, window size and font
colorscheme slate
augroup sourcesession
autocmd!
autocmd VimEnter * nested
\ if !argc() && empty(v:this_session) && filereadable('Session.vim') |
\ source Session.vim |
\ endif
augroup END