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 |
This file contains 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
# | |
# Project specific excludes | |
# | |
tomcat | |
# | |
# Default excludes | |
# |
This file contains 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
language: node_js | |
node_js: 9 | |
before_script: | |
- yarn | |
- yarn lint | |
- yarn unit | |
script: | |
- yarn build |
This file contains 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
<?php | |
// Convert sdtClass Object (stdClass Array) to Array | |
function stdClassToArray($variable) { | |
$variable = json_decode(json_encode($variable), true); | |
return $variable[0]; | |
} |
This file contains 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
#! /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 |
This file contains 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
#! /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 |
People
![]() :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: |
This file contains 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
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 |
This file contains 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
# 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" |
This file contains 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
{"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}]} |
OlderNewer