Skip to content

Instantly share code, notes, and snippets.

View vincedgy's full-sized avatar
🚀
I'm even more versatile using AI assistants

Vincent DAGOURY vincedgy

🚀
I'm even more versatile using AI assistants
View GitHub Profile

On MAC Os BigSur (11.1)

I've being facing issues all day with numpy failing install (with pandas) for Python 3.9.1.6 and poetry 1.1.4.

I understood that poetry uses pip which does not use the wheel version of numpy when pip <= 20.2.x. And fresh installation of Python 3.9.1.6 does not upgrade pip !

This is how I managed to install what I needed :

First check the default version of Python linked to poetry (reinstall it if it does not fit)

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" My neovim config
" ~/.config/nvim/init.vim
" vincedgy - 2020
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" ref : https://medium.com/better-programming/setting-up-neovim-for-web-development-in-2020-d800de3efacd
"
" Install Nerd Fonts
" -------------------
" brew tap homebrew/cask-fonts
@vincedgy
vincedgy / index.html
Created October 13, 2019 13:56
Typical index.html with semantic, jQuery and BootStrap4, for my React projects
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
@vincedgy
vincedgy / .prettierrc
Created October 13, 2019 13:54
My prettier conf
{
"jsxBracketSameLine": false,
"jsxSingleQuote": true,
"printWidth": 80,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
@vincedgy
vincedgy / .eslintrc.json
Created October 13, 2019 13:54
eslinter Config file for React dev
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"globals": {
# AWS CLI Snippets
## List EC2 Public IP, statuses and Name (like a short list in the console)
```terminal
aws ec2 describe-instances --query "Reservations[].Instances[].[Tags[?Key=='Name'].Value|[0], InstanceId, State.Name, PublicIpAddress]"
````
@vincedgy
vincedgy / gist:b5c521b77dcad86c41fa290273689436
Created February 10, 2019 20:56
Find all the git repo remote urls from the current directory and sub-directories
find . \
-name '.git' \
-type d \
-prune \
-maxdepth 2 \
-exec sh -c "echo {}; cd {}; git remote -v" \;