Skip to content
View MMachado-uy's full-sized avatar
💭
this is false
💭
this is false

Block or report MMachado-uy

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. delsolbot delsolbot Public

    Integration between radio show RSS feed and Telegram bot to publish in public channel

    JavaScript 1 1

  2. Personal .bashrc setup (Lots of stol... Personal .bashrc setup (Lots of stolen stuff and useless why-not(s))
    1
    # ~/.bashrc: executed by bash(1) for non-login shells.
    2
    # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
    3
    # for examples
    4
    
                  
    5
    # If not running interactively, don't do anything
  3. Git Aliases.md Git Aliases.md
    1
    **Pretty print git logs in one line**
    2
    *Optionally, add `-<number>` to increase the log reach*
    3
    
                  
    4
    ```
    5
    $ git config --global alias.lg 'log --format="%C(auto)%h %Cgreen%s %Creset(%cN, %cr) %C(auto)%d" -10'
  4. Remove all unwanted git branches Remove all unwanted git branches
    1
    #!/bin/bash
    2
    # Installation:
    3
    #     Linux:
    4
    #         > Save it in a PATH folder
    5
    #         > Give execution permission to this file
  5. Tired of typing git push origin some... Tired of typing git push origin some-ugly-branch-name-with-ticket-number-and-project-reference? Just git deliver it
    1
    #!/bin/bash
    2
    # Save in a PATH-seen folder and it should be ready to go in git as git deliver
    3
    # Pushes your current changes to origin/same-as-current-branch
    4
    branch=$(git branch 2> /dev/null | sed -n -e 's/^\* \(.*\)/\1/p')
    5
    git push origin $branch
  6. Go to a branch, do stuff and git bac... Go to a branch, do stuff and git back to where you were
    1
    #!/bin/bash
    2
    # Add this file with run permissions in a PATH-visible folder
    3
    # Run it from a repository with `git back` to go back to the previous branch
    4
    prev=$(git describe --all $(git rev-parse @{-1}) | sed 's/heads\///g')
    5
    git checkout $prev