Skip to content

Instantly share code, notes, and snippets.

@fomnn
fomnn / git-logout
Created August 6, 2024 13:31 — forked from bas-ie/git-logout
#!/bin/bash
# Logout current GitHub credentials and remove global user.name, user.email
echo -e "host=github.com\nprotocol=https\n" | git credential-osxkeychain erase
git config --unset-all --global user.name
git config --unset-all --global user.email
@fomnn
fomnn / conventional_commit_messages.md
Created December 28, 2023 11:00 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

ℹ️ git-conventional-commits A CLI util to ensure this conventions and generate changelogs

Commit Formats

Default

@fomnn
fomnn / igracias_edom.js
Created December 21, 2023 14:22 — forked from glenkusuma/igracias_edom.js
feelin lazy pressin all the input form in igracias edom? just copy and paste this javascript into your dev tool console! let the javascript magic do it's thing and voilà✨
// igrasias edom script version 18/01/23
// presses all radio button inputs with a value of 'Sangat Puas'
var opt = document.getElementsByClassName("opt");
for(var i = 0; i < opt .length; i++){
if(opt [i].parentElement.nextElementSibling.innerHTML === 'Sangat puas'){
opt [i].click();
}
}
// if there is a text field, gives the text field value with invisible space
if (document.querySelector('textarea')) {