Skip to content

Instantly share code, notes, and snippets.

View andrewmkano's full-sized avatar
🏓

Andres Martinez andrewmkano

🏓
View GitHub Profile
@fardjad
fardjad / how-to-install-homebrew-on-debian-based-distros.md
Last active February 17, 2025 02:00
[How to Install Homebrew on Debian-based Distros] Steps required to install homebrew on MX Linux (and other Debian-based distros) #linux #debian #mxlinux #homebrew

How to Install Homebrew on Debian-based Distros

Steps required to install Homebrew on MX Linux (and other Debian-based distros)

Steps

  1. Update apt cache and optionally do a full upgrade

     apt update
    

apt full-upgrade # optional, reboot if needed

@BryanMoslo
BryanMoslo / everything_is_ok.txt
Created June 16, 2020 20:27
This bash funtion checks if buffy tests, go linter and js tests pass before push the current branch
push(){
if ! buffalo test ./... ; then
echo "Dude, your tests are failing, I can not push this branch"
return
fi
if ! golangci-lint run -v ; then
echo "Dude, your golangci linter is failing, I can not push this branch"
return
fi
@subfuzion
subfuzion / curl.md
Last active June 8, 2025 06:04
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@PurpleBooth
PurpleBooth / README-Template.md
Last active June 8, 2025 06:27
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active May 30, 2025 22:04
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
@pksunkara
pksunkara / config
Last active May 31, 2025 15:37
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = [email protected]
github = pksunkara
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[column]
ui = auto