Skip to content

Instantly share code, notes, and snippets.

View jprivet-dev's full-sized avatar

J.P. RIVET jprivet-dev

View GitHub Profile
@jprivet-dev
jprivet-dev / 3d-three-js-learning-create-earth.markdown
Last active October 14, 2021 20:50
3D - Three.js # Learning : create Earth

3D - Three.js # Learning : create Earth

Classic example, but very fun for testing and discovering Three.js : with controls panel, change more than 70 parameters, and play with Sun, Earth and Moon, lens flares, textures, bump mapping, animations, lights, shadows, ...

A Pen by jprivet_dev on CodePen.

License.

@jprivet-dev
jprivet-dev / tips-symfonylive-paris-2016-comment-mettre-à-jour-30000-produits-avec-doctrine2-andre-tapia-amine-mokeddem.adoc
Last active October 16, 2019 11:19
[Tips] SymfonyLive Paris 2016 - Comment mettre à jour 30 000 produits avec Doctrine2 ? (André Tapia & Amine Mokeddem)
:toc: macro
:toc-title: Sommaire
:toclevels: 3
ifndef::env-github[:icons: font]
ifdef::env-github[]
:status:
:outfilesuffix: .adoc
:caution-caption: :fire:
:important-caption: :exclamation:
@jprivet-dev
jprivet-dev / README.adoc
Last active April 4, 2024 06:39
[Cheatsheet] Markdown & Asciidoctor rendering in GitHub
@jprivet-dev
jprivet-dev / memo-forum-php-2017-ecrire-tests-long-terme-charles-desneuf.adoc
Last active October 16, 2019 11:18
[Mémo] Forum PHP 2017 - Écrire des tests pour le long terme (Charles Desneuf) | https://youtu.be/Bjw6N7bjzf4
:toc: macro
:toc-title: Sommaire
:toclevels: 3
:numbered:
ifndef::env-github[:icons: font]
ifdef::env-github[]
:status:
:outfilesuffix: .adoc
:caution-caption: :fire:
@jprivet-dev
jprivet-dev / memo-afup-php-tour-2012-symfony-design-pattern-observer-injection-de-dependance-service-locator-hugo-hamon.adoc
Last active September 15, 2022 06:20
[Mémo] AFUP - PHP Tour 2012 - Symfony, Design Pattern Observer, injection de dépendance et Service Locator (Hugo Hamon)
:toc: macro
:toc-title: Sommaire
:toclevels: 3
:numbered:
ifndef::env-github[:icons: font]
ifdef::env-github[]
:status:
:outfilesuffix: .adoc
:caution-caption: :fire:
@jprivet-dev
jprivet-dev / shorcuts-phpstorm-chrome-and-others.adoc
Last active June 5, 2022 15:48
Shorcuts (PHPStorm, Chrome, ...)
:toc: macro
:toc-title: Table of contents
:toclevels: 3
:numbered:
:experimental:
:BACK_TO_TOP_TARGET: top-target
:BACK_TO_TOP_LABEL: ⬆ Back to top
:BACK_TO_TOP: <<{BACK_TO_TOP_TARGET},{BACK_TO_TOP_LABEL}>>
@jprivet-dev
jprivet-dev / .bash_aliases
Last active June 22, 2024 06:33
Git and Bash aliases defined and documented in a single `.bash_aliases` file, with Git auto-completion
# #########################################################################################
# GIT AND BASH ALIASES DEFINITION IN A SINGLE FILE `.BASH_ALIASES` WITH GIT AUTO-COMPLETION
# #########################################################################################
# All these git commands and bash aliases are tested on git version 2.17.1 on Linux Mint 19
# This compilation of aliases is an experiment.
# On a daily basis, I use only a few of these aliases ¯\_(ツ)_/¯
# **********
@jprivet-dev
jprivet-dev / transfert-gist-into-github-repository.md
Last active September 30, 2023 22:16
Transfer a Gist into a new GitHub repository

Transfer a gist into a new GitHub repository

1) Create an empty repository on GitHub

Create a new repository on GitHub (in my case git-and-bash-aliases).

To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub.

2) Clone the gist

@jprivet-dev
jprivet-dev / global-gitignore-file.adoc
Last active March 20, 2023 16:39
Set up a global .gitignore file to avoid committing IDEs, editors and system files.

Global .gitignore file

Set up a global .gitignore file to avoid committing IDEs, editors and system files.

Step #1 - Create an empty global file

$ touch ~/.gitignore_global
@jprivet-dev
jprivet-dev / gdg-toulouse-faire-du-redux-avec-angular-et-ngrx-v4-bruno-baia.adoc
Last active August 18, 2021 08:11
[Mémo] GDG Toulouse - Faire du Redux avec Angular et NgRx v4 (Bruno Baia)
:toc: macro
:toc-title: Sommaire
:toclevels: 3
:numbered:
:IMAGES_DIR_1:
:IMAGES_DIR_2:
:IMAGES_DIR_3:
ifndef::env-github[:icons: font]
ifdef::env-github[]