This file contains hidden or 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
Domain\Model\Advice: | |
advice1: | |
__construct: false | |
id : 1 | |
user: '@user_test_admin' | |
jobboard: 'offer1' | |
value: 4 | |
Domain\Model\Jobboard: |
This file contains hidden or 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 Infrastructure\Bundle\InfrastructureBundle\DataFixtures\ORM; | |
use Doctrine\Common\DataFixtures\AbstractFixture; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Symfony\Component\DependencyInjection\ContainerAwareInterface; | |
use Symfony\Component\DependencyInjection\ContainerInterface; |
This file contains hidden or 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
process.stdin.resume(); | |
process.stdin.setEncoding('utf8'); | |
console.log('Quel est votre âge ? '); | |
process.stdin.on('data', function(text) { | |
if (isNaN(text)) { | |
console.log('Valeur incorrecte, veuillez entrer un nombre.'); | |
process.exit(); | |
} else { |
This file contains hidden or 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
process.stdin.resume() | |
process.stdin.setEncoding('utf8') | |
console.log('Quel est votre âge ? ') | |
process.stdin.on('data', (text) => { | |
if ((text)>=99) | |
console.log('Il y a une erreur, il semblerait que vous soyez trop vieux pour vous servir d\'un ordinateur.') | |
else | |
console.log('Vous êtes né en ' + (2016-(text))) |
This file contains hidden or 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
cd clmystery | |
448 ls | |
449 cd instruction | |
450 cd instructions | |
451 ls | |
452 cd instructions | |
453 open instructions | |
454 open mystery | |
455 cat mystery | |
456 q |
This file contains hidden or 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
cd clmystery | |
448 ls | |
449 cd instruction | |
450 cd instructions | |
451 ls | |
452 cd instructions | |
453 open instructions | |
454 open mystery | |
455 cat mystery | |
456 q |
This file contains hidden or 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
1005 grep | |
1006 history > mon_historique.log |
This file contains hidden or 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
-- MySQL Script generated by MySQL Workbench | |
-- mer. 05 oct. 2016 13:24:30 CEST | |
-- Model: New Model Version: 1.0 | |
-- MySQL Workbench Forward Engineering | |
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; | |
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; | |
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES'; | |
-- ----------------------------------------------------- |
This file contains hidden or 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
CREATE DATABASE Promotions_eleves; | |
CREATE TABLE ( id int not null auto_increment, Nom varchar(50), Prenom varchar(50), age int, Lieu_de_residence varchar(100),PRIMARY KEY (id)); | |
insert into eleves(Nom, Prenom, Age, Lieu_de_résidence) values('lehoux','mickael',35,'orléans') | |
insert into eleves(Nom, Prenom, Age, Lieu_de_résidence) values('B','Joel',42,'Orleans') | |
insert into eleves(Nom, Prenom, Age, Lieu_de_résidence) values('google','good',18,'California') | |
insert into eleves(Nom, Prenom, Age, Lieu_de_résidence) values('laurie','MaMeilleureAmie',34,'Paris') | |
insert into eleves(Nom, Prenom, Age, Lieu_de_résidence) values('Paul','BIGBEN',34,'Paris') |
This file contains hidden or 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
CREATE DATABASE Promotions_eleves; | |
CREATE TABLE ( id int, Nom varchar(50), Prenom varchar(50), age int, Lieu_de_residence varchar(100)); | |
update Promotions SET Nom = 'Joel' WHERE id = 1; | |
update Promotions SET Prenom = 'Joel' WHERE id = 1; | |
update Promotions SET Lieu_de_résidence = 'Orleans' WHERE id = 1; | |
update Promotions SET age = 34 WHERE id = 1; | |
update Promotions SET Nom = 'Lehoux' WHERE id = 2; | |
update Promotions SET Prenom = 'Mickael' WHERE id = 2; | |
update Promotions SET Lieu_de_résidence = 'Orleans' WHERE id = 2; | |
update Promotions SET age = 35 WHERE id = 2; |
NewerOlder