Skip to content

Instantly share code, notes, and snippets.

View MushuLeDragon's full-sized avatar
🐉
On Fire

MushuLeDragon MushuLeDragon

🐉
On Fire
View GitHub Profile
@MushuLeDragon
MushuLeDragon / .gitignore
Created February 13, 2018 10:32 — forked from chhh/.gitignore
.gitignore file for IDEA, Eclipse, NetBeans
#
# Project specific excludes
#
tomcat
#
# Default excludes
#
@MushuLeDragon
MushuLeDragon / .travis.yml
Last active June 16, 2018 22:27
How to configure a TravisCI file .travis.yml linked to the project : https://github.com/poudre-aux-yeux/mon-arbitre-raquette
language: node_js
node_js: 9
before_script:
- yarn
- yarn lint
- yarn unit
script:
- yarn build
<?php
// Convert sdtClass Object (stdClass Array) to Array
function stdClassToArray($variable) {
$variable = json_decode(json_encode($variable), true);
return $variable[0];
}

Environment Variable

Set environment variables

Terminal Command Test in Terminal
powershell windows $env:TEST="Bonjour tout le monde" $env:TEST
cmd windows SET TEST=Bonjour tout le monde ECHO %TEST%
shell linux export TEST="Bonjour tout le monde" echo $TEST
Heroku heroku config:set TEST="Bonjour tout le monde" heroku config
#! /bin/bash
clean
echo "Début du script d'installation de Plex Server"
# Mise à jour de Linux
sudo apt-get update && apt-get upgrade -y
#! /bin/bash
# Désactiver SELinux
setenforce 0
# https://www.tala-informatique.fr/wiki/index.php/Gestion_des_disques
# Création du volume RAID avec mdadm
echo "Création du volume RAID avec mdadm"
fdisk -l
@MushuLeDragon
MushuLeDragon / gist:fef7ca7637ccc0a04686cd1b8d3ac7f7
Created November 8, 2018 13:31 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@MushuLeDragon
MushuLeDragon / separateur_milliers.js
Created January 25, 2019 11:06
Petite fonction de séparation des milliers en JavaScript
function gestionNumerique(idChamps)
{
//Initialisation variable
result = ""
depart = 0
//Recuperation de la valeur de mon champs text
Valeur = document.getElementById(idChamps).value
//On separe les entiers des decimaux
# remove specific file from git cache
git rm --cached filename
# remove all files from git cache
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
{"version":1,"resource":"file://wsl%24/ubuntu/home/mushuledragon/development/en-janvier/opadd-docker/source/config/sync/field.field.node.producteur.field_producer_email.yml","entries":[{"id":"pv2m.yml","source":"searchReplace.source","timestamp":1651153137112}]}