Skip to content

Instantly share code, notes, and snippets.

View AurelienPillevesse's full-sized avatar

Aurélien Pillevesse AurelienPillevesse

View GitHub Profile
@twispr
twispr / 1. Configuration d'un VPS OVH.md
Last active October 7, 2024 20:54
Configuration d'un VPS OVH / LAMP / Ci-CD Symfony 6

Pré-requis

  • Un projet Symfony 5/6 versionné avec "git" et hébergé (GitHub, GitLab...).
  • Un VPS OVH et un nom de domaine.

Création des clés SSH sur votre poste local

Générez les clés SSH publique et privée sur votre poste local. Vérifiez que votre répertoire $HOME contient un dossier .ssh. Si le dossier n’existe pas, créez-le :

@dales79
dales79 / d.md
Last active October 22, 2022 08:09
SOLID

Dependency Inversion Principle

High level modules should not depend on low level modules Abstractions should not depend on details. Details should depend upon abstactions

Violating the Dependency Inversion Principle

class Article {

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

@junioryauricasa
junioryauricasa / index.html
Created January 9, 2018 19:36
TinyMCE Full Featured
<textarea><p style="text-align: center; font-size: 15px;"><img title="TinyMCE Logo" src="//www.tinymce.com/images/glyph-tinymce@2x.png" alt="TinyMCE Logo" width="110" height="97" />
</p>
<h1 style="text-align: center;">Welcome to the TinyMCE Cloud demo!</h1>
<h5 style="text-align: center;">Note, this includes some "enterprise/premium" features.<br>Visit the <a href="https://www.tinymce.com/pricing/#demo-enterprise">pricing page</a> to learn more about our premium plugins.</h5>
<p>Please try out the features provided in this full featured example.</p>
<h2>Got questions or need help?</h2>
<ul>
<li>Our <a href="//www.tinymce.com/docs/">documentation</a> is a great resource for learning how to configure TinyMCE.</li>
<li>Have a specific question? Visit the <a href="https://community.tinymce.com/forum/">Community Forum</a>.</li>
@lsv
lsv / README.md
Last active May 4, 2024 17:05
KNP Menu Bundle - Bootstrap 4 and Font Awesome 4
@kariae
kariae / .gitlab-ci.yml
Created June 6, 2017 17:29
GitLab CI/CD configuration for Symfony
variables:
REGISTRY_URL: registry.lekode.com:5000
IMAGE_NAME: app
BUILD_CODE_IMAGE: $REGISTRY_URL/$IMAGE_NAME:$CI_COMMIT_REF_NAME
LATEST_CODE_IMAGE: $REGISTRY_URL/$IMAGE_NAME:latest
stages:
- test
- install
- build
@matteocaberlotto
matteocaberlotto / deploy-symfony.sh
Last active January 4, 2026 21:32
Deploy symfony 2+ applications (multiple environment)
#!/bin/bash
# include config
# config example below:
#
#
# Example deploy_config.sh
#
# dev_env() {
@ragingwind
ragingwind / Backend Architectures Keywords and References.md
Last active February 24, 2026 02:06
Backend Architectures Keywords and References
@imkevinxu
imkevinxu / README.md
Last active November 20, 2024 13:00
Time Spent on Page

Javascript code that calculates how much active time is spent on a tab and takes into account changing tabs, switching windows, or leaving the page.

Demo here http://bl.ocks.org/d/4393523/