Skip to content

Instantly share code, notes, and snippets.

View rrhinox's full-sized avatar
🏠
Working from home

Rinaldi Roberto rrhinox

🏠
Working from home
View GitHub Profile
@rrhinox
rrhinox / git-utils-linux-mingw64-compatible.md
Last active February 26, 2024 10:57
When the number of git projects starts to get large having a way to share and update many different projects prompted me to find a couple of commands useful when working in teams on many projects. I hope they are useful to someone :)

Linux and MINGW64 compatible git utilities

Pull changes for all local projects

In the root folder of your workspace run this find command to pull changes from remote repo (on the last branch):

find . -name .git -type d -print -execdir git pull \;

Create your favourite alias for example, for sync changes with git pull :

alias git-sync='find . -name .git -type d -print -execdir git pull \;'

@rrhinox
rrhinox / vagrant-on-windows-SEC_E_INVALID_TOKEN.md
Last active August 3, 2023 10:43
Vagrant on windows workaround for error "schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to the function is invalid"

Vagrant - The token supplied to the function is invalid

This Gist aims to help some "internauts" to solve with a workaround a Vagrant error on windows. But I think on all new curl versions after the version 7.52.0 could have this problem.

The error born after launch the command:

$ vagrant up
@rrhinox
rrhinox / myfavorites-and-useful-vi-vim.md
Last active June 15, 2023 16:53
My favorite and useful functions of vi / vim editor