Skip to content

Instantly share code, notes, and snippets.

Konstantinos konfou

Block or report user

Report or block konfou

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@konfou
konfou / .bash_profile.sh
Last active Jul 26, 2018 — forked from mrpoptart/.bash_profile.sh
Today, bash_profile based task logger
View .bash_profile.sh
today() {
[[ -z "$*" ]] && < ~/.today || echo "$(date +'%F %T') $*" >> ~/.today
}
@konfou
konfou / script.js
Last active Oct 25, 2017 — forked from vielhuber/script.js
replace all occurences in a string without regex #js
View script.js
String.prototype.replaceAll = function(foo, bar) {
return this.split(foo).join(bar);
};
@konfou
konfou / lolbash.sh
Last active Aug 24, 2017 — forked from norova/lolbash.sh
gist interface doesn't allow me to paste so I post my edited version on https://gitlab.com/snippets/1672613
View lolbash.sh
# LOL!!1
alias wtf='dmesg'
alias onoz='cat /var/log/errors.log'
alias rtfm='man'
alias visible='echo'
alias invisible='cat'
alias moar='more'
alias icanhas='mkdir'
alias donotwant='rm'
alias dowant='cp'
You can’t perform that action at this time.