Skip to content

Instantly share code, notes, and snippets.

View rubyroobs's full-sized avatar
👗

ruby~ rubyroobs

👗
View GitHub Profile
@rubyroobs
rubyroobs / git_repo_binary_investigation_idea.zsh
Last active May 21, 2024 22:17
a starting point for investigating anomalous contributions in git repositories
# ruby's git repo investigation zsh one-liner-ish thingy
# (a starting point for investigating anomalous contributions in git repositories)
echo "$(find . -type f ! -size 0 ! -path './.git*' -exec grep -IL . "{}" \;)" | \
sed -e "s/^\.\///g" | \
while read line; \
do \
echo ">>>>>>>>$line"; \
echo "$(git log --follow --find-renames=40% --pretty=format:"%ad%x0A%h%x0A%an%x20<%ae>%x0A%s" -- "$line" | head -n 4)"; \
commitdates="$(git log --follow --find-renames=40% --pretty=format:"%ae" -- "$line" | head -n 1 | xargs -I {} git log --author={} --pretty=format:"%ad")"; \

Keybase proof

I hereby claim:

  • I am rubyroobs on github.
  • I am ruby (https://keybase.io/ruby) on keybase.
  • I have a public key whose fingerprint is DC8A CFF3 AD1C 6D3F 007E ECE5 610C 353F E280 661B

To claim this, I am signing this object:

/* CVSS Coloring by Impact */
.cvss-1 {
background-color: #00c400;
}
.cvss-2 {
background-color: #00e020;
}
.cvss-3 {
@rubyroobs
rubyroobs / fish_prompt.fish
Created April 9, 2016 01:03
my fish stuff
# Initialize glyphs to be used in the prompt.
set -q chain_prompt_glyph
or set -g chain_prompt_glyph ">"
set -q chain_git_branch_glyph
or set -g chain_git_branch_glyph "git"
set -q chain_git_dirty_glyph
or set -g chain_git_dirty_glyph "±"
set -q chain_su_glyph
or set -g chain_su_glyph "sudo"
ssh-agent fish
exit
@rubyroobs
rubyroobs / readme.md
Last active March 27, 2016 14:15 — forked from dd86k/readme.md
Some languages and their first appearance year
Language First appeared
Assembly 1949
Speedcoding 1953
Fortran 1957
Lisp 1958
ALGOL 58 1958
COBOL 1959
ALGOL 60 1960
CPL 1963