This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Referred to https://dev.to/gjrdiesel/installing-curl-with-http3-on-macos-2di2 | |
| # Clean up any old version of curl you may have already tried to install | |
| brew remove -f curl | |
| # Download the curl ruby install script provided by cloudflare | |
| curl -O https://gist.github.com/sinwoobang/bfc7cc8d4d38157bde064fc2ccb60c64/raw/bf55b7c6af9ed06d2cd909ea167a69948a800e7d/curl.rb | |
| # Install curl via that script from the latest git repos | |
| brew install --HEAD -s curl.rb | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import sentry_sdk | |
| from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration | |
| import toml | |
| config = toml.load("./pyproject.toml") | |
| # Sentry error logging | |
| app_name = config["tool"]["poetry"]["name"] | |
| version = config["tool"]["poetry"]["version"] | |
| sentry_sdk.init( | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #Ignore thumbnails created by windows | |
| Thumbs.db | |
| #Ignore MacOS files | |
| *.DS_Store | |
| #Ignore files build by Visual Studio | |
| *.obj | |
| *.exe | |
| *.pdb | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              Show hidden characters
| { | |
| "rulesDirectory": [ | |
| "node_modules/codelyzer" | |
| ], | |
| "rules": { | |
| "arrow-return-shorthand": true, | |
| "callable-types": true, | |
| "class-name": true, | |
| "comment-format": [ | |
| true, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | module 'django_project' not found | |
| => Logiquement et après seulement un an de recherche il faut ajouter le dir au python path. | |
| Normalement il suffit de faire un export PYTHONPATH="${PYTHONPATH}:/var/www/django_project" | |
| mais ca marche que en shell, pas en apache/venv | |
| DONC => Créer un "nano /var/www/venv/spie/lib/python3.5/site-packages/django_project.pth" (fichier .pth) | |
| Dans lequel on met le ou les paths "/var/www/django_project" ici | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "workbench.colorTheme": "Dracula Soft", | |
| "gitlens.advanced.messages": { | |
| "suppressShowKeyBindingsNotice": true | |
| }, | |
| "workbench.iconTheme": "vscode-icons", | |
| // Controls the font size in pixels. | |
| "editor.fontSize": 14, | |
| "editor.wordWrap": "on", | |
| "editor.renderWhitespace": "all", | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "always_show_minimap_viewport": true, | |
| "draw_white_space": "all", | |
| "font_size": 14, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "open_files_in_new_window": false, | |
| "show_encoding": true, |