Skip to content

Instantly share code, notes, and snippets.

View HamHamFonFon's full-sized avatar

Stéphane Méaudre HamHamFonFon

View GitHub Profile

Mettre en production un projet Symfony 4 sur un VPS OVH

VPS OVH | Ubuntu 16.04.3 LTS | LAMP | SYMFONY 4

Pré-requis

  • Votre projet doit être versionné avec git et hébergé (Github, Bitbucket...).
  • Vous devez avoir acheté un VPS et un nom de domaine.
  • Vous devez également générer une clé SSH sur votre ordinateur. (explications ci-dessous)

Création et ajout de la clé SSH au profil OVH

@leesaxby
leesaxby / native_js_drag_and_drop_helper.js
Last active May 9, 2023 06:35 — forked from druska/native_js_drag_and_drop_helper.js
Simulate drag and drop workaround for protractor
/*
Original unmodified code (some changes were required to fit our needs i.e our dnd directive).
https://gist.github.com/druska/624501b7209a74040175
The following code is a workaround for https://bugs.chromium.org/p/chromedriver/issues/detail?id=841.
There appears to be a bug with selenium chrome driver where by html5 drag and drop (dnd)
events don't fire when using either:
browser.actions().dragAndDrop(dragElement, dropElement).perform();
or