Skip to content

Instantly share code, notes, and snippets.

View iradofurioso's full-sized avatar
🧠
Make it work, Make it right, Make it fast

Carlos Eduardo iradofurioso

🧠
Make it work, Make it right, Make it fast
View GitHub Profile
@iradofurioso
iradofurioso / txt
Created June 24, 2020 21:43
Fatal: Tag 'X.Y.Z' already exists. Pick another name
Delete de tag
git tag -d X.Y.Z
Create again or create the hotfix / feature again.
@iradofurioso
iradofurioso / txt
Created June 23, 2020 00:00
Fatal error, can't open config file '/usr/local/etc/redis/redis.conf'
Just run
$ chmod 644 /usr/local/etc/redis.conf
@iradofurioso
iradofurioso / txt
Created June 15, 2020 16:00
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime
To fix the following error on Angular
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime
just run this command:
npm rebuild node-sass
@iradofurioso
iradofurioso / txt
Created June 15, 2020 03:35
MacOS - brew - mariadb - mysql - Too many open files
After the last updated to MacOS CATALINA mysql stopped working properly showing the following message: Too many open files.
The only command the fixed this is the following one:
ulimit -S -n 2048
@iradofurioso
iradofurioso / txt
Created June 12, 2020 14:48
MACOS - dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib
brew uninstall --ignore-dependencies node icu4c
brew install node
brew link --overwrite node
@iradofurioso
iradofurioso / txt
Last active November 13, 2021 16:10
Installing XDEBUG in PHP 7.4 - MacOS - brew
$ pecl install xdebug
$ vim /usr/local/etc/php/7.2/php.ini
Remove the line
zend_extension=xdebug.so
$ vim /usr/local/etc/php/7.4/conf.d/ext-xdebug.ini
Add the line:
zend_extension="/usr/local/Cellar/php/7.4.4/pecl/20190902/xdebug.so
@iradofurioso
iradofurioso / sh
Created April 6, 2020 18:37
GIT - GIT FLOW - Problem - There is an existing hotfix branch - Finish that one first
brew unlink git-flow
brew install git-flow-avh --HEAD
git config gitflow.multi-hotfix true
git config --get gitflow.multi-hotfix
git flow hotfix start my_hotfix_name
@iradofurioso
iradofurioso / shell
Last active October 30, 2019 12:48
Python avoid message: Failed building wheel for...
# Add the no-cache-dir to pip command:
pip install nameOfPacket --no-cache-dir
@iradofurioso
iradofurioso / shell
Created October 20, 2019 15:23
MacOS Catalina fix brew | home-brew
$ brew update
$ brew upgrade
$ brew cleanup
@iradofurioso
iradofurioso / gist:e63e94776297960867914a8c62c02fce
Created October 20, 2019 14:30
Brew - Homebrew - macOS Catalina - Error showing “xcrun: error: invalid active developer path” when running brew update
# To fix the problem, just run
xcode-select --install