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 | |
namespace AppBundle\Command; | |
use Symfony\Component\Console\Helper\ProgressBar; | |
use Symfony\Component\Console\Input\InputArgument; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\Filesystem\Filesystem; |
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
#verveur | |
#https://hub.docker.com/_/postgres/ | |
docker pull postgres | |
#https://hub.docker.com/_/nginx/ | |
docker pull nginx | |
#https://hub.docker.com/_/drupal/ | |
docker pull drupal | |
#https://hub.docker.com/_/debian/ | |
docker pull debian | |
#https://hub.docker.com/_/php/ |
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 | |
#Xubuntu 14.04 | |
## for 16 Go | |
## 3Go / | |
## 2Go swap | |
## 5Go /opt | |
## 3Go /var | |
## 3Go /home |
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 | |
configFile=$1 | |
#demande le nom du fichier si il n'a pas été rentrer en paramètre | |
while [ X$configFile == X ] && [ -f $configFile ] | |
do | |
read -p "give file name (can-t be empty):" configFile | |
done |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<!ELEMENT projet (name, description, Warning*, illustrations?, authors, fablab?, licence, attachement+, materials?, tools?, skills?, steps?, creationDate, lastModification, tags?)> | |
<!----------------------------- base elements -----------------------------> | |
<!ELEMENT name (#PCDATA)> | |
<!ELEMENT description (#PCDATA)> | |
<!ELEMENT media (image|video)> | |
<!ELEMENT image EMPTY> |
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
int _ABVAR_1_v1 = 0 ; | |
int _ABVAR_2_v2 = 0 ; | |
int _ABVAR_3_v3 = 0 ; | |
void setup() | |
{ | |
pinMode( 10, INPUT); | |
pinMode( 9, INPUT); | |
pinMode( 11, INPUT); | |
Serial.begin(9600); |
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 | |
mail='' | |
choix='4' | |
retardataire=0 | |
nom_photo='photo' | |
sujet='votre photo' | |
corp='vote photo grace au programme <a href="https://gist.github.com/DILL44/bb18e0f028cb3c8c0c41">photo mail</a>' | |
clear | |
ligne_separation(){ |
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
longueur=5; | |
largeur=13; | |
hauteur=13; | |
diametre_tringle=4; | |
rayon_ecrou=4.5; | |
hauteur_ecrou=3.5; | |
rotate(a=[0,-90,0]) { | |
difference(){ | |
difference() { |
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 | |
sudo apt-get install apache2 monit mysql-client mysql-server htop php5 php5-curl php5-mysql portsentry postfix php-apc rkhunter vim | |
#for drupal | |
sudo apt-get install drush | |
#for owncloud | |
sudo apt-get install php5-json php-xml-serializer zip php5-gd php5-sqlite curl libcurl3 libcurl3-dev bzip2 | |
wget http://owncloud.org/releases/owncloud-4.0.0.tar.bz2 |
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 | |
# $1 path to the first platform | |
# $2 path to the segond platform | |
# $3 list of the node id to export | |
cd $1 | |
drush cc drush | |
drush dl node_export_feeds, node_export_features, node_export_dependency, node_export_relation, node_export | |
drush pm-enable node_export |
NewerOlder